Create daily outreach leads and Gmail drafts from Google Maps with Apify and Sheets
UnknownWhat this workflow does
This workflow has 26 nodes and runs on a schedule (cron 0 6 * * 1-5) (plus 1 other trigger). Along the way it connects Google Sheets, Gmail and Apify (community). It also calls googleapis.com over HTTP.
How it runs
Trigger: On a schedule (cron 0 6 * * 1-5) (plus 1 other trigger).
- Settings (Edit Fields (Set)): sets 7 fields: searches, cities, newPerDay…
- Find the Sheet by name (HTTP Request): calls googleapis.com
- Sheet exists? (If): checks a condition and branches into true / false
- Use the existing Sheet (Edit Fields (Set)): sets 2 fields: sheetId, sheetUrl
- Create the Sheet (first run) (Google Sheets): work with spreadsheet
- Write the header rows (HTTP Request): calls an HTTP API (POST)
- Read Leads tab (Google Sheets): uses Google Sheets
- Use the new Sheet (Edit Fields (Set)): sets 2 fields: sheetId, sheetUrl
- Known domains (Code): runs custom JavaScript code
- Google Maps search (Apify): run actor and get dataset (actors)
…plus 13 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Apify + Google Sheets templates (402) · Other Apify + Gmail templates (127)
HTTP calls to: googleapis.com
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 Google Maps search, Contact extractor (no API key), Email scraper for gaps).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Apify
@apify/n8n-nodes-apify.apify - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Filter
n8n-nodes-base.filter - Gmail
n8n-nodes-base.gmail - HTTP Request
n8n-nodes-base.httpRequest - No Operation, do nothing
n8n-nodes-base.noOp
From the author
Quick overview This workflow runs every weekday at 6 AM, scrapes Google Maps via Apify to find new businesses for rotating search-and-city pairs, logs them to Google Sheets, and creates Gmail drafts from your own template (never sent) using role-based inboxes…