Does HubSpot have an embeddable UI or web widgets for the Tickets module in Service Hub? Something similar to what ZenDesk offers? Develop custom experiences with the Zendesk Platform | Zendesk Sunshine
Welcome, @MyraWealth.
HubSpot support bots are similar to Zendesk Embeddables in that they can be installed across your site and used to surface helpful service information.
While the chatflow does not natively support ticket objects yet, you could conceivably use “Run a code snippet” actions to pull information on tickets associated with the visitor and surface it in the chat.
You would use at least the following APIs:
- Contacts API | Search for a contact by email address. The bot would likely already capture the email, so you could use this endpoint to look up the record’s
vid. - CRM Associations API | Get associations for CRM object. With the contact’s
vid, you could query this endpoint with the definition ID15to get all associated ticket IDs. - Tickets API | Get a group of tickets by ID or Get a ticket by ID. With the associated ticket ID(s), you could query the Tickets API, process the information returned, and surface it in the chat.
Please keep in mind that most HubSpot APIs do not support CORS or AJAX requests at this time, so you would have to make calls to your back end before making API requests to api.hubapi.com.