Generate and research sales leads with Jina AI & OpenAI email automation via Gmail
Needs changesWhat this workflow does
This AI workflow has 30 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Airtable, OpenAI Chat Model and Gmail.
How it runs
Trigger: On a schedule (every day) (plus 1 other trigger).
- Business_Info (Edit Fields (Set)): sets or maps fields
- Jina_API_Key (Edit Fields (Set)): sets or maps fields
- Get input records (Airtable): uses Airtable
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Lead Person Research (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- Lead Analyzer (AI Agent): runs an AI agent, with model: OpenAI Gpt-5-mini; output parser: Structured Output Parser
- Update record (Airtable): uses Airtable
- Wait: pauses before continuing
…plus 8 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Airtable templates (215) · Other Airtable + Gmail templates (133)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Lead Analyzer (v1.6), Email Content Creator (v1.7), Email Content Re-writer (v1.7)…: replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Lead Analyzer (v1.6), Email Content Creator (v1.7), Email Content Re-writer (v1.7), Evaluator (v1.7), Format HTML (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (14)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Merge
n8n-nodes-base.merge - Wait
n8n-nodes-base.wait - Airtable
n8n-nodes-base.airtable - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Who’s it for Generate personalized sales leads, ready-to-send, HTML-formatted emails, and send them automatically. This workflow is ideal for sales professionals, marketers, and business development teams aiming to scale their outreach. By automating the…