Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Data Sync & ETL

Data Sync & ETL

Extract Facebook ad hooks, CTAs and transcripts to Google Sheets with Apify

When you run it, it moves and syncs data using Google Sheets, Apify.

What it does

# Extract hooks, CTAs and transcripts from a competitor's Facebook ads to Google Sheets with Apify Point it at one competitor and get a spreadsheet teardown of their active Facebook video ads: hook, CTA, length, language and full transcript, one row per ad. ### Who it's for Media buyers and creative strategists who want a competitor's whole ad account on one sheet. ### How it works 1. A Set node holds the competitor's Facebook Page URL (or any Ad Library search URL) and the number of ads to fetch. 2. An HTTP Request starts the Facebook Ads Library scraper on Apify, then an If node and a polling request wait until the run finishes. 3. The finished run's dataset ID is handed straight to the Facebook Ads Transcript Scraper on Apify, so no ad rows pass through n8n. Each video is transcribed and its hook and CTA extracted. Expired links and music-only ads come back as uncharged misses. 4. A Code node shapes one row per ad, a Set node tidies the columns and a Google Sheets node appends them. ### Setup 1. Create an HTTP Header Auth credential (name Authorization, value Bearer YOUR_APIFY_TOKEN) and select it on the three HTTP Request nodes. 2. Connect Google Sheets and pick the spreadsheet and sheet. 3. Open the Config node, set the competitor URL and how many ads to process. 4. Run the workflow. ### Requirements An Apify account (the free plan's credit covers a small test run) and a Google account. ### Customization tips Swap the scraper for any Ad Library scraper, the transcript step reads the run's dataset by ID. Sort or filter rows in the Code node. Add a Schedule Trigger to re-run weekly and catch new creatives.

The steps

  1. When clicking 'Test workflow'
  2. Config
  3. Start Ad Library scrape (competitor)
  4. Scrape finished?
  5. Wait for scrape (poll run)
  6. Transcribe ads by dataset ID: hooks & CTAs
  7. Teardown rows: one per ad
  8. Teardown table (one row per item)
  9. Append rows to Google Sheets

Similar automations