Connecting SendGrid to Salesforce Marketing Cloud
SendGrid carries both transactional and marketing mail through one account, which is convenient operationally and the source of the measurement problem: only one of those two streams has anything to do with acquisition. 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 SendGrid send 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
SendGrid next to Marketing Cloud: Subscriber Key and opt-out sync
With Marketing Cloud handling journeys and SendGrid sending app mail, include the Marketing Cloud Subscriber Key in SendGrid custom arguments so Event Webhook events write back to the right subscriber. Sync unsubscribes and spam complaints both ways for any marketing still on SendGrid. Check post-purchase journeys don't duplicate SendGrid confirmations, and keep transactional sends out of engagement reporting.
Marketing Cloud is an email platform in its own right, so this pair almost always means two senders: Marketing Cloud for marketing journeys and SendGrid for mail your application sends, such as receipts, alerts and password resets. The integration that matters is keeping the two consistent about who the person is and whether they agreed to marketing.
Start with identity. Marketing Cloud keys people on the Subscriber Key your org chose, often not an email address. When your app sends through SendGrid, include that key in the custom arguments so SendGrid Event Webhook events can be written back to the right subscriber rather than looked up by email, which fails whenever someone has changed address. If any marketing still goes out through SendGrid, its unsubscribes and spam complaints must reach Marketing Cloud's subscriber status, and the reverse.
Then decide who sends what. If a purchase lands in a Marketing Cloud data extension that starts a post-purchase journey, check that it does not duplicate a confirmation your app already sends through SendGrid. And keep transactional SendGrid sends out of Marketing Cloud's engagement reporting, or a customer reading receipts looks like an engaged subscriber when deciding who gets the next campaign.
SendGrid → Marketing Cloud · what breaks
Why this join usually fails — SendGrid → Marketing Cloud
- 01
The Subscriber Key never reaches SendGrid
Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.
- 02
Receipt clicks credited to email marketing
A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.
- 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.
SendGrid → Marketing Cloud · the fix
What working looks like — SendGrid → Marketing Cloud
The Subscriber Key on every message
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
SendGrid → Marketing Cloud · architecture
How SendGrid and Marketing Cloud actually connect
- 1
SendGrid holds the truth
A receipt and a promotional campaign are both an email in the same account. Only the campaign can plausibly have caused a purchase, and only if the purchase carries the campaign's identifier.
- 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 SendGrid send.
- 4
The event source decides reliability
Send orders with the marketing campaign attributed where a tagged click preceded them.
- 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.
SendGrid → Marketing Cloud · normal or broken
Working vs. broken, side by side — SendGrid → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the message
Sent from your order system
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
Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.
Sent from the browser
A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.
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
SendGrid → Marketing Cloud · diagnose
Diagnostic order — SendGrid → Marketing Cloud
- 01
Count messages carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 03
Check whether transactional links carry campaign parameters
If they do, every receipt click is being credited to email and the channel's reported performance is inflated.
- 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.
SendGrid → Marketing Cloud · prove
How it gets proven — SendGrid → Marketing Cloud
Source of truth
Your order system, with marketing sends distinguished from transactional ones.
- The Subscriber Key confirmed present on a live message.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- Orders from tagged marketing clicks reconciled against imported conversions, with transactional traffic excluded.
SendGrid → Marketing Cloud · free audit
What we check in the free audit
- Count messages carrying the Subscriber Key
- Follow one real conversion end to end
- Check whether transactional links carry campaign parameters
- Confirm what Subscriber Key is actually set to in this org
- Read the match rate, not the success message
Checked against
Your order system, with marketing sends distinguished from transactional ones.
Free30 minutesNo obligation
SendGrid → Marketing Cloud · when not to buy
When you don't need this — SendGrid → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the Subscriber Key.
- If you send only transactional mail, there is no marketing channel here to measure.
- 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.
SendGrid → Marketing Cloud · what we deliver
What gets built — SendGrid → Marketing Cloud
Identifier capture into SendGrid
Tag marketing links explicitly and attribute purchases from those; treat transactional traffic as returning customers, not as a channel.
Event source: your order system
Send orders with the marketing campaign attributed where a tagged click preceded them.
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
Refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, with marketing sends distinguished from transactional ones.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
SendGrid → Marketing Cloud questions, answered
Yes, typically SendGrid for application mail and Marketing Cloud for journeys, with Subscriber Key passed in SendGrid custom arguments and opt-outs synced both ways.
Include the Subscriber Key in each SendGrid message's custom arguments so webhook events can be written to the right subscriber.
Almost always because the Subscriber Key never reached the SendGrid send. Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain. 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 order system. Send orders with the marketing campaign attributed where a tagged click preceded them.
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 SendGrid → Marketing Cloud
- Stripe → Marketing CloudConnecting Stripe to Salesforce Marketing Cloud
- PayPal → Marketing CloudConnecting PayPal to Salesforce Marketing Cloud
- Shopify → Marketing CloudConnecting Shopify to Salesforce Marketing Cloud
RELATED GUIDES
Where SendGrid → Marketing Cloud fits in the rest of your tracking
- Postmark → Marketing CloudConnecting Postmark to Salesforce Marketing Cloud
- Resend → Marketing CloudConnecting Resend to Salesforce Marketing Cloud
- Mailgun → Marketing CloudConnecting Mailgun to Salesforce Marketing Cloud
- SendGrid → BrazeConnecting SendGrid to Braze
- SendGrid → IterableConnecting SendGrid to Iterable
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
Free · 30 min
Get SendGrid and Marketing Cloud joined properly
Free30 minutesNo obligation
