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 Slack while keeping History and Leads tabs up to date.
How it works
- Runs every Monday at 08:00 (or manually) and validates the configured services, locations, Google Sheet URL, thresholds, and Slack settings.
- Uses Apify’s Google Local Services Ads Scraper actor to fetch advertiser listings for the selected trades and locations and collects provider rows from the resulting dataset.
- Loads the History tab from Google Sheets, assigns each advertiser a stable business key (LSA CID, phone, or domain), and marks listings as NEW, CHANGED, RETURNED, ACTIVE, or MISSING.
- Selects new and retryable advertisers with websites for auditing, groups them by domain, and processes them in batches using Apify’s Local Lead Audit actor.
- Scores and qualifies each advertiser using audit results plus LSA signals (reviews, rating, years), then categorizes them as High, Medium, Low, No Website, Failed, or Watch with a written reason.
- Upserts the latest per-advertiser state into the Google Sheets History and Leads tabs using businessKey to avoid duplicates and preserve progress across partial runs.
- Builds a weekly Slack digest and posts it only when there are new or newly upgraded High leads (or all High leads if configured), otherwise skips Slack.
Setup
- Install the verified community node
@apify/n8n-nodes-apify and add Apify credentials for the workflow’s Apify nodes.
- Create a Google Sheet with two tabs named History and Leads (or set custom names) and put
businessKey in cell A1 of both tabs, then add Google Sheets OAuth2 credentials.
- Add Slack credentials with permission to post messages and ensure the bot is invited to the target channel.
- Update the Settings values for
services, locations, sheetUrl, campaignKey, and slackChannel, and review limits like maxTotalChargeUsd, batch sizes, and scoring thresholds before activating.