Templates / Clone & customize competitor Facebook ads with Gemini AI and Apify

Clone & customize competitor Facebook ads with Gemini AI and Apify

Unknown

by Lucas Walter ✓ · 1,247 views · created 2025-09-09 · Market Research, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 16 nodes and runs when someone submits an n8n form (“Facebook Ad Thief Form”). Along the way it connects Google Drive and Apify (community). It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Facebook Ad Thief Form”).

  1. convert_product_image_to_base (Extract from File): extracts data from a file (binary to propery)
  2. scrape_ads (Apify): run actor and get dataset
  3. iterate_ads (Loop Over Items (Split in Batches)): loops over the items in batches
  4. download_image (HTTP Request): calls an HTTP API
  5. upload_ad_reference (Google Drive): uses Google Drive
  6. convert_ad_image_to_base (Extract from File): extracts data from a file (binary to propery)
  7. Merge: merges the data from its input branches
  8. Aggregate: combines items into one
  9. build_prompt (Edit Fields (Set)): sets 1 field: prompt
  10. generate_ad_image_prompt (HTTP Request): calls generativelanguage.googleapis.com (POST)

…plus 5 more steps. See the full node list below.

Services it uses

Google DriveApify (community)

HTTP calls to: generativelanguage.googleapis.com

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in scrape_ads).

Nodes used (11)

From the author

Nano Banana Ad Cloning System This n8n template demonstrates how to automatically clone and adapt competitor Facebook ads for your own product using AI. Simply provide a Facebook Ad Library URL and your product image, and the workflow scrapes competitor ads,…

Excerpt from Lucas Walter's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.