Templates / Build CMS import rows and collision-safe redirects from a legacy CSV upload

Build CMS import rows and collision-safe redirects from a legacy CSV upload

Ready for 3.0

by Egor Adonev · 0 views · created 2026-08-07 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when someone submits an n8n form (“CMS migration redirect map”). It uses only n8n's built-in nodes.

How it runs

Trigger: When someone submits an n8n form (“CMS migration redirect map”).

  1. Extract CSV Records (Extract from File): extracts data from a file (csv)
  2. Set CMS Migration Rules (Edit Fields (Set)): sets or maps fields
  3. Normalize Source URLs (Code): runs custom JavaScript code
  4. Generate Safe Slugs (Code): runs custom JavaScript code
  5. Prepare Import Rows (Code): runs custom JavaScript code
  6. Check Import Status (If): checks a condition and branches into true / false
  7. Package CMS Imports (Code): runs custom JavaScript code
  8. Package CMS Review (Code): runs custom JavaScript code
  9. Merge: merges the data from its input branches
  10. Return Migration Map (Code): runs custom JavaScript code

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (6)

From the author

Quick overview This workflow uses an n8n Form to upload a legacy content CSV, normalizes source URLs and slugs, generates collision-safe destination slugs, and outputs CMS import rows plus a 301 redirect map with diagnostics for collisions and rejected…

Excerpt from Egor Adonev's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.