Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/n8n v2/Execute-sub-workflow-issues
Reference · n8n v2

Execute-sub-workflow-issues

Part of n8n v2. Install the skill and your agent reads this page when it needs the depth.

Execute Workflow Node Issues

Node Naming Clarification

Important: In n8n v2.0+, the Execute Workflow node:

This is NOT an error: Having "type": "n8n-nodes-base.executeWorkflow" in your JSON is correct for v2.0.

The Problem

When importing workflows via JSON, Execute Workflow nodes sometimes show an error after import.

Error message: "This node is out of date. Please upgrade by removing it and adding a new one"

When this happens:

When this does NOT happen:

Why This Happens

The Execute Workflow node configuration structure can become incompatible during import/export cycles, especially:

Solution

If you see the "out of date" error after importing:

  1. Import the workflow JSON (Execute Workflow nodes may show errors)
  2. Delete the old Execute Workflow nodes showing errors
  3. Add fresh "Execute Sub-Workflow" nodes from the node palette (they use the same executeWorkflow type)
  4. Select "Database" as source
  5. Choose the target workflow from the dropdown

Best Practice

When creating workflow JSON files for import:

Identifying Execute Workflow Nodes in JSON

Correct node structure in v2.0:

{
  "parameters": {
    "source": "database",
    "workflowId": "={{ $('Select Workflow').item.json.workflowId }}"
  },
  "name": "Execute Sub-Workflow",
  "type": "n8n-nodes-base.executeWorkflow",
  "typeVersion": 1,
  "position": [820, 300]
}

Key points:

When to Recreate These Nodes

Recreate only if:

Do NOT recreate if:

See Also

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.