Skip to main content

FB Ad Spy: AI-Powered Competitor Ad Intelligence & Auto-Video Remixer

Workflow preview

Workflow preview
100%
FB Ad Spy: AI-Powered Competitor Ad Intelligence & Auto-Video Remixer preview
Open on n8n.io

1. Workflow Overview

How it works 1. Scrape ads – Pulls Facebook Ad Library data for "ai automation" keywords using Apify 2. Filter & sort – Filters ads by page likes ( 1,000) and separates into videos, images, and ...

Best for

  • Market Research automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.filter, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.googledrive, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.openai

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Koulikas Giannis.

Original n8n.io source

1.1 Workflow description

Title
FB Ad Spy: AI-Powered Competitor Ad Intelligence & Auto-Video Remixer
Workflow name
FB Ad Spy: AI-Powered Competitor Ad Intelligence & Auto-Video Remixer

How it works

1. Scrape ads – Pulls Facebook Ad Library data for "ai automation" keywords using Apify

2. Filter & sort – Filters ads by page likes (>1,000) and separates into videos, images, and text ads

3. Analyze creative – For videos: uploads to Gemini for detailed description. For images: analyzes with GPT-4V. For text: rewrites copy using GPT-4.1

4. Generate new ad – Creates a Veo 3 prompt from the analysis, generates an 8-second video clip, and converts it to 9:16 vertical format

5. Add captions – Overlays rewritten ad copy as captions using Creatomate

6. Log results – Uploads final video to GCS and logs all data (analysis, prompts, URLs) to Google Sheets


Set up steps

  1. API Keys – Set up accounts for Apify, Google Cloud (Gemini + GCS), OpenAI, Shotstack, and Creatomate

  2. Credentials in n8n – Add each API key as a credential in your n8n instance

  3. Configure variables – Update the SET1 node with your Google Cloud PROJECT_ID and CLIENT_EMAIL

  4. Set up Google Sheet – Create a sheet with columns matching the schema (ad_archive_id, page_name, summary, rewritten_ad_copy, etc.)

  5. Test – Execute the workflow to scrape, analyze, and generate a new ad variation

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note11

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - On Manual Start

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 14 - Filter by Ad Likes

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 15 - Wait Before Processing Text Ads

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 16 - Wait Before Image Creation

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 17 - Download Video Content

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Save Video to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 19 - Wait Before Video Processing

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 20 - Scrape Ad Library Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 21 - Batch Image Ads Processing

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 22 - Batch Text Ads Processing

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 23 - Batch Video Ads Processing

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 24 - Initiate Gemini Upload

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 66 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow FB Ad Spy: AI-Powered Competitor Ad Intelligence & Auto-Video Remixer
Complexity advanced
Nodes 66
Categories Market Research, Multimodal AI
Author Koulikas Giannis
Published 19 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15144/15144.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does FB Ad Spy: AI-Powered Competitor Ad Intelligence & Auto-Video Remixer do?

How it works 1. Scrape ads – Pulls Facebook Ad Library data for "ai automation" keywords using Apify 2. Filter & sort – Filters ads by page likes ( 1,000) and separates into videos, images, and ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, Multimodal AI use case.