AI AGENTS + AUTOMATION + CONNECTED PRODUCTSSanta Monica, CA · Islamabad · Clients worldwide ENESPTAR
Free n8n template

Website lead capture template for n8n

Send every website form submission to Google Sheets, skip bad emails, update returning contacts instead of duplicating them and get an instant email alert.

Download the n8n JSON

Free to use and modify. In n8n: Workflows → Import from file, then add your credentials. No sign-up needed.

How it works

  1. Your form posts name, email, company and message to the webhook.
  2. Fields are trimmed and the email is lower-cased.
  3. Invalid emails get a 422 response and are not saved.
  4. Valid leads are appended, or updated when the email already exists.
  5. You get an email alert with the lead details.
  6. The form receives a JSON success response.

Nodes used

  • Webhook
  • Edit Fields (Set)
  • IF (email check)
  • Google Sheets append or update
  • Gmail
  • Respond to Webhook

Set it up in 10 minutes

  1. Connect Google Sheets and Gmail.
  2. Create a Leads sheet with columns: name, email, company, message, received_at.
  3. Paste the sheet URL and set your alert email address.
  4. Point your website form’s action (or fetch request) at the production webhook URL.

Good to know

Want leads to go straight into HubSpot, Pipedrive or Zoho instead? Swap the Google Sheets node for your CRM node.

Want it production-ready?

Templates are a starting point. For a live business process we add error handling, retries, monitoring, human approval for sensitive actions and documentation, and connect it to your real systems. See our service page or browse all templates.

Chat on WhatsApp