I Built an AI Facebook Ad Spy Tool from Scratch (n8n tutorial)

Опубликовано: 18 Май 2026
на канале: Michele Torti
8,212
288

Get my 1-1 support to Start and Scale your AI Agency: https://bit.ly/42mRbpJ
Get the FREE n8n Workflow Template from this video: https://www.skool.com/the-ai-automati...

I Built an AI Facebook Ad Spy Tool from Scratch (n8n tutorial)

In this video, I'm building a complete "Facebook Ads Parasite System" from scratch using n8n, Apify, and AI. This automation scrapes the Facebook Ad Library for any keyword, filters for the most popular ads, analyzes the video/image creative with AI, rewrites the ad copy, and saves everything to a Google Sheet.

We'll cover:
How to automatically scrape the Meta (Facebook) Ad Library for any keyword using Apify.
How to connect Apify to your n8n workflow to trigger the scraper and get the data.
How to filter thousands of ads down to the "winners" based on popularity.
How to use the Switch node to process Video, Image, and Text ads in different ways.
How to use Google Gemini to "watch" and analyze video ads.
How to use OpenAI (GPT-4) to analyze images and rewrite ad copy.
How to automatically save all the scraped data, summaries, and new AI copy to Google Sheets.

Timestamps
00:00 - Intro
00:58 - Workflow Breakdown
03:30 - The 5-Step System
06:42 - Facebook Ads with Apify
11:08 - Connecting Apify to n8n
15:52 - Filtering Ads Based on Popularity
17:30 - Splitting Ads by Type
19:54 - Processing Video Ads
20:01 - Downloading the Ad Video
20:41 - Analyzing the Video with Gemini
25:21 - Summarizing & Rewriting Ad Copy with OpenAI
29:39 - Setting up the Google Sheets Database
31:10 - Appending Video Ad Data to Google Sheets
32:46 - Processing Image & Text Ads
33:07 - Analyzing the Ad Image with OpenAI
37:24 - Final Workflow & How to Get It