Reply to a received message

I’m having an issue with my chat responding with a fixed message.

Currently, I have an edit fields with the key “response” and the value is the message I want, however, the chat responds with the full object, i.e.: { “response” : “…” } instead of just “…” (example)



Also, I tried changing the response method to “reply with webhook” and added the corresponding node, and in it, I put respond with “text” and I put the text but, it doesn’t work well either.

Is this a bug? or am I doing something wrong


It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Nelson_Artunduaga

Thanks for posting here and welcome to the community! :cake:

The Chat Trigger nodes expects a key named either output or text in order to correctly parse the value.

As you can see this works as expected in your last screenshot, as the output key gets correctly parsed. However, you have defined the value of it in the If node to be a JSON object though { "spam": true }

What is your current workflow? If you can share it I can take a look at the changes you need to make for this to work.

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.