No Respond type in Respond to chat node?

I am trying to build a chatbot with Human in the loop using “When chat message received” node and HITL node - “Respond to chat node”

It should be if true then require HITL. if false, output directly. The response from AI Agent only showed after i stop the execution. When the execution is running, no response is showed in the logs.

Another thing is that i cant seem to have the settings to set the approval in the “Respond to chat” node.

”when chat message received node” - respond mode: using respond nodes.

Is this an issue with my workflow or the node itself?

logs for respond to chat node:

Using Response Node is the correct option, if you click on the dropdown menu you will see it’s description before selecting it which details that.

Seems like your prompt is using a lot of tokens or something is hanging somewhere. Could be the model, could be the MCP etc. You can test be switching things off one by one.

If without “respond to chat” node (without HITL) , it is working fine. The issue arises after adding “respond to chat” node.

Tried removing one by one (mcp, system prompt, structured output), but still not working.

It is only working if i remove the respond to chat node and set the respond mode to last node….

*Docs button not working too…

After checking, yes, I believe the intended behavior is to not use the Respond to chat node, but use Last node. Check this example:

Alright, so if I want to use the ‘Respond to Chat’ node as a Human-In-The-Loop (HITL) step in the chat interface, it’s not possible, right? I would need to implement the logic myself using different nodes.

My use case would be: chat input → AI → HITL → user interface prompt, where the user can click ‘Yes’ or ‘No’.

Yes, this is achievable, but still you won’t need a respond to chat node. What you would do is something like this:

Chat (respond on last node) -> AI -> Notify human & capture response -> process if needed in the last node

Also, one thing we forgot to test while you were still using the Respond chat node is disabling Wait for user Input. You can try again with this disabled, as it waits for another message from the user, which is not always needed.

2 Likes

Hey Lucas, just checking if my last reply helped? If yes, consider marking it as Solution. Thanks!

2 Likes

Hi krisn0x thank you for the helped. Marked as solution

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