Automation · Lead Operations

One prospect, one record: reliable lead intake and deduplication.

A prospect submits a form three times. Will your CRM count three opportunities? I built an 11-node n8n workflow to validate incoming leads, support duplicate prevention and make failed submissions visible.

2026Workflow architecture and implementation
n8n workflow showing webhook intake, validation, CRM delivery and error routes.
n8n workflow showing webhook intake, validation, CRM delivery and error routes.
At a glance

I built an 11-node n8n workflow to check new leads, help prevent repeated records and show when a CRM request fails.

11Workflow nodes
Event IDDuplicate-prevention key
SyntheticValidation tests
The challenge

What needed to work better?

Duplicate records can waste sales time and distort reporting. Incomplete submissions and silent CRM failures can also leave potential customers without follow-up.

The work

What I worked on.

  • Created a webhook entry point for new leads and validated event IDs to support duplicate prevention.
  • Added steps to normalise and validate the submitted information.
  • Routed valid submissions toward a CRM API.
  • Provided separate paths for successful responses and exceptions.
A closer look

See the system.

n8n workflow showing webhook intake, validation, CRM delivery and error routes.
n8n workflow showing webhook intake, validation, CRM delivery and error routes.

Start with the sales problem

A form submission is the start of a sales process. If the same person submits three times, the team may call the same person more than once. If a field is missing, the sales team may not know how to reach the person. A failed CRM request can leave an interested person waiting.

I designed the workflow around a clear entry point, a validation stage and a separate response for success or failure.

How the system works

A webhook receives the incoming data. A JavaScript step prepares and checks fields, including an event ID. Valid data can move to the CRM API. Invalid submissions or failed API calls follow an exception path. The normal path and the error path remain visible.

The event ID helps a receiving system recognise a submission it has seen before. True duplicate prevention needs a permanent record or unique constraint in that system. Rechecking a value inside one workflow run cannot guarantee that separate runs never create two records.

What has been tested

Selected validation rules passed synthetic tests. The source repository contains the workflow and test notes. I have not established a complete CRM delivery test, persistent deduplication or a retry test against a real service.

For production, I would test repeated submissions, missing fields, invalid identifiers, API timeouts and simultaneous requests. I would also define who owns a failed record and how to confirm a retry succeeds.

Why this matters commercially

A clean lead list helps sales teams spend time on genuine opportunities. I would track duplicate rate, rejected submissions, successful CRM writes, time to resolve failures and the share of leads contacted. Those measures would show whether the workflow reduces rework or improves follow-up.

The outcome

What came out of the work?

An 11-node workflow with validation and explicit success or failure routes. Selected validation logic passed synthetic tests. Persistent deduplication requires the receiving system to enforce event IDs; CRM writes, retries and end-to-end delivery still require integration testing. No measured revenue or time savings are claimed.

Why it matters

The bigger picture.

Cleaner lead records can help sales professionals spend less time resolving duplicates and more time speaking with customers and generating revenue.

Could a similar approach help your business?

Tell me about your project, where the work gets stuck and what a better result would look like.