Connecting Supabase Auth to Salesforce Marketing Cloud
Supabase Auth sits directly on your own Postgres database, which means the identity and the revenue can be joined with a query rather than through an integration. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the Supabase user before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Supabase user UUID as the Marketing Cloud Subscriber Key
Set the Marketing Cloud Subscriber Key to the Supabase auth UUID, not email, which users can change. A confirmed email isn't marketing consent, so add an explicit opt-in column and only insert opted-in rows into journey data extensions. Feed them from a scheduled query keyed on UUID plus event type, and leave password resets to Supabase.
Set the Marketing Cloud Subscriber Key to the Supabase auth user's UUID, not to the email. A Supabase user can change their email through the auth flow, and a Subscriber Key built on email turns that change into a second subscriber who receives every journey twice. If your org also runs Salesforce CRM, decide deliberately whether the Contact record stores the same UUID, because nothing links the two otherwise.
Consent is the gap this source does not fill. A confirmed email in Supabase means the address works, not that the person agreed to marketing. Add an explicit marketing opt-in column to your profile table, captured at signup, and only insert rows into a journey's data extension when that column is true; transactional messages such as password resets already come from Supabase's own auth emails and should stay there.
Feed the data extension from a scheduled query rather than from every auth event. A batch that inserts newly confirmed users, users who upgraded, and users whose subscriptions lapsed gives each journey a clean entry source, and because inserts can be retried, key the insert on the UUID plus the event type so a rerun updates rather than duplicates a journey entry.
Supabase Auth → Marketing Cloud · what breaks
Why this join usually fails — Supabase Auth → Marketing Cloud
- 01
The Subscriber Key never reaches Supabase Auth
OAuth flows redirect off-site and back, which can lose an identifier captured before login.
- 02
Building a pipeline for a join you could write in SQL
Teams reach for a CDP or an event pipeline to connect identity to revenue when both tables sit in the same database. The simplest correct answer is usually a scheduled query.
- 03
Two identity models treated as one
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
- 04
Nothing reconciles afterwards
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Supabase Auth → Marketing Cloud · the fix
What working looks like — Supabase Auth → Marketing Cloud
The Subscriber Key on every account
Conversions arriving in Marketing Cloud
The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.
Reconciled against the source
Supabase Auth → Marketing Cloud · architecture
How Supabase Auth and Marketing Cloud actually connect
- 1
Supabase Auth holds the truth
Because everything is in one Postgres instance, the join that most products build a pipeline for is a SQL statement here. That is a genuine advantage and it is frequently unused.
- 2
Salesforce Marketing Cloud needs a click to match
The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.
- 3
The identifier is the bridge
The Subscriber Key, captured at the visit and carried into the Supabase user.
- 4
The event source decides reliability
Send paid conversions from a query joining auth users to billing.
- 5
Deduplication at the destination
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Supabase Auth → Marketing Cloud · normal or broken
Working vs. broken, side by side — Supabase Auth → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the account
Sent from your own database
Deduplicated correctly
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Reconciles with the source
Actually broken
The Subscriber Key missing on most records
OAuth flows redirect off-site and back, which can lose an identifier captured before login.
Sent from the browser
Teams reach for a CDP or an event pipeline to connect identity to revenue when both tables sit in the same database. The simplest correct answer is usually a scheduled query.
Counted twice, or not at all
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
Nobody has reconciled it
Supabase Auth → Marketing Cloud · diagnose
Diagnostic order — Supabase Auth → Marketing Cloud
- 01
Count accounts carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 03
Check whether identity and billing are in the same database
If they are, most of the usual integration complexity is unnecessary.
- 04
Confirm what Subscriber Key is actually set to in this org
Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.
- 05
Read the match rate, not the success message
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Supabase Auth → Marketing Cloud · prove
How it gets proven — Supabase Auth → Marketing Cloud
Source of truth
Your own database, joining the auth user to the subscription or order table.
- The Subscriber Key confirmed present on a live account.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- Paid conversions reconciled by query against imported conversions, with identifier survival verified across OAuth.
Supabase Auth → Marketing Cloud · free audit
What we check in the free audit
- Count accounts carrying the Subscriber Key
- Follow one real conversion end to end
- Check whether identity and billing are in the same database
- Confirm what Subscriber Key is actually set to in this org
- Read the match rate, not the success message
Checked against
Your own database, joining the auth user to the subscription or order table.
Free30 minutesNo obligation
Supabase Auth → Marketing Cloud · when not to buy
When you don't need this — Supabase Auth → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the Subscriber Key.
- If billing lives in a separate system, the join is a real integration again and the advantage disappears.
- If you are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.
Supabase Auth → Marketing Cloud · what we deliver
What gets built — Supabase Auth → Marketing Cloud
Identifier capture into Supabase Auth
Persist the identifier before the OAuth redirect and write it onto the user row at first login, where it is then permanently queryable.
Event source: your own database
Send paid conversions from a query joining auth users to billing.
Dispatch to Marketing Cloud
A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.
Reversals where they exist
Cancellations reverse against the same user row.
Written guarantee
95%+ tracking accuracy
Measured against Your own database, joining the auth user to the subscription or order table.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Supabase Auth → Marketing Cloud questions, answered
The auth user's UUID. Email can change in Supabase, and an email-based key splits one person into two subscribers.
No. Confirmation proves the address works, not marketing consent. Store an explicit opt-in on the profile row and filter on it before inserting into a journey.
Almost always because the Subscriber Key never reached the Supabase user. OAuth flows redirect off-site and back, which can lose an identifier captured before login. Measure coverage before debugging the dispatch.
Marketing Cloud identifies people by Subscriber Key, which you define. It is not the CRM Contact ID unless somebody deliberately made it so, and in many orgs the two are unrelated. Sending an event keyed on the wrong one creates a second subscriber rather than updating the first, which splits the person across two journeys.
Your own database. Send paid conversions from a query joining auth users to billing.
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
More on Supabase Auth → Marketing Cloud
- Firebase Auth → Marketing CloudConnecting Firebase Authentication to Salesforce Marketing Cloud
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- PayPal → Marketing CloudConnecting PayPal to Salesforce Marketing Cloud
RELATED GUIDES
Where Supabase Auth → Marketing Cloud fits in the rest of your tracking
- Auth0 → Marketing CloudConnecting Auth0 to Salesforce Marketing Cloud
- Okta → Marketing CloudConnecting Okta to Salesforce Marketing Cloud
- Firebase Auth → Marketing CloudConnecting Firebase Authentication to Salesforce Marketing Cloud
- Supabase Auth → KlaviyoConnecting Supabase Auth to Klaviyo
- Supabase Auth → Customer.ioConnecting Supabase Auth to Customer.io
- B2BConversion tracking for B2B, from first touch to closed-won
- Clerk → Marketing CloudConnecting Clerk to Salesforce Marketing Cloud
Free · 30 min
Get Supabase Auth and Marketing Cloud joined properly
Free30 minutesNo obligation
