ParishSynthMind

n8n AI Lead Pipeline — Data skill for Claude Code

Data community

Production-style n8n lead pipeline: webhook intake, validation, dedupe, Claude Hot/Warm/Cold rating with retry and safe fallback, HubSpot upsert, Google Sheets log, Slack alert, Gmail welcome, error a.

How to install n8n AI Lead Pipeline

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ParishSynthMind/n8n-ai-lead-pipeline and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What n8n AI Lead Pipeline does

Production-style n8n lead pipeline: webhook intake, validation, dedupe, Claude Hot/Warm/Cold rating with retry and safe fallback, HubSpot upsert, Google Sheets log, Slack alert, Gmail welcome, error alert workflow. Tested live.

Alternatives in Data

  • n8n Workflow Patterns — Workflow patterns for webhook, HTTP, database, and AI tasks 3.6k ★
  • Jev Cookbook — Practical, tested recipes for TypeSafe's Jev decision model on OpenRouter: support triage, database indexing 28 ★
  • Duckdb Claude Slack — A Slackbot built on DuckDB & Claude Code that answers data questions from Slack 16 ★

README

n8n AI Lead Pipeline

A production-style n8n workflow for inbound leads. A web form posts to a webhook, the lead is validated and de-duplicated, Claude rates it Hot, Warm or Cold with a one-line reason, and then the contact is upserted in HubSpot, logged to a Google Sheet, a Slack alert goes out for Hot leads, and the lead gets a welcome email. A separate error workflow emails the team if any step fails.

**Added 3 November 2026:** a second lead source and two more destinations. Leads from **Facebook / Instagram Lead Ads** forms arrive by Meta webhook (handshake and signature checked), are fetched from the Graph API and fed into the same validation and Claude rating. Every rated lead can also be written to **Zoho CRM** (a Lead, created or updated by email, with the AI rating in custom fields) and to a **Notion** database (one row per lead, updated rather than duplicated). See [Facebook Lead Ads, Zoho CRM and Notion](#facebook-lead-ads-zoho-crm-and-notion).

![Cloud execution of a Hot lead: every node green, from webhook through Claude to HubSpot, Sheets, Slack and Gmail](media/cloud-execution.png)

*A real run on n8n Cloud: the lead is validated, de-duplicated, rated Hot by Claude, upserted to HubSpot, logged to Google Sheets, posted to Slack and sent a welcome email. Screenshots of each destination are under [Tested live](#tested-live).*

How it works

flowchart LR
    FB[Meta Lead Ads webhook
/webhook/fb-lead-ads] --> FB2[Verify signature,
dedupe leadgen_id,
Graph API fetch] --> A A[Web form POST
/webhook/lead-intake] --> B[Config] B --> C[Validate and
normalise] C -->|invalid| R1[400 + list of errors] C -->|valid| D[Dedupe by email
across executions] D -->|seen before| R2[200 duplicate] D -->|new| R3[202 accepted] R3 --> E[Claude rates lead
strict JSON schema] E -->|bad or failed answer| F[Retry once with
the error explained] F -->|still bad| G[Fallback: Warm +
needs review]