Created
December 5, 2016 15:20
-
-
Save syastrebov/638893065b9a855cb3c520eaff9a08d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"widget": { | |
"type": "bubble", | |
"position": "right", | |
"enabled": true | |
}, | |
"button": { | |
"translations": [ | |
{ | |
"language": 1, | |
"name": "Help" | |
} | |
], | |
"size": "medium", | |
"colors": { | |
"background": "#62ad8c", | |
"text": "#ffffff" | |
} | |
}, | |
"chat": { | |
"request_user_info": true, | |
"proactive": true, | |
"popup": { | |
"translations": [ | |
{ | |
"language": 1, | |
"title": "Customer Support", | |
"message": "Need help? Just reply to start a live chat with one of our team.", | |
"heading": "Ask us a question!", | |
"subheading": "Our team are online and ready to help with your enquiries. Send us a message to get started." | |
} | |
], | |
"style": "agent_text_button" | |
}, | |
"begin_mode": "conversation", | |
"allow_department_selection": false, | |
"waiting_timeout": 150 | |
}, | |
"ticket": { | |
"select_department": "custom", | |
"default_department": null, | |
"select_subject": "custom", | |
"default_subject": "" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
widget
Basic widget options.
type
- widget view type (column
,bubble
)position
- widget position location (left
,right
)enabled
- is widget enabled (true
,false
)button
Widget button options.
translations
- list of button word translations (language
- DeskPRO language id,name
- button word translation text)size
- button size (small
,medium
,large
)colors
- background and text colors for widget button and start chat popup (hex).chat
Widget live chat options.
request_user_info
- require user to provide its (name, email, department, custom fields) info before the chat startsproactive
- displays widget chat popup that encourages users to chat with youpopup
- chat popup view type (agent_text_button
,agents_button
,text_button
,widget_button_agent
)begin_mode
- begin chat form view type (conversation
,form
)allow_department_selection
- displays department selectbox (true
,false
)waiting_timeout
- timeout in seconds before ticket form link will be displayedSorry! It’s taking longer than expected to find an agent to take your chat. Would you like to submit a ticket instead?
ticket
Widget ticket form options.
select_department
- allows user to select department (true
,false
)default_department
- ifselect_department
isfalse
then you need to define a default DeskPRO department idselect_subject
- (custom
- Ask user for a subject,message
- select_subject,default
- Set a subject)default_subject
- ifselect_subject
is set todefault
then it specifies pre defined subject