Qualify & auto-reply to leads with OpenAI, Airtable, and Gmail
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs when someone submits an n8n form (“Leads Form”) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Airtable, Slack and WhatsApp Business Cloud and 1 more.
How it runs
Trigger: When someone submits an n8n form (“Leads Form”) (plus 1 other trigger).
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
- If: checks a condition and branches into true / false
- Create a record (Airtable): create
- Basic LLM Chain: sends a prompt to an LLM, with model: OpenAI Chat Model
- Quality Leads Based On Score (If): checks a condition and branches into true / false
- Create a draft (Gmail): work with draft
- Send a message (Gmail): uses Gmail
- Send a message (Slack): uses Slack
- Send message (WhatsApp Business Cloud): send
Services it uses
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.
- Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Nodes used (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Airtable
n8n-nodes-base.airtable - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Gmail
n8n-nodes-base.gmail - Gmail Trigger
n8n-nodes-base.gmailTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
🧠 How it works This workflow turns your website form into a fully automated AI Lead Qualification system. Whenever a new lead submits your form, the workflow: 1. Receives the submission through a Webhook 2. Cleans and normalizes the input fields 3. Uses the…