typebot.io
typebot.io copied to clipboard
Option to tell the API to return markdown instead of rich text
Hello @baptisteArno!
I'm facing an issue with prefilled variables sent from n8n via an HTTP request not being displayed correctly in my Typebot chat flow.
I've set up an HTTP request node in n8n with the Typebot API endpoint and included the necessary headers and body. While the Typebot seems to recognize the variables (as shown in the attached screenshots/output examples), these variables are not being displayed as expected in the chat flow.
Despite trying to manipulate the variables within Typebot and ensuring that the variable group is not connected (to avoid reinitialization), the issue persists. I've also tested without the variable group inside Typebot but to no avail.
Could you please advise if there's a specific setup or syntax required in Typebot to handle these prefilled variables correctly? Any guidance or suggestions would be greatly appreciated.
Thank you for your support, and greetings from Brazil! Junior Mota
these variables are not being displayed as expected in the chat flow.
What are you expecting? What you show in the screenshot looks right to me!
For information, what you get here is a richText object, that you need to parse. I understand that it can be an issue in your case since you're using N8N.
I guess I could add an option to automatically parse the messages as markdown