DEV Community

Caelum
Caelum

Posted on

Capture Every Lead Automatically: n8n + Google Sheets (No Code)

Every lead that never makes it into a spreadsheet is a sale you forgot to follow up. It happens all the time: a form submission sits in an inbox, a DM goes unanswered, a webhook fires into the void. The fix is a 30-minute automation — n8n catches the lead the second it arrives and writes it to Google Sheets. No code, no monthly SaaS fee for a lead-capture tool.

This is the same setup I ship to clients, and the same one I sell as a ready-made template (link at the end). Here's how to build it yourself.

What you need

  • An n8n instance — n8n Cloud (free trial) or self-hosted on a $5 VPS
  • A Google account with access to Google Sheets
  • A form, a website, or any tool that can send a webhook (Typeform, a contact form, a landing page, even a chatbot)
  • About 30 minutes

Step 1: Create the sheet first

Before touching n8n, make the spreadsheet. One row per lead, one column per field you care about: name, email, phone, source, message, and a timestamp. Add a header row — n8n maps fields to columns by header name, so name them exactly: Name, Email, Phone, Source, Message, Received At.

Resist the urge to add twenty columns. Six is enough to follow up well, and you can always add more later.

Step 2: Catch the lead with a webhook

In n8n, create a workflow starting with a Webhook node (POST). n8n gives you a URL — paste it into your form's webhook setting, or into your landing-page tool as the submission endpoint.

Submit a test lead and watch the payload arrive in n8n. If nothing arrives, the URL or the form's webhook setting is wrong. Nothing else in this guide works until this step does.

Step 3: Clean the data before it lands

Raw form data is messy — extra spaces, mixed case, empty fields. Add a Set node to normalize it: trim the name and email, lowercase the email, and set Source to a fixed value like "Website form" so you always know where a lead came from.

Add a timestamp here too. Use n8n's date expression ({{ $now }}) so every row has the exact moment the lead arrived — not the moment you finally opened the sheet.

Step 4: Write the row to Google Sheets

Connect your Google account in the Google Sheets node (OAuth takes two minutes, and n8n walks you through it), pick your spreadsheet, and map each field to its column. Run a test: submit a lead, check the sheet, confirm a new row appeared with the right values in the right columns.

One thing to verify: the node should append rows, not overwrite. Appending keeps every lead; overwriting keeps only the last one, and that mistake is only discovered after you've lost a week of leads.

Step 5: Add a notification so leads don't sit unread

A sheet nobody checks is only slightly better than an inbox nobody checks. Add a second branch after the Webhook node: a Telegram or Email node that sends you a one-line alert — "New lead: Sarah, sarah@example.com, via Website form."

Keep the alert short. Its only job is to make you open the sheet.

Step 6: Deduplicate (the step everyone skips)

The same person will submit your form twice — once curious, once serious. Without deduplication your sheet slowly fills with doubles and your follow-up looks sloppy.

The simple version: before writing the row, have n8n look up the email in the sheet. If it exists, update that row instead of adding a new one. n8n's Google Sheets node has a lookup operation for exactly this. It adds one node and saves you from embarrassing double replies.

What this costs to run

  • n8n Cloud: from $20/month, or ~$5/month self-hosted
  • Google Sheets: free
  • The webhook source (your form): whatever you already pay

No per-lead fee, no seat pricing. Compared with lead-capture tools that charge $30–$100/month, this pays for itself in the first month.

Common mistakes

  1. No timestamp. Without one, you can't tell a hot lead from a three-week-old one.
  2. Overwriting instead of appending. Check the operation mode before going live.
  3. No dedupe. Duplicate rows lead to duplicate follow-ups.
  4. No alert. The sheet is a record, not a reminder — add the notification branch.
  5. Collecting fields you never use. Every extra field costs conversions. Name, email, source, message — start there.

Want it ready-made?

If you'd rather skip the setup, I sell this exact workflow as an import-ready n8n template — webhook in, clean row in Google Sheets, dedupe included — for $19: https://storyteller707.gumroad.com/l/twmbg

And if you want the whole thing built and connected for you — lead capture, WhatsApp replies, follow-up flows — I build n8n and Make automations as a service on Fiverr:

Related reading: my step-by-step guide to building a WhatsApp AI assistant with n8n and OpenAI (no code): https://dev.to/caelum7/build-a-whatsapp-ai-assistant-with-n8n-and-openai-no-code-9p1

Questions about the setup? Drop them in the comments — I answer every one.

Top comments (1)

Collapse
 
nimbryxo-studio profile image
Nimbryxo-studio •

Hard-code "Website form" and a reused workflow will credit the website for leads that came from somewhere else.