Custom n8n Workflow Tool node only sends data to the first output. Why?

I am not sure what I am doing wrong. I want to call a sub-workflow and have it run each time the agent calls that tool, but it seems to only use the first input! What is the best way to achieve this? I need my agent to be able to use the sub-workflow tool multiple times and receive the correct result each time.

Agent:

Sub-workflow:

Information on your n8n setup

  • n8n Version 1.78.1
  • PostgreSQL
  • Docker
  • Windows 11 Pro

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:

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