-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathchat-script.html
More file actions
24 lines (24 loc) · 1.04 KB
/
Copy pathchat-script.html
File metadata and controls
24 lines (24 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!-- Widget Configuration -->
<script>
window.ChatWidgetConfig = {
webhook: {
url: '<your n8n webhook URL>',
route: 'general'
},
branding: {
logo: '<your company logo URL>',
name: 'nocodecreative.io', // Your company name
welcomeText: 'Hi 👋, how can we help?', //Welcome message
responseTimeText: 'We typically respond right away' //Response time message
},
style: {
primaryColor: '#854fff', //Primary color
secondaryColor: '#6b3fd4', //Secondary color
position: 'right', //Position of the widget (left or right)
backgroundColor: '#854fff', //Background color of the chat widget
fontColor: '#854fff' //Text color for messages and interface
}
};
</script>
<script src="https://cdn.jsdelivr.net/gh/WayneSimpson/n8n-chatbot-template/chat-widget.js"></script>
<!-- Widget Script -->