π£ Qualify & auto-reply to leads with OpenAI, Airtable, and Gmail
β‘ 199 views Β· π£ Lead Generation & Enrichment
Description
π§ 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:
- Receives the submission through a Webhook
- Cleans and normalizes the input fields
- Uses the AI Agent node to score and qualify the lead
- Saves all details (including AI analysis) into an Airtable CRM
- Automatically routes high-quality leads (score β₯ 7)
- Sends an instant Gmail notification
- Sends an AI-generated personalized auto-reply back to the lead
This gives you a hands-free, intelligent front-door to your business β ensuring you only spend time on high-value opportunities.
βοΈ Set-up steps
These steps help users configure the workflow quickly:
-
Create a Webhook trigger
β Copy the webhook URL and add it to your form tool (Tally, Typeform, Webflow, etc.). -
Prepare your Airtable base
β Create a βLeadsβ table with fields for name, email, website, message, lead score, priority, use case, timeline, budget, and AI notes. -
Add the AI Agent node
β Insert the provided System + User prompts
β Enable Structured Output
β Paste the JSON Schema included in the sticky note inside the workflow. -
Connect Airtable
β Map the original form fields + AI Agent βoutputβ fields to Airtable columns. -
Set up the Gmail node
β Connect your Gmail account
β Configure the notification email and auto-reply templates. -
Configure the IF node
β Score β₯ 7 routes to the βHot Leadβ branch
β Everything else is captured but not routed. -
Run a test submission
β Verify that the workflow writes to Airtable
β Confirm the Gmail notification + auto-reply are delivered
β Adjust prompting if needed.
All detailed explanations and prompt configurations are included inside the workflow through sticky notes for easy reference.
π Nodes Used
Airtable, Slack, Gmail, Gmail Trigger, WhatsApp Business Cloud, AI Agent
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File