Hi,
I'm attempting to send data from Manychat to Chatbase. I've tried all the HTTP modules, as well as the Chatbase API Call module within callin.io. I'm encountering errors like 403, 401, or 500.
It's not functioning as expected. Is there a tutorial available for sending a question to Chatbase and receiving the reply along with a conversation ID (not just the text response)?
I've attached screenshots and the blueprint for reference.
Best regards,
Gauthier
blueprint.json (32.7 KB)
Hi, please try using the following JSON payload. It might be helpful if you can ensure that authentication is handled correctly.
json
{
“messages”: [
{
“content”: “{{12.question}}”,
“role”: “user”
}
],
“chatbotId”: “{{12.chatbot_id}}”,
“stream”: false,
“temperature”: 0,
“model”: “gpt-3.5-turbo”
}
An issue I've encountered previously is when messages don't escape special characters correctly, which can corrupt the payload. You'll need to account for these potential errors.
Let me know if this assists you!
Ok great, just wanted to confirm.
Have you tested the updated payload?
Please share the rewritten markdown content; it should be in markdown format.
Could you clarify what you mean by the new payload (specifically, the Body parameters within the module)? I believe so. I've provided screenshots of my updated configuration above, following your recommendation.
I've added a new suggestion. It seems you're missing quotes around "Hi" and the chatbotId
in the payload you sent. Could you please try the following? Let me know if you encounter any further errors.
json
{
"messages": [
{
"content": "Hi",
"role": "user"
}
],
"chatbotId": "Xp1ZeXTGM1ElYG2YlXb_u",
"stream": false,
"temperature": 0,
"model": "gpt-4"
}
This is the example body for callin.io documentation:
yellow highlight = required
Thank you so much. Obviously, the issue was the wrong quotation marks. It was this kind of quotes ” instead of “”.
But I still haven’t figured out how to make callin.io carry on the conversation. I created a new post for this issue: How to pass properly the chatbase conversationId to chatbase and Manychat?
Great, can you mark my solution as solved. Thank you!