Intercom Chat in Zendesk Help Center
Our Zendesk Help Centre is a great way for our clients to see their support tickets, and access company specific help content. We wanted to take it a step further and let our users chat with their support teams in real time. Enter Intercom!
Adding Intercom to our Help Centre was simple, but took a while to find the Javascript object that would tell Intercom the users name, email and organisation details. To get it running, just go to the Help Centre, click Customize Design, then Edit Theme. In the JS section, add the following code right at the bottom (substituting the Intercom ID xxxxxxxxx
with your own).
window.intercomSettings = {
app_id: "xxxxxxxxx",
name: HelpCenter.user.name, // Full name
email: HelpCenter.user.email, // Email address
company: {
id: HelpCenter.user.organizations["0"].default,
name: HelpCenter.user.organizations["0"].name,
}
};
(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/i9bywi6t';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()
});
There are some other really nice integrations between the two products: you can view Intercom data in the sidebar of the Zendesk interface, and you can send conversations from Intercom into new Zendesk tickets.
Tweet