T
Typebot6mo ago
GSD077

API is sending the text of my block in chunks

Hey guys, the Typebot API is sending the text of this block in chunks to my n8n. Is this the expected behavior or am I doing something wrong? This is a piece of the code I'm receiving on n8n showing the message in different objects. "messages": [ { "id": "folbnz5wknbqh7emu41rzm7t", "type": "text", "content": { "richText": [ { "type": "p", "children": [ { "text": "Olá, sou o atendente virtual da Clínica de Estética Teste. Digite o número de uma das opções abaixo para eu saber o que você deseja fazer:" } ] }, { "type": "p", "children": [ { "text": "" } ] }, { "type": "p", "children": [ { "text": "1) Agendar um procedimento" } ] }, { "type": "p", "children": [ { "text": "2) Alterar agendamento existente" } ] }, { "type": "p", "children": [ { "text": "3) Conhecer os procedimentos" } ] }, { "type": "p", "children": [ { "text": "4) Fazer uma pergunta" } ] } ] } } ],
No description
7 Replies
Baptiste
Baptiste6mo ago
Yes, this is the only available format for now
Baptiste
Baptiste6mo ago
In the future, you will be able to ask for markdown instead: https://github.com/baptisteArno/typebot.io/issues/1111
GitHub
Option to tell the API to return markdown instead of rich text · Is...
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 i...
Baptiste
Baptiste6mo ago
For now you need to parse the richText object manually.
Bruno Costa
Bruno Costa4mo ago
Hello guys, how are you? Is the solution mentioned in the "convertRichTextToMarkdown" issue #1111 already available? Is there any version or string available to use in the API to change this type of return in rich text? Thanks!
Baptiste
Baptiste4mo ago
It will be available in 2.26.0. Release scheduled today
Bruno Costa
Bruno Costa4mo ago
Thank you very much master, updated and tested. Working perfectly, congratulations on the great work!!
Want results from more Discord servers?
Add your server