Unable to Associate Crisp Conversation with HubSpot Ticket
Hi,
I'm using Crisp to create tickets in HubSpot via the API. I can successfully create a ticket and associate it with the correct contact, and the contact details appear in the ticket's contact section. However, I'm unable to associate the specific Crisp conversation with the created ticket.
In the Crisp contact section, I can see the conversations, but they are not linked to the ticket in HubSpot. I tried using the Conversations API, but it only returns inbox messages or conversations and not the Crisp conversations I want to associate.
Here’s a snippet of my current implementation: const ticketData = { properties: { hs_pipeline: process.env.HUBSPOT_TECH_SUPPORT_PIPELINE_ID, // TechSupport Pipeline IDhs_pipeline_stage: process.env.HUBSPOT_PIPELINE_STAGE, // Pipeline stage IDhs_ticket_priority: 'HIGH', subject: `Crisp ticket - ${body?.ticketContent}`, content: body?.ticketContent, hubspot_owner_id: owner?.id ? owner?.id : '', // Owner ID based on the operator }, }; if (contact) { ticketData['associations'] = [ { to: { id: contact?.id }, types: [ { associationCategory: 'HUBSPOT_DEFINED', associationTypeId: 16 }, // Contact ↔ Ticket ], }, ]; } const hubspotTicket = await axios.post(HS_BASE_URL_TICKETS, ticketData, hubSpotAuth);
Unable to Associate Crisp Conversation with HubSpot Ticket
Hey @JRashid! Thanks for these details. I think there is some confusion due to the naming of Conversations in Crisp versus Conversations in HubSpot. I haven't used this integration, but it seems like the conversations that naturally create tickets in HubSpot are not related to the Crisp integration.
Your goal is to see Crisp activity on the ticket, but the integration does not sync to tickets. It sounds like ultimately a limitation of the integration, but maybe some community members with custom integration experience can offer some advice.
Hey @Humashankar, @HubSpot_Corey do y'all know of a way to associate activities synced from an integration to an associated ticket? The conversations don't behave like regular HubSpot Conversations, so we are a bit stuck.
Best,
Kennedy
Did you know that the Community is available in other languages? Join regional conversations by changing your language settings !
Looks like you are creating the ticket in HubSpot using the Tickets API (which you're already doing). Following to that can you also try retrieve the Crisp conversation details and Create a conversation record in HubSpot using the Conversations API. Then associate the created conversation with the ticket and give a try and let us know.
Hope this helps - Happy to help further!! Thank you very much and have a great one! Warm regards
Humashankar VJ HubSpot Enthusiast and Key Advisor | Engineering Manager
Unable to Associate Crisp Conversation with HubSpot Ticket
Crisp chat conversations are not showing in inbox or in any channel of inbox that's why am not able to get it i have tried all api's too. https://api.hubapi.com/conversations/v3/conversations/inboxes https://api.hubapi.com/conversations/v3/conversations/threads https://api.hubapi.com/conversations/v3/conversations/channels https://api.hubapi.com/conversations/v3/conversations/channel-accounts
Thank you for the details and code snippet. It looks like you're successfully creating tickets in HubSpot and associating them with users, but the Crisp conversations aren't appearing in the ticket.
I would recommend resolving this, ensuring you're using the correct conversation ID, and associating it with the ticket. To our top experts, @TomM2 and @DanielSanchez do you have any recommendations for @JRashid matter?
The issue I’m facing is that I don’t know how to retrieve the correct conversation-id.
I’ve used the Conversations API to fetch conversations, but it only provides inbox conversations, not Crisp conversations or messages. Because of this, I am unable to get the necessary conversation-id to associate it with the ticket.
Could you please guide me on how to retrieve Crisp conversation IDs or if there is an alternative method to associate Crisp conversations with HubSpot tickets?