APIs & Integrations

EPettigrew
Member

Assign owner to a conversation

Hi, I'm creating a Whatsapp stream using webhook, in which I'm giving predefined answers depending on what the possible lead responds. There will be an option to redirect the conversation to one owner or another, and at that time I want to use the API to assign an owner to the conversation, considering that probably the person who is responding is not a contact in Hubspot and I do not have the data of your email to create it as a contact and assign owner from the email. How can I solve this?

Thansk!

0 Upvotes
6 Replies 6
KristelA
Contributor

Assign owner to a conversation

Hi,
I was also trying to find an API endpoint that could help me do that but I did not manage, so I used the Chatflow's "agent handoff" functionality that allows to assign the conversation to a team member:

 

KristelA_0-1726517920491.png

That should work even if the lead is not a contact on Hubspot yet. So it would look like this :

 

KristelA_1-1726519116841.png


Best regards

 

0 Upvotes
EPettigrew
Member

Assign owner to a conversation

Thank you for taking the time to help me. I think your solution does not fit what I need, because the chat I am developing is through the official Whatsapp integration, listening to Hubspot webhooks. From the response of a possible lead, return a predefined message. And within that conversation flow, the user can choose to continue the conversation with one or another owner. My idea is that when the user chooses with whom to continue the flow, the owner is assigned to the conversation using the API.

0 Upvotes
KristelA
Contributor

Assign owner to a conversation

Ohh, I see :c apparently there is no documentation about a feature like this yet :

https://community.hubspot.com/t5/APIs-Integrations/API-Assign-a-conversation-to-a-user/m-p/811014

0 Upvotes
EPettigrew
Member

Assign owner to a conversation

Thanks!🙂

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Assign owner to a conversation

Hey, @EPettigrew Thanks for your question. Can you tell us more about what you've already tried and where you got stuck or ran into errors, please? Sharing code blocks, screenshots and other specifics can help our community members to understand how they might be able to assist you with your project.

 

Thanks! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
EPettigrew
Member

Assign owner to a conversation

Hi @Jaycee_Lewis, thank you for your answer. I did not have any error, my question is if using the API there is a way to assign an owner not to a contact, but to a conversation. Considering that the possible lead that is going to be part of that conversation is not an existing contact in Huspot.

0 Upvotes