Send GPT-4o follow-up emails to leads and detect replies with Gmail
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Gmail, Slack and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Configure Variables (Edit Fields (Set)): sets 9 fields: senderName, senderEmail, companyName…
- Generate First Follow-Up Email (AI Agent): runs an AI agent, with model: OpenAI Model
- Send First Follow-Up Email (Gmail): uses Gmail
- Wait: pauses before continuing
- Check for Lead Reply (Gmail): get many
- Did Lead Reply? (If): checks a condition and branches into true / false
- Notify Team of Reply (Slack): uses Slack
- Generate Second Follow-Up Email (AI Agent): runs an AI agent, with model: OpenAI Model
- Log Reply Status to Sheet (Google Sheets): append
- Send Second Follow-Up Email (Gmail): uses Gmail
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 (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if
From the author
Who It's For Sales teams, agencies, and service businesses that follow up with inbound leads via email and want to automate the entire sequence without losing the personal touch. How It Works 1. Webhook receives the new lead form submission 2. Configure…