Hi,
I am trying to send Manychat data to chatbase. I tried all the HTTP modules, and also the chatbase Make Api Call module. I get error 403, or 401 or 500.
It doesn’t work. Is there any tutorial to send a question to chatbase and get the reply with conversation id (not only text)?
I attached here screenshots and blueprint.
Kind regards
Gauthier
blueprint.json (32.7 KB)
Hi, @Gauthier1 try using this JSON payload. Might hep if you can make sure that all of you are authenticated correctly.
{
“messages”: [
{
“content”: “{{12.question}}”,
“role”: “user”
}
],
“chatbotId”: “{{12.chatbot_id}}”,
“stream”: false,
“temperature”: 0,
“model”: “gpt-3.5-turbo”
}
Also an issue that i’v experienced in the past is the message not escaping Special Characters correctly causing the payload to mess up you need to account for these possible errors.
Let me know if this helps!
Thank you for your help, but it didn’t work. Or did I misunderstood your playload?
Yes, I do have gpt-4o as I am using it with chatbase Javascript widget on my website and it works perfectly.
Ok great just wanted to make sure.
Did you try the new payload?
What do you mean by new payload (the Body parameters in the module?)? I think yes. I shared the screenshots of my new config above based on your suggestion.
I added a new suggestion. You are missing quotes around Hi and the chatbotid in what you sent me. Please try the below. Send any more errors you get.
{
“messages”: [
{
“content”: “Hi”,
“role”: “user”
}
],
“chatbotId”: “Xp1ZeXTGM1ElYG2YlXb_u”,
“stream”: false,
“temperature”: 0,
“model”: “gpt-4”
}
This is the body example for chatbase documentation:
yellow highlight = required
2 Likes
Thank you so much. Obviously, the issue was the wrong ". It was this kind of quotes ” instead of “”.
But I still didn’t figure it out how to make chatbase carryon the conversation. I created a new post for this issue : How to pass properly the chatbase conversationId to chatbase and Manychat?
3 Likes
Great can you mark my solution as solved. Thank you! @Gauthier1
2 Likes