An n8n Facebook Ads Library Workflow That Sends You Winners, Not Noise

A working n8n Facebook Ads Library workflow: Schedule Trigger, an HTTP Request to new winning Meta ads, a filter, then Slack, Google Sheets or email.

The short answer

The n8n Facebook Ads Library workflow that holds up is five nodes: Schedule Trigger, HTTP Request to the Ad Radar /winners?since= endpoint with a Bearer credential, Split Out, Filter, then Slack, Google Sheets or email. Each morning it posts only the Meta ads that just entered the winner tier, with estimated spend, days running, transcript and tags, at one request per page of up to 100 ads. A raw scraper node can feed the same flow, but it returns every ad with no ranking, no commercial spend and no transcript.

In this article11 sections

What this n8n Facebook Ads Library workflow does

Most people who search for an n8n Facebook Ads Library workflow want the same thing: wake up to a short message that says which competitor ads are working, without opening the Ad Library and scrolling. The trouble is that the library itself has no "working" filter. It lists every ad, live or stopped, with no spend for commercial ads, so a naive workflow just moves the noise from one tab to Slack.

This guide builds the version that sends signal. Five nodes, about twenty minutes in the n8n editor:

#NodeJob
1Schedule TriggerRuns every morning at 8:00
2HTTP RequestCalls GET /winners?since=<yesterday> on the Ad Radar Data API, with a Bearer credential and pagination
3Split OutTurns the data array into one item per ad
4FilterKeeps the ads you care about (format, spend, days running, brand)
5Slack / Google Sheets / Send EmailPosts a digest, appends a row, or emails the team

The source is the Ad Radar Facebook ads API: Meta ads (Facebook and Instagram) built from the public Meta Ad Library, filtered to ads with $50k+ estimated spend, each one scored, transcribed and tagged on ten dimensions, refreshed every day. The /winners endpoint returns ads in the winner tier (top 10% by score and running 21+ days), and with since it returns only the ads that entered that tier after the date you pass. That one parameter is what makes a daily alert possible: you never see the same winner twice.

2,761

Meta ads with $50k+ estimated spend

782

brands

1

request per page of up to 100 ads

Daily

refresh

Why not point n8n at the Ad Library directly

There are two raw routes, and both end up costing more work than the workflow itself.

The official Meta Ad Library API. You can call ads_archive from an HTTP Request node, but Meta's reference says ads that did not reach any EU location are returned only if they are about social issues, elections or politics. A US-only DTC brand never comes back. Spend is returned only for political ads. Details are in our Meta Ad Library API guide.

A scraper node. Apify publishes an official n8n community node, @apify/n8n-nodes-apify, with a Run Actor operation and a Get Dataset Items step for the results. Wire it to the Facebook Ads Scraper and you get what the web library shows. Checked November 2026, that actor costs $5.80 per 1,000 ads on Apify's free plan and $3.40 on Business, its spend field is filled only "when available" (which, for commercial ads, it isn't), there is no transcript field, and the dataset stays empty until the run finishes. So a scraper flow needs more nodes after it: deduplicate against yesterday, guess which ads matter, download videos before the signed URLs expire, transcribe, tag. That is a pipeline, not a workflow, and it breaks every time the library's interface changes. Our scraping guide shows what that pipeline involves.

Apify node on the raw libraryHTTP Request to Ad Radar /winners
What comes backEvery ad of the Pages you listOnly ads that just entered the winner tier
Spend for commercial adsEmptyEstimated spend on every ad
Video transcriptNoFull script, searchable
Tags (hook, angle, format, awareness...)NoTen dimensions
Media URLsMeta CDN links that expirePublic poster and MP4 URLs
Price modelPer 1,000 ads scrapedOne request per page of up to 100 ads
Nodes after the sourceDedupe, rank, download, transcribe, tagSplit Out, Filter, send

Step 1: create the Bearer credential

Your API key should live in an n8n credential, not in a header field, so it never shows up when you export or share the workflow.

  1. Add an HTTP Request node to a new workflow.
  2. Set Authentication to Generic Credential Type.
  3. Set Generic Auth Type to Bearer Auth.
  4. In the credential dropdown choose Create New Credential, name it Ad Radar API, paste your key into Bearer Token, and save.

n8n's credential docs describe Bearer Auth as header auth with the name set to Authorization and the value Bearer <token>, which is exactly what the API expects. If you prefer Header Auth, use Name Authorization and Value Bearer <your key>.

Step 2: the Schedule Trigger

Add a Schedule Trigger as the first node.

  • Trigger Interval: Days
  • Days Between Triggers: 1
  • Trigger at Hour: 8am
  • Trigger at Minute: 0

n8n's Schedule Trigger docs note that the node uses the workflow timezone if you set one, otherwise the instance timezone, so set it under workflow settings. The workflow only runs on schedule once you publish it.

Daily is the right rhythm. Tiers are recomputed once a day, so polling every hour returns the same ads and spends requests for nothing. For a weekly digest, switch to Weeks, pick Monday under Trigger on Weekdays, and change the since expression below to seven days.

Step 3: the HTTP Request node

Back in the HTTP Request node:

SettingValue
MethodGET
URLhttps://app.ad-radar.dev/api/v1/winners
AuthenticationGeneric Credential Type, Bearer Auth, Ad Radar API
Send Query ParametersOn, Using Fields Below
Query parameter since{{ $now.minus({ days: 1 }).toISODate() }}
Query parameter limit100
Query parameter format (optional)video
Query parameter min_spend (optional)100000

since takes a date like 2026-11-18 or a full ISO timestamp. The expression uses n8n's Luxon $now, so each run asks for the ads that entered the winner tier since the same time yesterday. Push every filter you can into the query: format, min_spend, brand, category and tags (as dimension:value pairs) are all accepted by /winners, and filtering on the server means fewer pages and fewer requests. The valid tag values and brand categories come from GET /taxonomy; the full parameter list is in the API docs.

Pagination

Under Options, add Pagination:

  • Pagination Mode: Update a Parameter in Each Request
  • Parameters: Type Query, Name cursor, Value {{ $response.body.pagination.nextCursor }}
  • Pagination Complete When: Other
  • Complete Expression: {{ !$response.body.pagination.hasMore }}
  • Limit Pages Fetched: On, Max Pages: 10

Every response carries pagination.hasMore and pagination.nextCursor, so n8n keeps asking until there is nothing left. The cap is a seatbelt: on a normal day the first page of 100 already holds every new winner.

The node as JSON

If you would rather paste than click, copy this into the n8n canvas (Ctrl+V or Cmd+V). The credential id is empty on purpose; pick your Ad Radar API credential after pasting.

{
  "nodes": [
    {
      "parameters": {
        "url": "https://app.ad-radar.dev/api/v1/winners",
        "authentication": "genericCredentialType",
        "genericAuthType": "httpBearerAuth",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            { "name": "since", "value": "={{ $now.minus({ days: 1 }).toISODate() }}" },
            { "name": "limit", "value": "100" },
            { "name": "format", "value": "video" }
          ]
        },
        "options": {
          "pagination": {
            "pagination": {
              "parameters": {
                "parameters": [
                  { "type": "qs", "name": "cursor", "value": "={{ $response.body.pagination.nextCursor }}" }
                ]
              },
              "paginationCompleteWhen": "other",
              "completeExpression": "={{ !$response.body.pagination.hasMore }}",
              "limitPagesFetched": true,
              "maxRequests": 10
            }
          }
        }
      },
      "name": "Ad Radar new winners",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [460, 300],
      "credentials": { "httpBearerAuth": { "id": "", "name": "Ad Radar API" } }
    }
  ]
}

Run the node once with Execute step. You should see one item per page, each with data, pagination and total.

Step 4: Split Out the data array

This is the step most first workflows miss. The HTTP Request node outputs one item per response (or per page when it paginates), and splits into records only when the body is a bare JSON array. Ours is wrapped: { "data": [...], "pagination": {...}, "total": 96 }. So add a Split Out node with Fields To Split Out set to data. After it, each item is one ad, and every field is reachable as $json.brand, $json.metrics.daysRunning and so on.

The fields you will use most:

FieldExampleUse
brandHearth & FieldWho runs it
headline, body, ctaAd copy, in EnglishMessage preview
transcriptFull spoken scriptHook line, keyword match
spendEstimate184205Estimated spend in USD
metrics.daysRunning83How long it has survived
metrics.variants6How hard the brand is pushing it
metrics.score, metrics.tier12.84, winnerRanking
tags[{ "dimension": "hook_pattern", "label": "Before / After" }]Hook, angle, format, awareness
media.poster, media.videoPublic URLsThumbnail in Slack, archive
links.radar, links.libraryPermalinksClick through to check

Every object has the same shape on every endpoint, so a flow you build on /winners works unchanged on /ads/search.

Step 5: the Filter node

Add a Filter node and keep only what your team should act on. Three conditions that work well, combined with AND:

  • {{ $json.metrics.daysRunning }} is greater than or equal to 30
  • {{ $json.metrics.variants }} is greater than or equal to 2
  • {{ $json.tags.map(t => t.slug).join(",") }} contains the tag you track, for example before-after

For a competitor watchlist, filter on brand instead: {{ ["Brand A","Brand B"].includes($json.brand) }} is true. If you watch one or two brands only, pass brand in the HTTP query instead; it takes the id or slug from GET /brands and saves the filtering altogether.

If you need logic the Filter UI can't express, a Code node in "Run Once for All Items" mode does the same job in a few lines:

return $input.all().filter(item => {
  const ad = item.json;
  const hook = ad.tags.find(t => t.dimension === "hook_pattern");
  return ad.metrics.daysRunning >= 30 && ad.spendEstimate >= 100000 && hook;
});

Step 6: send it somewhere

Slack

Add a Slack node, operation Send a message, pick the channel, and use a message like:

*{{ $json.brand }}* just entered the winner tier
{{ $json.headline }}
Est. spend ${{ $json.spendEstimate.toLocaleString("en-US") }} · {{ $json.metrics.daysRunning }} days · {{ $json.metrics.variants }} variants
Hook: {{ ($json.transcript || $json.body || "").slice(0, 140) }}
{{ $json.links.radar }}

One message per ad is fine for a handful of winners. For a single digest, put an Aggregate node (All Item Data) before Slack and build the text with {{ $json.data.map(a => "• " + a.brand + ": " + a.headline).join("\n") }}.

Google Sheets

For a swipe file that grows by itself, use a Google Sheets node, operation Append Row, and map columns: date ({{ $now.toISODate() }}), brand, headline, estimated spend, days running, variants, hook pattern ({{ $json.tags.find(t => t.dimension === "hook_pattern")?.label }}), transcript, poster URL and Ad Radar link. Because /winners?since= returns each ad only once, the sheet never fills with duplicates. Use adKey as the first column if you also run manual imports, and you have a stable key to deduplicate on.

Email

The Send Email node (SMTP) or the Gmail node works the same way after an Aggregate node. Set the subject to {{ $items().length }} new winning ads and build an HTML body with the poster image, headline and link per ad. Most teams find Slack better for daily alerts and email better for a Monday digest.

Three variations worth building next

  1. Keyword watch. Swap the URL for /ads/search with q=<your product word>, tier=winner and started_after={{ $now.minus({ days: 7 }).toISODate() }}. q searches the headline, body, brand and the full video transcript, so it catches ads that say your category out loud even when the copy doesn't.
  2. Competitor hooks report. A weekly run that calls /brands?q=<competitor> to get the id, then /brands/{id}/hooks for the hook patterns, mechanisms and angles that brand repeats, posted to a channel per account.
  3. AI brief. After the Filter, an AI Agent or OpenAI/Anthropic node that receives the transcript and tags and drafts a brief for your product. Grounded in an ad that already crossed $50k in estimated spend, the draft starts from a structure the market has paid for, instead of a generic template. For chat-first work the same data is available as an MCP server, and our walkthrough shows a full research session.

If you track a short list of rivals by hand today, automating competitor ad monitoring covers which signals deserve an alert at all.

What it costs to run

One HTTP call is one request, and each page of up to 100 ads is one call. A daily /winners run is usually one or two requests, so 30 to 60 a month. Over quota the API answers 429 with an upgrade link, never an overage charge, and every response carries X-Quota-Remaining, so you can add an IF node that warns you before you run low.

PlanPrice, every 4 weeksRequestsFits
Builder$29910,000Daily alerts, sheets, briefs, use inside your own product; includes the web app
Scale$79950,000Builder plus /feed for incremental sync, higher rate limit
ResellerFrom $2,000CustomFull NDJSON /export, resale, white-label

Compare that with the scraper route: the per-ad bill is the small part, the weeks spent on deduplication, media storage, transcription and tagging are the big one, and you would still have no history of the ads that ran before you started. The Data API already holds that history, ranked and tagged, and n8n only has to move it.

Get the workflow running today

The fastest path to a working n8n Facebook Ads Library alert is the one above: a Bearer credential, /winners?since=, Split Out, a Filter, and the channel your team reads. Start on Builder, paste the HTTP node, and tomorrow at 8:00 your team gets the Meta ads that just proved themselves, with the spend estimate, the script and the hook already attached. Plans are compared on the pricing section, and every endpoint is in the API reference.

Figures marked as estimated spend come from Ad Radar's model of engagement on public Meta Ad Library ads. They are estimates, labeled as such, and are best used to rank ads against each other. How the board is built.

FAQ

Questions

Can n8n pull data from the Facebook Ads Library?

Yes, through the HTTP Request node or a community node. The official Meta Ad Library API returns commercial ads only if they delivered in the EU, so most n8n flows use a scraper (for example the Apify node) or a data API. For winning ads specifically, an HTTP Request node pointed at the Ad Radar Data API returns ranked Meta ads with estimated spend, transcripts and tags.

How do I authenticate the Ad Radar API in n8n?

In the HTTP Request node set Authentication to Generic Credential Type, Generic Auth Type to Bearer Auth, and create a credential with your API key in the Bearer Token field. n8n then sends the header Authorization: Bearer <key> on every request, and the key never appears in the workflow JSON.

How do I paginate the Ad Radar API in n8n?

Add the Pagination option to the HTTP Request node, choose Update a Parameter in Each Request, add a Query parameter named cursor with the value {{ $response.body.pagination.nextCursor }}, set Pagination Complete When to Other and use the Complete Expression {{ !$response.body.pagination.hasMore }}. Turn on Limit Pages Fetched as a safety cap.

Why does my n8n filter see only one item?

The HTTP Request node outputs one item per response or page, not one per record, unless the body is a bare JSON array. The Ad Radar API wraps results in a data array, so add a Split Out node on the field data before the Filter node. After that, each item is one ad.

How many API requests does a daily n8n winners workflow use?

One per page. With limit set to 100, a daily run that fetches the ads that entered the winner tier since yesterday is usually one or two requests, so about 30 to 60 a month. That is a small fraction of the 10,000 requests in the Builder plan, which leaves room for search and brand lookups in other workflows.

Ad data and APIs

Keep reading

All 22 articles in Ad data and APIs

Build on ads that are already winning.

Skip the scraping, storage, transcription and tagging. Query the corpus from your code or your agent.

Builder: 10,000 requests every 4 weeks over REST and MCP, $299. Scale and Reseller for bigger volumes.