Typebot x N8N
Guys,
I'm racking my brains to solve this issue. I created a flow in Typebot to integrate with n8n due to some integrations.
The flow consists of the user asking a question and the assistant in the n8n flow responding. There's a variable called "value," which represents the user's question, and a variable called "response," which represents the value of the agent's response.
My webhook block is configured as follows, as in the attached image.
After this block, there's a text block to display the "response" variable.
I see that the flow in n8n runs smoothly. The response arrives in the Typebot console as shown, but the response isn't displayed in the chat for the user.
What could be wrong?


16 Replies

did you test the rewuest from the HTTP and select the data in the response?
I performed a test on the request and it worked, but it doesn't work in the chat.

Can u see if the request was received by n8n from the chat?
Did you select the data to use from within http request node?
If I understand your question correctly, I see the flow running in n8n without any issues, so much so that the response arrives in the Typebot console, but it's not displayed in the chat.
Regarding the http name, I just added the address and a variable to save the response.
This would be my flow in n8n.

Did you assign the data to the variable, as shown here:

No, it's configured this way.
In the data field, would it be a new variable or the same one that receives the response value from the n8n flow?

The "Data" fields should have something like "data.response"
I performed the test by creating the variable data.response, and with data.response, I put data.response without creating a variable, just the text and it still doesn't work.

data.response in data (or in this message I reply to, it's data.output
Resposta in set variable
Then in the bubble {{Resposta}}
I put data.response in data, and it still doesn't work, I put it as plain text and I put it as a variable and it doesn't work.

can you post what the response JSON from n8n looks like?

Json

Try replacing data.response with data[0].output. Always use Test Request to identify how to access the data. If you need any information from the flow, fill in the Variable values for test field.
Can you use something like HTTPIE or Postman to call the n8n endpoint and show what that returns instead of showing it in n8n?