Actions44
- Execution Actions
- Monitoring Actions
- Scheduler Actions
- Tag Actions
- Workflow Actions
Execution → Cancel Queued Executions
AI-generatedSummary
Stops n8n executions in "waiting" status (by default) for the selected workflow(s) via the n8n public API, returning a per-execution success/failure list.
Inputs
- Workflow Selection — How to pick workflows: searchable list (default), multiple from list, current workflow, or manual URL/ID (comma-separated IDs allowed).
- Workflow Name or ID (required) — Single workflow, shown when selection mode is 'list'.
- Workflow Names or IDs — Multiple workflows, shown when mode is 'multiple'. At least one workflow must be selected overall or the node errors.
- Workflow URL or IDs — Workflow URLs or IDs (comma-separated), shown when mode is 'manual'.
- Execution Status — Status filter for the executions to cancel. Empty (Any) falls back to 'waiting'. Choosing Running, Error or Success changes which executions get a stop request.
- Max Pages — Maximum pages of executions to fetch (1–50, default 5; 100 per page).
Output shape
One item with canceled (count of executions attempted) and results, an array of {executionId, stopped: true} or {executionId, stopped: false, error} entries.
Each execution is stopped with POST /executions/{id}/stop; individual failures are recorded in results rather than aborting. When several workflows are selected, the workflowId filter is not applied, so executions are listed across the whole instance, not just the selected workflows. The 'canceled' count includes failed attempts. Requires the n8nApi credential.
Examples
Example 1: Clear a backlog of waiting executions for one workflow before maintenance.
Workflow Selection: From Searchable List; pick the workflow; Execution Status: Any; Max Pages: 5.
Example 2: Cancel waiting executions of the workflow containing this node.
Workflow Selection: Current Workflow; Execution Status: Waiting.