Supermetrics for n8n
Connect Facebook Ads to n8n — Automated Ad Workflow Orchestration

Connect Facebook Ads to n8n through Supermetrics and build automated workflows for campaign monitoring, alerting, and reporting. Get Slack notifications when CPA spikes, auto-generate weekly reports, and trigger actions based on real-time ad performance — no coding required.
Why Connect Facebook Ads to n8n?
Stop checking Ads Manager manually. Build automated workflows that monitor your Facebook Ads campaigns, alert you to problems, and deliver reports — all through n8n.
- Set up an n8n workflow with a cron trigger that pulls campaign performance every hour via Supermetrics. An IF node checks whether CPA exceeds your threshold or ROAS drops below target. When it fires, a Slack node sends the alert with campaign name, current CPA, and a direct link to Ads Manager. You catch the problem in minutes, not days.
- A Monday-morning workflow pulls last week's campaign data, calculates week-over-week changes, formats everything into an HTML table, and emails it to your marketing team and clients. No manual spreadsheet work, no copy-pasting from Ads Manager. The report lands in inboxes before anyone's first coffee.
- The workflow pulls frequency and CTR by ad set daily, compares against trailing averages, and flags any ad set where frequency exceeds 4 while CTR drops more than 20% from its 7-day average. The notification includes the ad set name, current frequency, CTR trend, and total spend at risk.
- n8n connects to virtually everything — Airtable, Notion, PostgreSQL, Google Sheets, HubSpot, Salesforce, and hundreds more. Pull campaign performance from Supermetrics and route it wherever your team lives. Update a Notion database with daily spend, push conversion counts to a CRM custom field, or log everything to a data warehouse for analysis.
- One n8n workflow can pull data from multiple Supermetrics nodes — Facebook Ads, Google Ads, TikTok Ads — merge the results with an n8n Merge node, calculate cross-channel totals, and output a unified summary. Compare CPA and ROAS across every platform in a single Slack message or spreadsheet row.
- n8n's power is in chaining actions. When a campaign's CPA exceeds your limit, the workflow can simultaneously send an alert to Slack, create a Jira ticket for the media buyer, update a Google Sheet budget tracker, and fire a webhook to your ad management platform. The whole response happens in seconds, automatically.
How to Connect Facebook Ads to n8n
Three steps. Under two minutes. Zero code.
- 1
Add the Supermetrics node
Open your n8n instance and add the Supermetrics node to a workflow — it's a built-in verified node, no installation required.
- 2
Configure your API key
Add a Supermetrics credential in n8n with your API key. Select your data source and authorize your account.
- 3
Build your workflow
Add the Supermetrics node to a workflow, choose your metrics and dimensions, then wire the output to Slack, email, Google Sheets, or any other n8n node to automate your reporting.
Workflow Examples for Facebook Ads in n8n
Pre-built automation recipes you can import and customize. Each workflow handles a common Facebook Ads monitoring or reporting task.
Daily CPA Spike Alert
Monitor campaign CPA every hour and send a Slack alert when any campaign exceeds your target CPA by more than 20%.
Weekly Performance Report to Email
Pull last week's campaign performance every Monday morning, format it into an HTML table with week-over-week changes, and email it to stakeholders.
Budget Pacing Tracker
Check daily spend against monthly budget targets and update a Google Sheet with pacing status. Flag campaigns that are on track to overspend.
Creative Fatigue Detector
Analyze frequency and CTR trends daily. When an ad set shows rising frequency and falling CTR, create a Jira ticket for the creative team.
Cross-Channel Daily Summary
Pull data from Facebook Ads, Google Ads, and TikTok Ads, merge into a unified summary, and post a combined performance snapshot to Slack.
Automation Use Cases for Facebook Ads
Common scenarios where automating your Facebook Ads data workflows saves hours every week.
Anomaly detection and alerting
Automatically detect unusual changes in ad performance — spend spikes, conversion drops, CTR anomalies — and alert your team before small issues become expensive problems.
Automated client reporting
Generate and deliver customized performance reports to each client on their preferred schedule. No more manual spreadsheet assembly every Monday morning.
Data pipeline to your warehouse
Route Facebook Ads data through n8n to your preferred database or warehouse — PostgreSQL, MySQL, BigQuery, or Snowflake — for long-term storage and advanced analysis.
Multi-platform budget reconciliation
Pull spend data from every ad platform daily, compare against budget allocations, and flag discrepancies in a shared spreadsheet or dashboard.
Performance-triggered task management
Automatically create tasks in Asana, Jira, or Linear when campaigns need attention — creative refreshes when fatigue sets in, budget reallocation when ROAS shifts, or optimization requests when CPA drifts.
What Facebook Ads Data Can You Pull into n8n?
Supermetrics gives n8n access to your full Facebook Ads reporting data — metrics and dimensions you already know from the Facebook Ads interface.
Key Metrics
- Impressions
- Clicks
- Spend
- ROAS
- CPA
- CTR
- CPM
- Conversions
- Reach
- Frequency
- Video views
- Link clicks
- Cost per action
- Purchase value
- Add to cart
Key Dimensions
- Campaign name
- Ad set name
- Ad name
- Age
- Gender
- Placement
- Device
- Country
- Region
- Platform (Facebook / Instagram / Audience Network)
- Objective
- Delivery status
- Instagram placement (Feed / Stories / Reels / Explore)
Resources & Guides
How to optimize your Facebook ad campaigns
Facebook Ads report templates
PPC reporting: extract insights from paid campaigns
Why Supermetrics for n8n?
The trusted marketing data platform since 2009. 200,000+ companies use Supermetrics — 15% of global ad spend flows through our connectors.
Built for n8n
Purpose-built integration for n8n. Connect in minutes, not days — no custom connectors or engineering resources needed.
70+ Data Sources
Connect Facebook Ads alongside 70+ marketing platforms through the Supermetrics n8n node. Purpose-built for marketing data with the deepest field coverage in the industry.
Verified Integration
Supermetrics is a verified, built-in n8n node — no community packages to install or maintain. Enterprise-grade reliability for your production workflows.
Enterprise Security
SOC 2 Type II certified. GDPR compliant. OAuth authentication. Your data is encrypted at rest and in transit.
Always Current
Your Facebook Ads data refreshes automatically in n8n. No manual exports, no stale numbers — open your report and the data is current.
No Data Limits
Query any date range, any number of campaigns, any level of granularity. No row limits, no sampling, no restrictions on the data you can pull.
Frequently Asked Questions
- Open n8n, add the Supermetrics node to a workflow (it's a built-in verified node — no installation needed), enter your Supermetrics API key, and select Facebook Ads as your data source. Choose your metrics and dimensions, then wire the output to any downstream node — Slack, Google Sheets, email, a database, or any of n8n's 400+ integrations.
- Your data security depends on your n8n deployment. Self-hosted n8n keeps everything on your infrastructure — no data leaves your servers. n8n Cloud is SOC 2 compliant. On the Supermetrics side, all API calls are encrypted in transit, and Supermetrics is SOC 2 Type II certified and GDPR compliant. Your Facebook Ads credentials are stored securely and never exposed in workflow definitions.
- That is where n8n shines. A single workflow can pull Facebook Ads data from Supermetrics, fetch CRM data from HubSpot, query your database, and merge everything before sending it to a dashboard or notification channel. n8n's Merge and IF nodes let you build complex logic without writing code.
- All standard Facebook Ads reporting metrics and dimensions are available, including Impressions, Clicks, Spend, ROAS, CPA, and more. You configure the exact fields in the Supermetrics node, and the data arrives as structured JSON objects that downstream nodes can process immediately.
- Yes. n8n supports cron-based triggers, so you can schedule your Facebook Ads data pulls to run at any interval — every hour, every morning at 8 AM, every Monday, or on the first of each month. You can also trigger workflows via webhooks, manual execution, or events from other systems.
- No. Supermetrics works with both self-hosted n8n and n8n Cloud. The Supermetrics node connects via API key regardless of where your n8n instance runs. Self-hosted gives you full control over data residency; n8n Cloud handles the infrastructure for you.
- Yes. Build a workflow with a scheduled trigger that pulls Facebook Ads data via Supermetrics, then use n8n IF or Switch nodes to check thresholds — CPA above $50, ROAS below 2.0, daily spend exceeding budget. When conditions are met, downstream nodes execute your chosen actions: Slack alerts, emails, database writes, or webhook calls.
- There is no hard limit. You can pull data from multiple Facebook Ads accounts by adding separate Supermetrics nodes for each account or by using the account name as a dimension in a single query. Most teams monitor all their accounts in one workflow and split processing by account using n8n's SplitInBatches node.
- Absolutely. The Slack node in n8n supports rich formatting — you can send tables, charts, and formatted text. A typical workflow pulls campaign data from Supermetrics, formats it into a Slack Block Kit message with spend, conversions, and ROAS for each campaign, and posts it to your chosen channel on a daily or weekly schedule.
- Yes. You can configure the date range (today, yesterday, last 7 days, last 30 days, custom range), apply filters by campaign name, ad set, status, or any available dimension, and choose exactly which metrics and dimensions to return. All configuration is done visually in the n8n node editor.
- Yes, and this is one of the most powerful use cases. Add multiple Supermetrics nodes to pull data from Facebook Ads, Google Ads, LinkedIn Ads, and more, then use n8n Merge nodes to combine the data. You can calculate cross-platform totals, compare channel efficiency, and output unified reports — all in a single automated workflow.
Ready to Connect Facebook Ads to n8n?
Join 200,000+ companies that use Supermetrics to connect their marketing data. Set up in under two minutes.