Share feedback, ideas and get community help

Updated 9 months ago

Webhook for my bot

At a glance

The community member is seeking help to create a webhook for their bot, which they need for integration with external systems. They have tried different approaches but are facing issues. The comments suggest checking a video tutorial, executing the typebot flow using the API, and provide details on the API endpoint and request body. However, the community member is still having trouble creating the webhook and is encountering an error related to creating the conversation when trying to start a chat using the Typebot API. There is no explicitly marked answer in the comments.

Useful resources
Hi,

how can I create a webhook for my bot? I have tried different ways. I need this for configuration with external systems.

Please help 😦
B
B
8 comments
What's the issue?
Hi Baptiste,

thank you for your response.
I want to create a webhook that will directly call the bot when interacting. I want to connect the bot to the audio interface and at startup, the bot would speak. I tried to create a webhook in make.com but unfortunately it doesn't work.
Oh so you want to execute the typebot flow with the API then
I'm still having trouble creating a webhook. I don't know where the problem is. Make.com indicates that the configuration is correct, but when I try to do interactions nothing plays. The logs do not indicate any errors
Attachment
image.png
Hi again,

I'm encountering an issue while trying to start a conversation using the Typebot API. Here are the details of the problem:

Issue:

Error message: createConversation
Description: When making a POST request to the Typebot API endpoint to start a chat, I'm receiving an error related to creating the conversation.
Details:

API Endpoint: https://api.typebot.io/v1/chat/start
Method: POST
Headers: Content-Type: application/json
Request body:
json

{
"public_id": "open-ai-assistant-chat-2aabupj",
"visitorId": "unique-visitor-id"
}

Setup:

I'm using Make to handle the HTTP request.


From Make: The HTTP request is sent without errors, but the response from the other app returns an error related to Bot Err: Error starting bot: createConversation



The visitorId is dynamically generated and passed correctly.
The public_id is correctly set to open-ai-assistant-chat-2aabupj.
Could you please help me identify what might be causing this error and how to resolve it?

Thank you for your assistance.
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord