Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

n8n 3.0 removes the Function node, and published workflows stop activating

说明与用途

升级到 n8n 3.0 后,使用已删除节点的已发布工作流会自动停用,导致触发器停止工作。迁移过程包括将 Function 和 Function Item 节点替换为 Code 节点,测试、发布,然后升级到 3.0。

问题

Published n8n workflows that use removed nodes become inactive after upgrading to 3.0, causing triggers to stop firing without any error notification.

结果

After following the migration steps, workflows that previously used removed nodes are re‑activated in n8n 3.0, restoring trigger functionality and preventing silent failures.

工作流

  • 1. Open Settings → Migration Report to list affected workflows and nodes.
  • 2. If on a version older than 2.39, upgrade to 2.39 first to generate the report.
  • 3. Export workflows via /api/v1/workflows or CLI and search for legacy node identifiers.
  • 4. Create a migration plan listing workflow name, node, and purpose.
  • 5. Replace Function nodes with Code nodes (Run Once for All Items) and Function Item nodes with Code nodes (Run Once for Each Item).
  • 6. Test each migrated workflow manually on 2.x, verify output shape, then publish.
  • 7. Upgrade to n8n 3.0 with a backup, noting that rollback is not possible.
  • 8. After upgrade, review the workflow list and check the active toggle for every workflow to ensure none are inactive.

证据

Workflows that use a removed node fail when they run. If such a workflow is published, it doesn't activate when n8n 3.0 starts, so its triggers stop firing.

来源

The Function to Code conversion is the only real work, because the execution model changes:…

来源

Open the workflow list and look at the active toggle on every workflow, not only the ones you migrated.

来源

  • 记录日期: 2026-11-01T21:43:57.184Z