DeepSeek Lead Scoring n8n Workflow: Webhook β Gmail Routing
DeepSeek Lead Scoring n8n Workflow: Webhook β Gmail Routing
Regular price
Β£15.99
Regular price
Β£15.99
Sale price
Unit price
/
per
β¬
Instant Digital Download
β
Unlimited Downloads
β
Lifetime Access in Your Account
Couldn't load pickup availability
π₯
128+ Sold
Popular with n8n builders
β‘
23 people viewing
High interest right now
β
9 added today
Fast-moving digital product
DeepSeek Lead Scoring n8n Workflow: Webhook β Gmail Routing
Regular price
Β£15.99
Regular price
Β£15.99
Sale price
Unit price
/
per
Instant DeepSeek Lead Scoring in n8n β Webhook Intake to Gmail Routing
Capture new lead submissions with a webhook, have DeepSeek score each lead from 1 to 100, automatically prevent duplicate processing with an n8n Data Table, and route approvals via Gmailβall inside an n8n workflow.
What this workflow does
This DeepSeek Lead Scoring n8n workflow follows a clear pipeline:
- Webhook intake: Receives a lead submission via a POST webhook (raw_client_input plus selected_service).
- Normalization + deduplication: Generates a deterministic lead_unique_id, then checks an n8n Data Table to skip leads already processed.
- Audit + enrichment: Upserts the lead into the Data Table as an audit record, then sends the submission to the DeepSeek Chat Completions API to return structured fields and a priority_score (1β100).
-
Decision routing: Uses a three-way switch based on priority_score:
- High scores β sends an approval email to one Gmail destination.
- Mid scores β sends a fast-track approval email to another Gmail destination.
- Low scores β sends a polite decline email.
- Approval handling: Receives an approval click via a second webhook, validates the decision, appends the approved lead to a Google Sheets fulfillment spreadsheet, and returns an HTML confirmation page.
- Failure alerting: If the DeepSeek request fails, sends a critical alert email via Gmail for troubleshooting.
Use cases
- Score inbound form leads and route them to the right sales approvals automatically.
- SaaS operators needing deterministic lead deduplication and audit trails with n8n Data Table.
- Automation engineers deploying a webhook-to-LLM scoring workflow with Gmail decision routing.
Technical details
- Nodes/logic: webhook, data table (dedupe + audit), code/if, switch (priority routing), gmail, and a approval webhook flow.
- LLM scoring: DeepSeek Chat Completions API returning structured fields and a 1β100 priority_score.
- Storage: Google Sheets fulfillment spreadsheet for approved leads; Data Table for processed-lead tracking.
