Reply to contact form leads via Gmail and Google Sheets using OpenAI GPT-4o mini
Ready for 3.0What this workflow does
This AI workflow has 5 nodes and runs when someone submits an n8n form (“Contact Us”). Along the way it connects OpenAI Chat Model, Gmail and Google Sheets.
How it runs
Trigger: When someone submits an n8n form (“Contact Us”).
- Prepare Email Reply (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-4o Mini
- Send Email via Gmail (Gmail): uses Gmail
- Append to Google Sheets (Google Sheets): append
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow triggers on n8n form submissions, uses OpenAI (GPT-4o mini) to draft a short acknowledgment email, sends the auto-reply through Gmail, and appends the submission details to a Google Sheets spreadsheet. How it works 1. Triggers…