Templates / Capture and deduplicate website leads in Google Sheets with Slack alerts

Capture and deduplicate website leads in Google Sheets with Slack alerts

Ready for 3.0

by eason ✓ · 1 views · created 2026-08-02 · Lead Generation

Ready 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-10-19.

What this workflow does

This workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Normalize Lead Data (Code): runs custom JavaScript code
  2. Check Lead Validity (If): checks a condition and branches into true / false
  3. Acknowledge Valid Lead (Respond to Webhook): sends the response back to the webhook caller
  4. Reject Invalid Lead (Respond to Webhook): sends the response back to the webhook caller
  5. Search Lead in Sheets (Google Sheets): uses Google Sheets
  6. Classify Lead as New or Returning (Code): runs custom JavaScript code
  7. Check If Lead is New (If): checks a condition and branches into true / false
  8. Add New Lead to Sheets (Google Sheets): append
  9. Update Lead in Sheets (Google Sheets): append or update
  10. Notify New Lead in Slack (Slack): uses Slack

Services it uses

Google SheetsSlack

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.

Nodes used (6)

From the author

Quick overview This workflow receives website lead submissions via a webhook, normalizes and validates the fields, prevents duplicate rows by matching on email in Google Sheets, and posts a Slack alert only when a genuinely new lead is captured. How it works…

Excerpt from eason's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.