Skip to content

Commit f7ef74b

Browse files
committed
feat: add proactive bubble
1 parent 33b910a commit f7ef74b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

bot.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function loadWebchat() {
88
window.botpress.init({
99
"botId": "e3098b37-2e06-4351-859c-d79e06f39ca8",
1010
"configuration": {
11-
"version": "v1",
11+
"version": "v2",
1212
"composerPlaceholder": "Ask a question...",
1313
"botName": "Assistant",
1414
"botAvatar": "https://files.bpcontent.cloud/2025/06/16/20/20250616204038-BRUW6C2R.svg",
@@ -28,12 +28,17 @@ function loadWebchat() {
2828
"variant": "solid",
2929
"headerVariant": "glass",
3030
"themeMode": "light",
31-
"fontFamily": "inter",
31+
"fontFamily": "Inter",
3232
"radius": 3,
3333
"feedbackEnabled": true,
34-
"footer": "[⚡️ by Botpress](https://botpress.com/)",
34+
"footer": "[⚡️ by Botpress](https://botpress.com/?from=webchat)",
3535
"additionalStylesheetUrl": "https://files.bpcontent.cloud/2025/06/13/14/20250613145950-XC43YPI7.css",
36-
"allowFileUpload": true
36+
"allowFileUpload": true,
37+
"soundEnabled": false,
38+
"proactiveMessageEnabled": true,
39+
"proactiveBubbleMessage": "Hi! 👋 Need help with the docs?",
40+
"proactiveBubbleTriggerType": "afterDelay",
41+
"proactiveBubbleDelayTime": 10
3742
},
3843
"clientId": "44246de9-1d1b-462c-8ef3-1ce39e65d89a"
3944
});

0 commit comments

Comments
 (0)