When i run my workflow inside 8n8 with “Chat”
the whole workflow works and everywhere i get the right outputs.
But when i run this construction on my app, and i send a message trough the chatbot on my website, the message comes trough the webhook (WORKS),
But inside the Edit Fields, (it does receive the message), but the output is wrong and the Json is suddenly red.
I have changed nothing.
Again: testing inside 8n8 works
But trough my automation (triggered outside) it doesnt.
Looking at the error the issue is going to be that the chat trigger and webhook node output data in different ways, From the chat trigger it is using {{ $json.chatInput }} but if you look at your screenshot at the bottom the webhook is adding it to the body which means you will need to use {{ $json.body.chatInput }}.