Track and score Google LSA leads with Apify, Google Sheets and Slack
UnknownWhat this workflow does
This AI workflow has 46 nodes and runs on a schedule (every week at 08:00) (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Slack and 1 more.
How it runs
Trigger: On a schedule (every week at 08:00) (plus 1 other trigger).
- Set Campaign Settings (Edit Fields (Set)): sets 34 fields: services, locations, maxProvidersPerSearch…
- Validate Campaign Settings (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Find LSA Advertisers (Apify): run actor (actors)
- Stop on Invalid Settings (Stop and Error): stops the run with an error
- If: checks a condition and branches into true / false
- Fetch LSA Dataset Items (Apify): get items (datasets)
- Stop on Failed LSA Search (Stop and Error): stops the run with an error
- Collect LSA Provider Rows (Code): runs custom JavaScript code
- Read History from Sheets (Google Sheets): uses Google Sheets
…plus 28 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 Find LSA Advertisers, Fetch LSA Dataset Items, Audit Batch Websites).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Apify
@apify/n8n-nodes-apify.apify - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - No Operation, do nothing
n8n-nodes-base.noOp - Stop and Error
n8n-nodes-base.stopAndError - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs weekly to find Google Local Services Ads advertisers via Apify, compares results against a Google Sheets history to detect new and changed listings, audits eligible websites for lead quality, and posts a High-lead digest to…