Quick overview
This workflow runs every Monday and uses Apify to pull active Meta Ads Library ads and recent Google Ads Transparency ads for a list of competitors, uses OpenAI to extract hooks/offers and summarize weekly changes, stores results in Google Sheets, and emails the brief via Gmail.
How it works
- Runs every Monday at 9am and loads your competitor list and limits (country/region, ad caps, and long-runner thresholds).
- Fetches active Meta ads for all competitors with a Facebook Page using Apify’s Facebook Ads Library Scraper and normalizes the results, continuing even if the read fails.
- Fetches Google ads shown in the last 7 days for all competitors with a website using Apify’s Google Ads Transparency Scraper and normalizes the results, continuing even if the read fails.
- Reads the existing Ads and Briefs tabs from Google Sheets and classifies each ad as new, running, or stopped based on what was seen this week.
- Selects new ads and long-running unread ads, then uses OpenAI (with image + text when available, otherwise text-only) to extract a short hook and offer for each chosen ad.
- Uses OpenAI to summarize each competitor’s key angles and what shifted versus last week, then builds a combined brief (text and HTML) including notices about failed/capped reads.
- Updates the Ads tab (append or update by key), appends competitor rows to the Briefs tab in Google Sheets, and sends the HTML brief via Gmail (with optional disabled Slack/Telegram/Discord/Microsoft Teams outputs).
Setup
- Add an Apify API token as an HTTP Query Auth credential (name it
token) and select it in both Apify HTTP Request steps for Meta and Google.
- Add your OpenAI credential for the OpenAI Chat Model used to extract hooks/offers and generate competitor summaries.
- Create a Google Sheet with
Ads and Briefs tabs and the expected header columns, then replace REPLACE_WITH_YOUR_SHEET_ID in all Google Sheets steps.
- Add a Gmail credential and replace
REPLACE_WITH_YOUR_EMAIL with your recipient address, or enable Slack/Telegram/Discord/Microsoft Teams steps and fill in their credentials and channel/chat/webhook details.
- Update the competitor list (Facebook Page URLs and website domains) and tuning values (max ads per competitor, long-runner days, ads read per competitor, country/region) in the settings step.