Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Lead Generation & Enrichment

Lead Generation & Enrichment

Save website form leads to Google Sheets and send Gmail auto-replies

Receives website form submissions via webhook, validates required fields, appends valid leads to a Google Sheet, sends a Gmail thank-you and returns 400 errors for invalid input.

What it does

## How it works 1. Form Webhook receives a POST from your website form (JSON or form-encoded: name, email, phone, message, source). 2. Clean & Validate trims fields, lowercases the email and checks required fields. 3. Valid? routes the lead: - valid -> Respond OK (200) to the form, Save to Google Sheet appends the lead, Auto-reply (Gmail) sends an instant thank-you email. - invalid -> Respond Error (400) with the validation errors.

The steps

  1. Form Webhook
  2. Clean & Validate
  3. Valid?
  4. Respond OK
  5. Save to Google Sheet
  6. Auto-reply (Gmail)
  7. Respond Error

Similar automations