Returning Value to Chat

Hello averybody! Thank you so much for your help.

Describe the problem/error/question

I have an issue returning a message to the chat user, there is no such value as “Response Mode” in the ‘When a chat message is received’ node.

What is the error message (if any)?

Problem in node ‘Respond to Chat‘

“Response Mode” in the chat trigger node must be set to “Respond Nodes”

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

Hey @elcade hope all is good. Welcome to the community.

Using 'Respond to Webhook' node will do what you need. Just some wording issue.

Thank you @jabbson!

I already tried that and also fails.

Could you please attach your workflow here for us?

Hmmm… I have some work data there.
Let me see if I can clean it up, hang on.

Any recommendations to anonymize it?

Or try this workflow and see if you experience the same issue:

Nothing happens

Wait… why your chat trigger has a mode “using respond to webhook node” for hosted chat?.. It should only be there for the embedded…

These are the options…

That is what you suggested up above: “Hey @elcade hope all is good. Welcome to the community.

Using 'Respond to Webhook' node will do what you need. Just some wording issue.”

I do not have the option for ‘Using Response Nodes’

No no I am well aware of what I suggested, - I looked at the screenshot you’ve sent and using X node seemed like the best idea (out of two), now I am looking at the options in my instance and they are not the same. Are you certain you are running 1.106.3?

Can you send me just your chat node? Select, copy and paste.

Yep!

{
“nodes”: [
{
“parameters”: {
“public”: true,
“initialMessages”: “Hi there! :waving_hand:”,
“options”: {
“responseMode”: “responseNode”
}
},
“type”: “@n8n/n8n-nodes-langchain.chatTrigger”,
“typeVersion”: 1.1,
“position”: [
0,
-256
],
“id”: “b6f89cde-4be8-4717-9da0-caf506a0aa34”,
“name”: “When chat message received”,
“webhookId”: “86c6aceb-a43c-42eb-9e26-022e6f33acb9”
}
],
“connections”: {
“When chat message received”: {
“main”: [

]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a”
}
}

Thank you for confirming this.

Can you please send just the chat node? Select, copy and paste here.

Up here :index_pointing_up:

Now, I copied and pasted your chat trigger in my flow and now it is doing this:

Yes, your chat trigger is version 1.1, while the latest chat trigger is 1.3, I bet that’s why.

Is there a way to upgrade the nodes to 1.3?

From what I know, as of this moment the only way to up the version of the node is to replace it manually.

There is a FR for this if you wish to upvote

Great! Do you know if I have to manually need to update all nodes?

Just the once that have a new versions (you can see the version under the settings):

Well, my trigger is now 1.3 but the ‘Respond to Chat’ is not executing/responding.

Respond to chat is :`"typeVersion": 1,`

!.3 and 1 are the latest versions.

on the screenshot I see that there is 1 item coming out


the clock you are seeing is probably an indicator of the function “Wait for User Reply” being enabled in the respond node.

What is the output of the node, what happens in the chat?