create_workflow
Build and activate custom n8n workflows programmatically by defining nodes, connections, and settings. Supports automatic triggers for immediate workflow execution.
Instructions
Creates a new workflow in n8n with specified nodes and connections. Note that only workflows with automatic trigger nodes (schedule, webhook, etc.) can be activated - workflows with only manual triggers cannot be activated. Returns the created workflow with its assigned ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
activate | No | Whether to activate the workflow after creation (only works for workflows with automatic triggers) | |
workflow | Yes | Complete workflow structure including nodes, connections, and settings |