Clean and deduplicate lead lists and export a review CSV file
Ready for 3.0Ready 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.
What this workflow does
This workflow has 6 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Edit lead list and rules (Edit Fields (Set)): sets or maps fields
- Validate lead list (Code): runs custom JavaScript code
- Normalize contact fields (Code): runs custom JavaScript code
- Classify duplicates and review rows (Code): runs custom JavaScript code
- Export lead review CSV (Convert to File): converts data to a file (csv)
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.
Nodes used (4)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Convert to File
n8n-nodes-base.convertToFile
From the author
Quick overview This workflow takes a JSON lead list, normalizes email and website fields, validates basic email syntax, flags duplicates by email or domain, and exports a CSV review file with an accepted/duplicate/review status for each row. How it works 1.…