Hi!
HTTP Request as a tool on the AI Agent in n8n. I want to use the AI agent to send parameters to my HTTP Agent to fetch relevant information querying the ERP system via a Rest API call. I have a chat node trigger to enter freeform text to send to AI Agent.
When I try to enter the chat message trying to invoke the workflow, I get an error that the referenced node is unexecuted.
I call my referenced node for HTTP Agent as 'PO Inquiry'. The execution detail shows "An expression references the node 'PO Inquiry', but it hasn't been executed yet. Either change the expression, or re-wire your workflow to make sure that node executes first." I am stuck between executing the node so it can return the data to the AI agent, and return the output in the chat window. The workflow is behaving contrary to the expectation that the HTTP agent must execute before, rather than after sending in the parameter via chat message.
I would greatly appreciate any input from the gurus in here.
Regards
Anand