Connecting Resend to Salesforce
Resend is modern developer email where templates live in your codebase, which makes sends easy to ship and equally easy to ship without anyone measuring them. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Resend message before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Resend to Salesforce: log the sends sales needs to see
Write only sales-relevant Resend sends, such as trial started, trial ending or payment failed, to the matching Lead or Contact as a Task or custom activity, keyed on the Salesforce record ID your app stores, with template name and version. Write hard bounces to a Contact field. Check validation rules and permissions. Conversions sent to ad platforms remain Opportunity outcomes.
Resend sends from your product, so sales reps in Salesforce usually have no idea which onboarding, trial or billing emails a prospect received. For product-led B2B that matters: a trial user who never got the activation email looks to a rep like someone ignoring them. Write key Resend sends to the matching Lead or Contact as a Task or custom activity, keyed on the Salesforce record ID your app stores, not on an email lookup.
Limit it to emails that change a sales conversation (trial started, trial ending, payment failed), with template name and version on the record. Logging every notification buries the activity timeline. Hard bounces from Resend webhooks are worth writing to a Contact field, since a dead address on an open Opportunity is a common reason a deal goes quiet.
Check that your org's validation rules and the integration user's permissions allow these Tasks to be created; the API can accept a request while a rule or permission blocks the result. Check whether a maintained Resend-to-Salesforce connector exists before assuming one; most teams write this in their own code or middleware. The conversion reported to ad platforms stays the Opportunity outcome, never an email activity.
Resend → Salesforce · what breaks
Why this join usually fails — Resend → Salesforce
- 01
The Lead or Contact identity never reaches Resend
No session, and the send is triggered by application logic that changes on the normal deploy cadence.
- 02
Email changes shipping invisibly with deploys
When templates are code, they change without a campaign calendar entry. A conversion rate shift gets attributed to media, creative or seasonality, and the actual cause was a reworded subject line in last Tuesday's release.
- 03
Writes that succeed and change nothing
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
- 04
Nothing reconciles afterwards
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Resend → Salesforce · the fix
What working looks like — Resend → Salesforce
The Lead or Contact identity on every message
Conversions arriving in Salesforce
The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.
Reconciled against the source
Resend → Salesforce · architecture
How Resend and Salesforce actually connect
- 1
Resend holds the truth
Templates in code means email changes ride along with deploys. A revenue change the week of a release may be the email, and nothing in the marketing stack will show that.
- 2
Salesforce needs a click to match
Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.
- 3
The identifier is the bridge
The Lead or Contact identity, captured at the visit and carried into the Resend message.
- 4
The event source decides reliability
Send orders, with the email template version attached where a send preceded the purchase.
- 5
Deduplication at the destination
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Resend → Salesforce · normal or broken
Working vs. broken, side by side — Resend → Salesforce
Normal, not a fault
The Lead or Contact identity present on the message
Sent from your order system
Deduplicated correctly
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The Lead or Contact identity missing on most records
No session, and the send is triggered by application logic that changes on the normal deploy cadence.
Sent from the browser
When templates are code, they change without a campaign calendar entry. A conversion rate shift gets attributed to media, creative or seasonality, and the actual cause was a reworded subject line in last Tuesday's release.
Counted twice, or not at all
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
Nobody has reconciled it
Resend → Salesforce · diagnose
Diagnostic order — Resend → Salesforce
- 01
Count messages carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Check the deploy log before diagnosing an unexplained conversion change
Cheap to check and it explains a genuine share of otherwise mysterious movements.
- 04
Write a test value and open the record in the UI
The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.
- 05
Read the match rate, not the success message
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Resend → Salesforce · prove
How it gets proven — Resend → Salesforce
Source of truth
Your order or application record, joined to the send.
- The Lead or Contact identity confirmed present on a live message.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Orders reconciled against imported conversions, with template versions recorded in the timeline.
Resend → Salesforce · free audit
What we check in the free audit
- Count messages carrying the Lead or Contact identity
- Follow one real conversion end to end
- Check the deploy log before diagnosing an unexplained conversion change
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Your order or application record, joined to the send.
Free30 minutesNo obligation
Resend → Salesforce · when not to buy
When you don't need this — Resend → Salesforce
- Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the Lead or Contact identity.
- If your emails rarely change, the versioning discipline costs more than it returns.
- If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.
Resend → Salesforce · what we deliver
What gets built — Resend → Salesforce
Identifier capture into Resend
Record the template version on the message so an email change is visible in the timeline alongside campaign changes.
Event source: your order system
Send orders, with the email template version attached where a send preceded the purchase.
Dispatch to Salesforce
API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.
Reversals where they exist
Refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your order or application record, joined to the send.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Resend → Salesforce questions, answered
Create a Task or custom activity on the Lead or Contact from your app when it sends key emails, keyed on the Salesforce record ID you store, with the template name and version.
Yes for hard bounces on active prospects or customers. Write them to a Contact field so reps can see why a deal or renewal went quiet.
Almost always because the Lead or Contact identity never reached the Resend message. No session, and the send is triggered by application logic that changes on the normal deploy cadence. Measure coverage before debugging the dispatch.
Salesforce resolves on its own record identity — a Lead, a Contact, or an Account — rather than on a click identifier. What you are doing here is attaching marketing context to a record so the pipeline carries it, which means the click identifier arrives as a custom field value rather than as a matching key. The hazard is duplicates: two Leads for one person means two records with half the history each.
Your order system. Send orders, with the email template version attached where a send preceded the purchase.
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
More on Resend → Salesforce
- Resend → Marketing CloudConnecting Resend to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where Resend → Salesforce fits in the rest of your tracking
- Postmark → SalesforceConnecting Postmark to Salesforce
- SendGrid → SalesforceConnecting SendGrid to Salesforce
- Mailgun → SalesforceConnecting Mailgun to Salesforce
- Resend → MarketoConnecting Resend to Marketo
- Resend → HubSpotConnecting Resend to HubSpot
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
Free · 30 min
Get Resend and Salesforce joined properly
Free30 minutesNo obligation
