mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
Merge branch 'smamudhan-ExecuteWorkflow'
This commit is contained in:
commit
4b499da07b
@ -11,6 +11,8 @@ The Execute Command node is used to run shell commands on the host machine that
|
||||
2. This node will execute the command in the default shell of the host machine. For example, this will be PowerShell on Windows and zsh on macOS.
|
||||
:::
|
||||
|
||||
## Node Reference
|
||||
|
||||
The Execute Command node has two properties:
|
||||
1. *Execute Once* toggle: This is a boolean field that is used to specify whether you want the node to execute only once, or once for every item it receives an input.
|
||||
2. *Command* field: This is a text field that is used to specify the command that will be executed on the host machine.
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
---
|
||||
permalink: /nodes/n8n-nodes-base.executeWorkflow
|
||||
---
|
||||
|
||||
# Execute Workflow
|
||||
|
||||
The Execute Workflow node is used to run a different workflow on the host machine that runs n8n.
|
||||
|
||||
## Node Reference
|
||||
|
||||
The Execute Workflow node has two properties:
|
||||
- ***Source***: This field is used to specify from where to get the workflow's information.
|
||||
- Database
|
||||
- Local File
|
||||
- Parameter
|
||||
- URL
|
||||
- ***Workflow***: This field contains information about the workflow, such as the workflow ID, URL, or a file.
|
||||
|
||||
|
||||
## Example Usage
|
||||
|
||||
This workflow allows you to execute another workflow on the host machine using the Execute Workflow node. You can also find the [workflow](https://n8n.io/workflows/588) on n8n.io. This example usage workflow would use the following nodes.
|
||||
- [Start](../../core-nodes/Start/README.md)
|
||||
- [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
|
||||
|
||||
1. 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.
|
||||
2. Click on ***Execute Node*** to run the workflow.
|
||||
|
||||
|
||||
## FAQs
|
||||
|
||||
### How do I find the workflow ID?
|
||||
|
||||
1. Open the workflow for which you want to get the workflow ID.
|
||||
2. Copy the number after `workflow/` in your URL and paste that in the ***Workflow ID*** field.
|
||||
BIN
docs/nodes/nodes-library/core-nodes/ExecuteWorkflow/workflow.png
Normal file
BIN
docs/nodes/nodes-library/core-nodes/ExecuteWorkflow/workflow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Loading…
Reference in New Issue
Block a user