Zendesk Chat is a popular support and chat software. You can integrate Zendesk Chat with CloudRadial while also allowing the chat widget to automatically pull the user's name and email from their CloudRadial log-in information.
More details on their product can be found here: https://www.zendesk.com/
Zendesk Chat Integration Instructions
In Zendesk Chat:
- Go to your Zendesk Chat dashboard
- Open the Settings tab
- Choose the Widget Settings to get your widget script
- It will look similar to the code block below
- Copy just the key value from the script (shown highlighted in red)
<!-- Start of cloudradial Zendesk Widget script -->
<script id="ze-snippet" src="https://static.zdassets.com/ekr/snippet.js?key=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"> </script>
<!-- End of cloudradial Zendesk Widget script -->
In CloudRadial
- Navigate to Partner > Settings
- Select Integrations on the right (under the Configuration column)
- Select the Zendesk Chat option on the left side
- Paste in the key you copied above and select the Enable Zendesk Chat text box
- Select Submit to save your settings
- Next, select the Header Scripts option on the right-hand menu under Configuration
- Add the following code to set the user's email and name from their CloudRadial login.
Your Zendesk Chat icon should appear at the bottom right of the screen after a refresh.
The user name and email are prefilled so when a chat is started. The result is that the user's name and email will appear in the chat automatically without requiring them to type them in.
Sample Zendesk Chat Header Script
<script>
function CloudRadialUserInit(email, displayname, companyname) {
//console.log(email);
//console.log(displayname);
//console.log(companyname);
zE('webWidget', 'prefill', {
name: {
value: displayname,
readOnly: true // optional
},
email: {
value: email,
readOnly: true // optional
}
});
}
function CloudRadialUserLogout() {
zE('webWidget', 'prefill', {
name: {
value: '',
readOnly: false
},
email: {
value: '',
readOnly: false
}
});
}
</script>
Refresh your page and you should see the Zendesk Chat button appear at the lower right of the screen.
Comments
0 comments
Article is closed for comments.