Documentation Index
Fetch the complete documentation index at: https://mintlify.com/n8n-io/n8n/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Workflows API allows you to programmatically manage your automation workflows. You can create, read, update, delete, activate, and execute workflows through REST endpoints.List Workflows
Retrieve a paginated list of workflows.Query Parameters
Pagination cursor from previous response’s
nextCursorNumber of workflows to return (max: 250)
Filter workflows by name (partial match)
Filter by active status:
true for active, false for inactiveComma-separated tag names to filter by
Filter workflows by project ID
Exclude pinned test data from response
Example Request
Response
Array of workflow objects
Unique workflow identifier
Workflow name
Whether the workflow is currently active
Array of node configurations in the workflow
Node connection mappings
Workflow settings and configurations
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Cursor for next page of results, or
null if no more resultsExample Response
Get Workflow
Retrieve a specific workflow by ID.Path Parameters
The workflow ID
Query Parameters
Exclude pinned test data from response
Example Request
Response
Returns a single workflow object with full details including nodes, connections, and settings.Create Workflow
Create a new workflow.Request Body
Workflow name (max 128 characters)
Array of node configurations
Object mapping node connections
Workflow settings and configuration
Static data stored with the workflow
Array of tag IDs to assign
Project ID to create workflow in (defaults to personal project)
Metadata about the workflow
Example Request
Response
Returns the created workflow object with generated ID and additional metadata.New workflows are always created in inactive state. Use the activate endpoint to enable them.
Update Workflow
Update an existing workflow.Path Parameters
The workflow ID to update
Request Body
All fields are optional. Only include fields you want to update.Updated workflow name
Updated node configurations
Updated connection mappings
Updated workflow settings
Updated static data
Updated array of tag IDs
Example Request
Response
Returns the updated workflow object.Delete Workflow
Permanently delete a workflow.Path Parameters
The workflow ID to delete
Example Request
Response
Activate Workflow
Activate a workflow to run automatically based on triggers.Path Parameters
The workflow ID to activate
Request Body
Specific version ID to activate
Optional name for the active version
Optional description for the active version
Example Request
Response
Returns the activated workflow withactive: true.
Deactivate Workflow
Deactivate an active workflow.Path Parameters
The workflow ID to deactivate
Example Request
Response
Returns the deactivated workflow withactive: false.
Execute Workflow
Manually trigger a workflow execution.Path Parameters
The workflow ID to execute
Request Body
The complete workflow configuration to execute
Array of node names to start execution from
Target node name to execute up to
Input data for the execution
Example Request
Response
Transfer Workflow
Transfer a workflow to a different project.Path Parameters
The workflow ID to transfer
Request Body
The target project ID
Whether to share associated credentials with the destination project
Example Request
Response
Returns204 No Content on success.
Common Patterns
Cloning a Workflow
Bulk Operations
Error Responses
400 Bad Request
403 Forbidden
404 Not Found
Next Steps
Executions API
Monitor workflow executions
Credentials API
Manage workflow credentials
Authentication
Learn about API authentication
Webhooks
Trigger workflows via webhooks