The Execute Workflow node is used to run a different workflow on the host machine that runs Workflow².
The Execute Workflow node has two properties:
- Source: This field is used to specify from where to get the workflow's information.
- Local File
- Workflow: This field contains information about the workflow, such as the workflow ID, URL, or a file.
This workflow allows you to execute another workflow on the host machine using the Execute Workflow node. You can also find the workflow on Workflow².io. This example usage workflow would use the following nodes. - Start - Execute Workflow
The final workflow should look like the following image.
1. Start node#
The start node exists by default when you create a new workflow.
2. Execute Workflow node#
- Enter the ID of the workflow that you want to execute in the Workflow ID field. You can find instructions on how to obtain the ID of a workflow in the FAQs below.
- Click on Execute Node to run the workflow.
How do I find the workflow ID?#
- Open the workflow for which you want to get the workflow ID.
- Copy the number after
workflow/in your URL and paste that in the Workflow ID field.
How does data get passed from one workflow to another?#
Let's say, that there's a Execute Workflow node in Workflow A. The Execute Workflow node calls another workflow, Workflow B. - The Execute Workflow node passes the data to the Start node of Workflow B. - The last node of Workflow B sends the data back to the Execute Workflow node in Workflow A.