Quick Overview
This workflow runs manually to scrape video ads from the Facebook Ad Library using Apify, transcribes each ad to extract the first-3-seconds hook, CTA, and full speech transcript, then appends the results as one row per ad in Google Sheets.
How it works
- Starts when you manually run the workflow.
- Reads a Facebook Ad Library search URL and a maximum ad count to process.
- Calls Apify’s Facebook Ads Library Scraper to fetch matching video ads from the search results.
- Sends the scraped ad data to Apify’s Facebook Ads Transcript Scraper to download each video and extract the hook, CTA text, duration, transcript, and charge status.
- Normalizes the returned fields into a consistent set of columns.
- Appends one row per ad to a selected Google Sheets worksheet.
Setup
- Create an Apify account, generate an API token, and add an HTTP Header Auth credential with
Authorization: Bearer <YOUR_APIFY_TOKEN> for both Apify HTTP requests.
- Connect your Google Sheets account and select the target spreadsheet and worksheet for the append step.
- Update the Facebook Ad Library search URL (ensure
media_type=video) and the maxAds value to control what gets scraped and transcribed.