docs: Add note about task broker server port in execute CLI command

This commit is contained in:
Iván Ovejero 2025-10-20 17:11:38 +02:00
parent 23f5ffb8a3
commit 51a8c39da6
No known key found for this signature in database

View File

@ -18,9 +18,9 @@ You can use CLI commands with self-hosted n8n. Depending on how you choose to in
docker exec -u node -it <n8n-container-name> <n8n-cli-command>
```
## Start a workflow
## Execute a workflow
You can start workflows directly using the CLI.
You can execute a workflow directly using the CLI.
Execute a saved workflow by its ID:
@ -28,6 +28,10 @@ Execute a saved workflow by its ID:
n8n execute --id <ID>
```
/// note | Task broker server port
This CLI command requires its own task broker server to service Code node tasks. Therefore, please ensure port `5679` is available, else change it for this CLI command using the env var `N8N_RUNNERS_BROKER_PORT`.
///
## Change the active status of a workflow
You can change the active status of a workflow using the CLI.