Sub-Workflow is not getting the right query from the Parent-Agent

Dear n8n Community,

I have an agent who calls up a sub-workflow 5 times in a row. These 5 calls are carried out by the agent in 1 execution. This means that the agent only has 1 execution but the sub-workflow has 5 executions in a row.

Each time the sub-workflow is called from the agent, the agent sends a different query. In the first call, the query is passed on correctly to the sub-workflow. But when the agent calls all the others, the query is not passed on correctly even if the query is different.

The Problem:
The sub-workflow always uses the first query who was send from the agent and ignores all other queries (see attached screenshots).

How can I ensure that the query sent by the agent to the sub-workflow also arrives at the sub-workflow?

Information on your n8n setup

  • **n8n version: 1.80.3
  • **Database (default: SQLite): Postgres/Supabase
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): self hosted
  • **Operating system: Railway




1 Like

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Kaan,

This is known bug and other users have reported it too.
This issue has been flagged by n8n team and they are already working on it, since it’s a very problematic bug.

In the meantime, you have a couple of options:

  • Downgrade to an earlier n8n version that isn’t affected (versions 1.77 or 1.76 should work).
  • Adjust your workflow by finding an alternative logic using tools instead of sub-workflows.

I know it’s not an ideal solution, but unfortunately, that’s the current situation. :confused:

If my reply answers your question, please remember to mark it as a solution.

1 Like

Hi, I was having the same issue. Updated to version 1.80.3 and seems to be working fine. More test needs to be done though, but maybe it helps.

Thank you for your fast help

This should be fixed in 1.80.4 (and 1.80.5, 1.81.2 on beta)

Apologies for the trouble

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