Describe the problem/error/question
I build a simple chat message → OpenAI → respond to webhook flow.
In the respond to webhook Parameters I select Respond with text and a json expression. Nevertheless the whole JSON object gets returned
What is the error message (if any)?
No error
Please share your workflow
Share the output returned by the last node
{ "index": 0, "message": { "role": "assistant", "content": "Rock and Roll", "refusal": null, "annotations": [] }, "logprobs": null, "finish_reason": "stop" }
Information on your n8n setup
n8n v 1.92.2
Database SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via Docker:
Operating system: macOS 15.4.1
tridi
May 13, 2025, 3:59pm
2
Hi Stephan_Wissel welcome to n8n community
I think you dont need that respond to webhook node since you just using chat triiger so the output just the content
2 Likes
Thank you for your swift reply, very much appreciated. I must be missing something. Deleted the webhook and still get the full JSON in the output.
1 Like
Hi Stephan, try disconnecting and reconnecting everything, or you could remove the nodes and restart. Sometimes it’s just a glitch. Alternatively, you can use this one.
tridi
May 13, 2025, 4:12pm
5
ok just found out you are using openAI node, so change it to using ai agent or LLM Agent if you want work with Chat Trigger
3 Likes
system
Closed
May 20, 2025, 4:12pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.