LightningSync
LightningSync
IntegrationsFacebook Lead Ads
Facebook logoFacebook Lead Ads → Supabase

Facebook leads in Supabase.
Synced automatically.

Pull new lead form submissions into Supabase and treat them like any other table. Route, enrich, and report without CSV downloads.

Official Meta Graph APIForm + field metadataBuilt for SQL workflows
fb_leads
select created_time, email, form_id
from fb_leads
order by created_time desc
limit 25;

Example query against fb_leads.

Features

Automated and safe extracting of marketing data

LightningSync replaces manual CSVs exports and broken Python scripts with automated connectors, set up through official logins, that bring your sales and marketing data into one place, so your analytics and reporting stays updated, reliable, and unified.

Facebook Ads
Connected
Square Seller Data
Connected
Instagram Ads
Connected
LinkedIn Ads
Available
Google Ads
Connected
YouTube Ads
Available

Official Integration Logins

Connect ad + analytics platforms using official sign-in. We refresh tokens automatically so syncs don’t break.

Backfill
Daily
Hourly
Incremental

Real-time, Daily, Hourly, or Custom Syncs

Set up schedules once, keep your data in sync automatically forever. No more switching between platforms to manually export CSVs or run scripts that break easily.

marketing_ads_daily
datedate
platformtext
campaign_idtext
spendnumeric
impressionsint
clicksint

Unified Marketing Schema

Normalize metrics into clean tables so you can query cross-channel performance with standard SQL.

Meta Ads → Supabasesuccess
Square Seller Data → Supabaserunning
Google Ads → Supabaseretrying

Sync Monitoring

See run history, rows synced, and errors so you can trust what landed before you report on it.

POST /webhook
{
event: "sync.failed",
source: "facebook_ads",
run_id: "run_84a…"
}

Alerts + Webhooks

Get notified when a sync fails or when data is late. Pipe events into Slack, email, or your own systems.

Platform
Spend
Clicks
Conv.
ROAS
meta
$3.2k
8.1k
214
2.8
google
$2.1k
5.4k
176
3.1
tiktok
$0.9k
2.8k
71
2.2

Reporting-Ready Tables

Build dashboards in Retool, Metabase, or SQL. Tables are consistent across platforms and ready to join with your own data.

Use cases

What you can do with Facebook Lead Ads data

Keep submissions in Postgres so you can join, filter, and trigger workflows with your own business logic.

Route leads instantly

Send new submissions to the right team or workflow as soon as they land in your database.

  • Trigger emails or notifications from Supabase
  • Insert into CRM tables you control
  • Build idempotent processing in SQL

Normalize fields across forms

Different forms ask different questions. Store the raw payload and map it to a clean schema when you're ready.

  • Preserve full field_data JSON
  • Map to a canonical lead model
  • Dedupe by email or phone

Measure lead quality by source

Join leads to sales outcomes to see which forms and campaigns drive real revenue.

  • Track lead → user → revenue
  • Compare form performance over time
  • Build your own attribution rules
How it works

From official integration logins to query-ready tables

Connect platforms, sync into Supabase, and monitor every run so your reporting stays reliable.

01

Connect platforms

Log in with Square, Facebook, Google, Instagram, LinkedIn, and more using official integration logins.

02

Connect Supabase

Official Supabase Login, select your project, and schedule automated syncs.

03

Schedule and monitor

Run real-time/hourly/daily syncs, retries, and alerts. Track every run with row counts and timestamps.

supabase-sql-editor
step_01.sql
-- Official login connected successfully
select name, status
from integrations
where user_id = current_user;
_
Pricing

Plans for production reporting

Start free. Upgrade when you need scheduled syncs, higher limits, and alerts for production reporting.

Free

Start in minutes

Get started and validate your pipeline before you automate everything.

$0
Free forever
Start Syncing Free
  • 100 syncs/month
  • 10K records per sync
  • 1 ad account
  • 30 days history
  • Manual syncs
  • All integrations
Most popular

Starter

Secure Stripe billing

Automated syncs, higher limits, and alerts so you can trust the data landed.

$15/month
Billed monthly
  • 3K syncs/month
  • 300K records per sync
  • Unlimited ad accounts
  • 365 days history
  • Scheduled sync (every 30 mins)
  • Webhooks + alerts
  • Priority support
  • All integrations

Enterprise

Talk to a human

For teams with strict compliance, custom limits, and dedicated support.

Custom
Custom contract & SLA
Contact Sales
  • Custom sync + volume limits
  • Dedicated onboarding
  • SLA & priority support
  • Security review support
  • Roadmap alignment
Cancel anytime. No questions asked.Free tier includes all integrations.Your data stays in your Supabase.
Customer story

What our first customer says

LightningSync is in early access. Here’s feedback from a team using it to keep marketing reporting reliable in Supabase.

In use at
Ascentium Digital

LightningSync helps us keep cross-channel marketing data in Supabase without manual exports, so reporting stays fast and consistent.

Andy
CEO, Ascentium Digital
Get early access
Want to be next?

Become a design partner

Tell us what you need for your reporting stack. We’ll prioritize the integrations and tables that matter for your workflows.

Take the 30s survey
FAQ

Facebook Lead Ads FAQ

Common questions about syncing Facebook lead form submissions into Supabase.

What permissions are required to sync leads?
You'll need the right Page role to authorize access to lead forms. Meta may require App Review approval for production use of the leads_retrieval permission. LightningSync will guide you through what's needed for your setup.
Where does lead data live?
Lead submissions are written into your Supabase tables so you can control retention and access. Use Supabase roles and policies to limit who can view or export PII.
Can I sync multiple Pages and forms?
Yes. Connect one or more Pages and sync one or many lead forms. Rows include form identifiers so you can segment and route leads by source.
Get started

Get your marketing data into Supabase, without the busywork.

Start free with 100 syncs/month. Upgrade when you need scheduled syncs, higher limits, and alerts.

Shape our roadmap & get early access

Tell us what you need for reporting. We’ll prioritize the integrations, tables, and workflows that matter.

Step 1 of 4

How do you currently get Meta Ads data into your database?