Streamline lead intake and AI routing using Typeform, OpenAI & Gmail
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 11 nodes and runs on Typeform events. Along the way it connects Typeform, Airtable, Gmail and OpenAI and 1 more.
How it runs
Trigger: On Typeform events.
- Sanitize Lead Data (Code): runs custom JavaScript code
- Create a record (Airtable): create
- AI Lead Analyzer (OpenAI): uses OpenAI
- Merge: merges the data from its input branches
- Route by Category (Switch): routes items into 4 branches
- Send a message (Gmail): uses Gmail
- Send a message (Gmail): uses Gmail
- Send a message (Gmail): uses Gmail
- Send a message (Gmail): uses Gmail
- Send a message (Discord): work with message
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.
Nodes used (8)
- Typeform Trigger
n8n-nodes-base.typeformTrigger - Airtable
n8n-nodes-base.airtable - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Merge
n8n-nodes-base.merge - Switch
n8n-nodes-base.switch - Discord
n8n-nodes-base.discord
From the author
How it works This workflow captures new form submissions, cleans the data, and stores it securely before applying AI-based lead qualification. It analyzes each message to assign category, score, and priority. Based on this classification, leads are routed to…