import_workflow
Import an n8n workflow from a JSON string definition, restoring nodes, connections, settings, and name. Optionally activate the workflow after import.
Instructions
Import a workflow directly from a JSON string definition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Whether to activate the imported workflow | |
| workflowJson | Yes | JSON string representing the full workflow (nodes, connections, settings, name) |