See llms.txt for all machine-readable content.

Back to Templates

Track and score Google LSA leads with Apify, Google Sheets and Slack

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

  1. Runs every Monday at 08:00 (or manually) and validates the configured services, locations, Google Sheet URL, thresholds, and Slack settings.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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

  1. Install the verified community node @apify/n8n-nodes-apify and add Apify credentials for the workflow’s Apify nodes.
  2. 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.
  3. Add Slack credentials with permission to post messages and ensure the bot is invited to the target channel.
  4. Update the Settings values for services, locations, sheetUrl, campaignKey, and slackChannel, and review limits like maxTotalChargeUsd, batch sizes, and scoring thresholds before activating.