π£ Triage and enrich contact form leads, log to Sheets, and notify via Gmail
β‘ 3 views Β· π£ Lead Generation & Enrichment
π‘ Pro Tip β For lead enrichment, ScraperNode can pull LinkedIn profiles, company data, and job listings directly into your pipeline β useful for building prospect lists without manual research.
Description
Quick Overview
This workflow receives website contact form submissions via a webhook, logs the details to Google Sheets, generates a branded HTML notification, and sends the submission to a specified recipient using Gmail.
How it works
- Receives a contact form submission through an HTTP POST webhook.
- Sets the workflowβs notification recipient email used for alerts.
- Appends the submission fields (Date, Time, Name, Email, Phone, Message) to a Google Sheets spreadsheet.
- Builds a branded HTML email body from the submitted form data.
- Sends the formatted notification email via Gmail, using the submitterβs email as the Reply-To address.
Setup
- Copy the webhook URL from n8n and configure your contact form to POST submissions to it with the expected fields (Date, Time, Name, Email, Phone, Message).
- Add Google Sheets credentials and replace
YOUR_SPREADSHEET_ID(and sheet name if needed) so the workflow can append rows. - Add Gmail credentials and set the
notificationEmailvalue to the address that should receive the alerts. - Update the email branding values in the HTML generator (logo URL, brand name/website, and colors) to match your company.
π Nodes Used
Google Sheets, HTTP Request, Webhook, Gmail, Basic LLM Chain, Structured Output Parser
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File