Validate and reconcile CRM lead CSV imports with built-in tools
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 conflicts.
How it works Receives a CSV file upload through an n8n form. Parses the CSV into structured lead records. Applies the configured policy (required fields and identity/duplicate keys) and normalizes name, email casing, and phone formatting. Validates each lead for missing required fields and basic email format, separating valid records from rejected rows with reason codes. Reconciles duplicates by grouping on email or phone, filling missing fields from duplicates while recording any non-empty field disagreements as conflicts. Returns an audit package marked as either ready for import (no rejects or conflicts) or review required, including accepted leads, rejected leads, conflict details, and summary counts.
Setup Update the field names and rules in the lead-quality configuration (required fields, email field, phone field, and duplicate keys) to match your CSV headers. Use the generated form URL to upload a representative lead CSV file when testing. Review the output payload and use only the accepted lead list for your downstream CRM import when the status is ready (or resolve conflicts/rejections when review is required).
Related Templates
Verify Linkedin Company Page by Domain with Airtop
Automating LinkedIn Company URL Verification Use Case This automation verifies that a given LinkedIn URL actually belo...
Create a Speech-to-Text API with OpenAI GPT4o-mini Transcribe
Description This template provides a simple and powerful backend for adding speech-to-text capabilities to any applicat...
Build a Restaurant Voice Assistant with VAPI and PostgreSQL for Bookings & Orders
This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reser...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments