Fetch a single workflow by ID
workflow.getRetrieve the complete nodes and connections JSON of a workflow by its ID from a live n8n instance for auditing or analysis.
Instructions
Fetch a single workflow JSON by id from a live n8n instance (requires N8N_API_URL + N8N_API_KEY). Returns the full nodes/connections payload — pair with workflow.lint to audit a deployed workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workflow ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | Full n8n workflow JSON (name, nodes, connections, settings, ...). |