AI agent tool randomly (but consistently) launching subflow with prior/duplicate $fromAI data which DOESN'T MATCH the current $fromAI INPUT #13453
Labels
in linear
Issue or PR has been created in Linear for internal review
Describe the problem/error/question
Re-writing this to further help clarify behavior seen.
AI Tool to store variables is being used.
I send in a chat: store variable $one as ok.
Agent detects variable_name = $one and value = ok
Subflow executes correctly with the variables as listed above.
I send in chat: store variable $two as hi.
Agent detects variable_name =$two and value = hi. The ai agent bot detects the request correctly and these variable values are clearly listed as the inputs detected and fed into $fromAI.
Subflow executes 2x, both times ignoring the inputs listed and sending in variable_name = $one and value = ok (from the original request).
This is a major problem with AI chatbots that will effect anytime you call a tool multiple times. This isn't an AI problem as the INPUTs coming in from the chat agent are showing correct. I have now re-created this dozens of times across various different workflows.
What is the error message (if any)?
N/A
Please share your workflow/screenshots/recording
https://trustguard.app.n8n.cloud/workflow/ghnSz4Oyw9yqmzqk/executions/929

Share the output returned by the last node
Debug info
core
storage
pruning
client
Generated at: 2025-02-23T23:36:59.260Z}
The text was updated successfully, but these errors were encountered: