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?
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:
That should work even if the lead is not a contact on Hubspot yet. So it would look like this :
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.
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.
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.