Restaurant lead generation from Google Maps with Apify, Airtable & AI newsletter
UnknownWhat this workflow does
This AI workflow has 15 nodes and runs when someone submits an n8n form (“Select Location”). Along the way it connects OpenAI Chat Model, Gmail, Airtable and Apify (community).
How it runs
Trigger: When someone submits an n8n form (“Select Location”).
- Run an Actor (Apify): uses Apify
- If: checks a condition and branches into true / false
- Get dataset items (Apify): work with datasets
- Extract Essentials (Edit Fields (Set)): sets 8 fields: title, categoryName, Average Price…
- Sort: sorts the items
- Reviews > (If): checks a condition and branches into true / false
- Lead Creator (Airtable): create
- Group Essentials (Edit Fields (Set)): sets 1 field: Restaurant_Data
- Aggregate: combines items into one
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Run an Actor, Get dataset items).
Nodes used (12)
- Apify
@apify/n8n-nodes-apify.apify - If
n8n-nodes-base.if - No Operation, do nothing
n8n-nodes-base.noOp - Aggregate
n8n-nodes-base.aggregate - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail - n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Sort
n8n-nodes-base.sort - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Airtable
n8n-nodes-base.airtable
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. 🚀 Automating Google Maps Lead Generation with n8n + Apify Finding quality leads can be time-consuming. What if you could scrape restaurant data from Google…