import_template
Create a new n8n workflow from a template, resolving node and credential dependencies automatically.
Instructions
Import template as new workflow with dependency resolution
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"templateId": "<templateId>"
},
"name": "import_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateId | Yes | Template ID to import | |
| importInactive | No | Import as inactive workflow (default: true) | |
| credentialMapping | No | Map template credential IDs to existing credentials | |
| skipNodeValidation | No | Skip checking if nodes exist (advanced) |