Triage and enrich contact form leads, log to Sheets, and notify via Gmail

Go to Workflow
0 views
Built by AI Solutions AI Solutions
Created on August 18, 2026

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 notificationEmail value 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 (8)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
Perplexity
n8n-nodes-base.perplexity
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured