{"product_id":"facebook-ad-library-scraper-with-n8n-apify-openai-sheets","title":"Facebook Ad Library Scraper with n8n, Apify, OpenAI \u0026 Sheets","description":"\u003ch3\u003eScrape Facebook Ad Library ads, analyze creatives with OpenAI, and log results to Google Sheets (n8n + Apify)\u003c\/h3\u003e\n\u003cp\u003eGet a hands-on workflow that pulls recent Facebook Ad Library ads using \u003cstrong\u003eApify\u003c\/strong\u003e, filters for high-like advertisers, then uses \u003cstrong\u003eOpenAI (Vision + text)\u003c\/strong\u003e to generate strategic analysis and rewritten ad copy—automatically appending everything to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e for your review.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eManual start:\u003c\/strong\u003e You run the workflow manually when you want to pull fresh ad data.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetch ads via Apify:\u003c\/strong\u003e The workflow sends your \u003cem\u003ekeyword, country, status, and limit\u003c\/em\u003e to an Apify Facebook Ad Library scraper actor to retrieve recent ads and their details.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFilter by advertiser engagement:\u003c\/strong\u003e It removes ads from advertisers whose Facebook page likes fall below your configured minimum.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRoute by creative type:\u003c\/strong\u003e Depending on what creative fields are present, each ad is processed as \u003cstrong\u003evideo\/image\u003c\/strong\u003e or \u003cstrong\u003etext-only\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAnalyze + rewrite with OpenAI:\u003c\/strong\u003e\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eVideo\/image ads:\u003c\/strong\u003e Uses OpenAI Vision to describe the creative (video cover frame or image), then generates a structured strategic analysis and rewritten ad copy.\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eText-only ads:\u003c\/strong\u003e Generates the same structured strategic analysis and rewritten ad copy from the scraped ad data.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppend to Google Sheets:\u003c\/strong\u003e Each ad’s analysis and rewritten copy is added to a spreadsheet so you can track findings over time.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCompetitive research for SaaS marketing teams using \u003cstrong\u003eFacebook Ad Library\u003c\/strong\u003e signals.\u003c\/li\u003e\n  \u003cli\u003eCreative inspiration pipelines: convert scraped ads into structured insights and rewrite drafts.\u003c\/li\u003e\n  \u003cli\u003eOngoing ad monitoring by keyword\/country with results stored in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eApify\u003c\/strong\u003e via \u003cstrong\u003eHTTP Request\u003c\/strong\u003e using \u003cstrong\u003eAPI token\u003c\/strong\u003e (HTTP Header Auth)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e credentials for vision + chat models (vision + text processing mode)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\u003c\/strong\u003e: set, filter, switch, sticky note, http request, google sheets\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eIdeal for n8n users and automation engineers who want an end-to-end workflow for \u003cstrong\u003eFacebook ad scraping\u003c\/strong\u003e, \u003cstrong\u003eOpenAI creative analysis\u003c\/strong\u003e, and \u003cstrong\u003eSheets-based tracking\u003c\/strong\u003e.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45761002930355,"sku":"N8N-17837","price":49.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/8Fd-Q1nbv-Medx-0qfpfp_cNw6gzC9.png?v=1785920786","url":"https:\/\/buyflowscripts.com\/products\/facebook-ad-library-scraper-with-n8n-apify-openai-sheets","provider":"N8N Commerce","version":"1.0","type":"link"}