Tear down proven Meta ads with Bright Data, GPT-5.6 and Gmail
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when someone submits an n8n form (“Competitor ad teardown”). Along the way it connects OpenAI Chat Model and Gmail. It also calls api.brightdata.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Competitor ad teardown”).
- Settings (Edit Fields (Set)): sets 4 fields: proven_after_days, max_ads_per_term, landing_pages_to_read…
- One Row Per Advertiser (Code): runs custom JavaScript code
- Loop Over Advertisers (Loop Over Items (Split in Batches)): loops over the items in batches
- Score The Ads (Code): runs custom JavaScript code
- Search The Ad Library (HTTP Request): calls api.brightdata.com (POST)
- Anything Running? (If): checks a condition and branches into true / false
- Read The Ad Cards (Code): runs custom JavaScript code
- Split Theirs From Yours (Code): runs custom JavaScript code
- Nothing Is Running (n8n Form): shows the next form page
- Pick Landing Pages To Read (Code): runs custom JavaScript code
…plus 8 more steps. See the full node list below.
Services it uses
HTTP calls to: api.brightdata.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.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - n8n Form
n8n-nodes-base.form - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs weekly, uses Bright Data to fetch Meta Ad Library results for your competitor search terms, extracts ad age and landing URLs, summarizes angles with OpenAI (GPT-5.6), and emails an HTML digest through Gmail while…