Thread (formerly Chatgenie) allows your service team to chat with clients in Microsoft Teams and Slack, plus a whole lot more. You can integrate Thread 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.getthread.com
Thread Integration Instructions
To integrate Thread:
- Navigate to Partner > Settings
- Select Integrations on the right (under the Configuration column)
- Select the Header Scripts option
- Enter the code below in the Header Scripts field
- Ensure you set the appId code
- Once you've applied your code, select Submit to finalize your settings
Your Thread 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 Thread Header Script
<script>
var chatgenieParams = {
appId: "your-chatgenie-app-id-goes-here",
flow: "customer"
}
function run(ch){ch.default.messenger().initialize(chatgenieParams);}!function(){var e=window.chatgenie;if(e)run(e);else{function t(){var t=document.createElement("script");t.type="text/javascript",t.async=true,t.readyState?t.onreadystatechange=function(){"loaded"!==t.readyState&&"complete"!==t.readyState||(t.onreadystatechange=null,window.chatgenie&&(e=window.chatgenie,run(e)))}:t.onload=function(){window.chatgenie&&(e=window.chatgenie,run(e))},t.src="https://messenger.chatgenie.io/widget.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)}window.attachEvent?window.attachEvent("onload",t):window.addEventListener("load",t,!1)}}();
</script>
<script>
function CloudRadialUserInit(email, displayname, companyname) {
chatgenie.setAttributes({
fullname: displayname,
companyName: companyname,
email: email
})
}
</script>
Comments
0 comments
Article is closed for comments.