Find and pitch local business leads with Apify, Firecrawl, OpenAI, Gmail, Sheets and Slack
Ready for 3.0What this workflow does
This AI workflow has 39 nodes and runs when someone submits an n8n form (“Local Business Lead Machine”) (plus 2 other triggers). Along the way it connects Slack, Google Sheets, Gmail and OpenAI Chat Model. It also calls api.apify.com and api.firecrawl.dev over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Local Business Lead Machine”) (plus 2 other triggers).
- Build Apify Input (Code): runs custom JavaScript code
- Config (Code): runs custom JavaScript code
- Slack: uses Slack
- Apify - Scrape Google Maps (HTTP Request): calls api.apify.com (POST)
- Get Approved Leads (Google Sheets): uses Google Sheets
- Normalize & Dedupe (Code): runs custom JavaScript code
- Has Email? (Filter): keeps only the items that match a condition
- Got Results? (If): checks a condition and branches into true / false
- Daily Cap (20) (Limit): keeps the first few items
- Fetch Website (HTTP Request): calls an HTTP API
…plus 24 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apify.com, api.firecrawl.dev
Uses Firecrawl. New users get 10% off with our link.
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 (17)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Wait
n8n-nodes-base.wait - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Filter
n8n-nodes-base.filter - Limit
n8n-nodes-base.limit - Error Trigger
n8n-nodes-base.errorTrigger - Gmail
n8n-nodes-base.gmail - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Quick overview This workflow collects local business leads from Google Maps via Apify, audits each website using HTTP requests and Firecrawl, scores opportunities, generates outreach copy with OpenAI, saves results to Google Sheets, posts summaries to Slack,…