Skip to main content

Pull up the requester's campaign details and contact information from Hubspot and see them right next to their contact information in Freshdesk


Instructions 





  • Download the zip file.






  • Unzip and open the .txt file




  • Replace the API token key in the plug code with Hubspot’s API key (you can get the API key for your account by sending a request to HUnspot team by going to Hubspot menu(top right corner) => integrations => request api(left sidebar) , fill the details and they will reply via email with your account's api-key )


  • Copy the code from the file




  • Go to Admin->Integration->Freshplugs in you dashboard and click the new Freshplug button






  • Give a Name and Description to this plug for future reference






  • Select the text box “Show this widget in ticket view page”






  • Copy the code from the .txt file here and click the button "create and enable"








I realize this is 2 years old, but...






I have this working, and it's great! Except: 



I need the "Mobile Phone" field from Hubspot to show up in Freshdesk. 






I tried adding "var mobile = (a.phone) ? a.mobilephone.value : 'N/A';" to the strings it was pulling in, but that didn't do it. That was just a guess on my part. 






Any ideas for how I can pull in the Mobile Phone field also? 
Thanks!