How to Implement 'Execute Workflow Trigger' for Child Workflow on the Same Page as the Parent Workflow

After consulting this documentation, my initial understanding is that to use the “Execute Trigger Workflow” functionality, I need to create two workflows on separate web pages: a parent workflow and a child workflow containing the “Execute Trigger Workflow” node.

Because the documentation suggests obtaining the sub-workflow’s ID from the alphanumeric string found at the end of its URL.

So, if putting both parent workflow and sub-workflow together in the same page? How we could achieve this? Is there any better documentation for this. Thanks a lot.

Here is the sample I saw from the community templates:

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:


Great question!

In the example you shared, you’ll notice that the tools connected to the AI Agent node are referring to {{$}}.

That evaluates to be the same ID as the alphanumeric string found at the URL of the workflow. You can use that to target your child workflow within the same workflow.

Important note, only one “Execute Workflow Trigger” node is allowed in a workflow to avoid collisions, so if you want to execute multiple sub-workflows you will need to separate them.

Thanks again for being part of the community!


I see. Got it, thanks a lot.

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