By default, HubSpot only allows sending messages using the live chat widget.
However, due to a company requirement, we need to use a custom HTML form and send messages to the conversation inbox through the conversation API.
Additionally, since our form is public and does not require authentication, the sender will appear as “Unknown Sender,” which is acceptable.
How can I achieve it?
@ronaldaug While it’s possible to connect HubSpot forms as a channel to the conversations inbox, I don’t think it’s possible to use the Forms API or Conversations API (in beta) to pass the form data through as a message to the Inbox - this is beyond my area of expertise, but maybe @Mike_Eastwood can offer further insights.
Thanks @Jnix284
I think I found the answer in the community’s old Q&A.
From what I understand, the conversational API allows us to read, retrieve, and send messages. However, it only works for existing threads and actors, and there’s no way to create a new thread using the API. This is explained in more detail here: https://community.hubspot.com/t5/Conversations-API-Beta/Create-new-threads/m-p/590819
So, alternatively, we can create a new thread by connecting a “form” to the “inbox” using “channel”, This guide explains how to do it: https://support.webdew.com/kb/connect-form-to-the-conversations-inbox-in-hubspot
Hi @ronaldaug I’m glad you got it sorted! It looks like the guide you found is similar to the initial link I shared with how to connect forms as a channel, my only uncertainty was regarding where the form was hosted since you mentioned it being a custom HTML form.