Track weekly competitor Meta and Google ads with Apify, OpenAI and Sheets
Ready for 3.0What this workflow does
This AI workflow has 32 nodes and runs on a schedule (every week at 09:00). Along the way it connects Google Sheets, OpenAI Chat Model, Gmail and Slack and 3 more. It also calls api.apify.com over HTTP.
How it runs
Trigger: On a schedule (every week at 09:00).
- Configure Competitors and Limits (Edit Fields (Set)): sets 6 fields: competitors, country, region…
- Check for Facebook Pages (If): checks a condition and branches into true / false
- Post Meta Ads to Apify API (HTTP Request): calls api.apify.com (POST)
- Check for Website Presence (If): checks a condition and branches into true / false
- Transform Meta Ads Data (Code): runs custom JavaScript code
- Post Google Ads to Apify API (HTTP Request): calls api.apify.com (POST)
- Read Ads from Google Sheets (Google Sheets): uses Google Sheets
- Transform Google Ads Data (Code): runs custom JavaScript code
- Read Briefs from Google Sheets (Google Sheets): uses Google Sheets
- Classify Current Ads Status (Code): runs custom JavaScript code
…plus 18 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)
HTTP calls to: api.apify.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Merge
n8n-nodes-base.merge - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Telegram
n8n-nodes-base.telegram - Discord
n8n-nodes-base.discord - Microsoft Teams
n8n-nodes-base.microsoftTeams
From the author
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…