Send yourself AI-drafted website lead replies with OpenAI and Gmail
Ready for 3.0What this workflow does
This workflow has 5 nodes and runs when someone submits an n8n form (“Get in touch”). Along the way it connects Gmail. It also calls api.openai.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Get in touch”).
- Your business details (Edit Fields (Set)): sets 7 fields: businessName, services, serviceArea…
- Write reply with OpenAI (HTTP Request): calls api.openai.com (POST)
- Build alert email (Code): runs custom JavaScript code
- Email me the lead (Gmail): uses Gmail
Services it uses
HTTP calls to: api.openai.com
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 - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow captures website enquiries via an n8n Form, uses OpenAI to draft a first reply in your business voice, and sends you a Gmail alert containing the lead details, the suggested response, and a one-click mailto link to reply manually.…