Templates / Validate and reconcile CRM lead CSV imports with built-in tools

Validate and reconcile CRM lead CSV imports with built-in tools

Ready for 3.0

by Egor Adonev · 1 views · created 2026-07-28 · Lead Generation

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-10-19.

What this workflow does

This workflow has 11 nodes and runs when someone submits an n8n form (“CRM lead import quality gate”). It uses only n8n's built-in nodes.

How it runs

Trigger: When someone submits an n8n form (“CRM lead import quality gate”).

  1. Extract CSV records (Extract from File): extracts data from a file (csv)
  2. Configure lead quality rules (Edit Fields (Set)): sets or maps fields
  3. Normalize lead identity fields (Code): runs custom JavaScript code
  4. Validate lead contactability (Code): runs custom JavaScript code
  5. Reconcile duplicate leads (Code): runs custom JavaScript code
  6. Check result status (If): checks a condition and branches into true / false
  7. Package import-ready lead batch (Code): runs custom JavaScript code
  8. Package lead review report (Code): runs custom JavaScript code
  9. Merge: merges the data from its input branches
  10. Return CRM lead audit (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.

Nodes used (6)

From the author

Quick overview This workflow accepts a lead CSV upload via an n8n form, normalizes name/email/phone fields, validates required contact details, and reconciles duplicates into a single audit output showing accepted leads, rejected rows, and field-level…

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.