Skip to main content
Postmark → SalesforceIntegration guide

Connecting Postmark to Salesforce

Postmark sends transactional email — receipts, confirmations, password resets — which means it is a record that a message about a conversion was sent, not a record of the conversion. 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 Postmark 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

Postmark bounces on Salesforce records, not in the pipeline

Write Postmark hard bounces, spam complaints and failed password resets to Salesforce Contact custom fields, matched via the Contact ID or your customer ID placed in Postmark message metadata, not email. Test a record in the UI since validation rules can silently reject updates. Don't create Activities for every delivered receipt or touch Opportunities and Campaign influence.

Salesforce is a reasonable home for some Postmark data, because sales and support work there and need to know when a customer's email is not arriving. A hard bounce or spam complaint written onto the Contact tells an account manager to stop relying on that address, which is useful operational context. It is not marketing attribution and should not touch Opportunities or Campaign influence.

Match on something sturdier than email. Include the Salesforce Contact ID, or your own customer ID that Salesforce stores, in the Postmark message metadata at send time, so the webhook can write to exactly one record. Matching on recipient email fails whenever duplicate Leads and Contacts share an address, which in most orgs is often. Write to custom fields, then open a test record in the UI, since validation rules can reject the update while the API reports success.

Do not create Activities for every delivered receipt. Thousands of routine sends bury the timeline sales actually reads and inflate any engagement scoring that counts activities. Bounces, complaints and failed password resets are worth recording; successful deliveries are not. Conversions still come from the order or Opportunity, never from an email event.

Postmark → Salesforce · what breaks

Why this join usually fails — Postmark → Salesforce

  1. 01

    The Lead or Contact identity never reaches Postmark

    There is no browser session and no click. A transactional send is a server event about an order that already happened.

  2. 02

    Email opens treated as engagement worth optimizing

    Transactional open rates are high because people want their receipt. Optimizing anything toward them measures how much people like being told their order shipped.

  3. 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.

  4. 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.

Postmark → Salesforce · the fix

What working looks like — Postmark → 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

Postmark → Salesforce · architecture

How Postmark and Salesforce actually connect

  1. 1

    Postmark holds the truth

    The receipt and the order are different objects. Attributing revenue from an email send means your reported revenue depends on your email deliverability, which is not a relationship anyone wants.

  2. 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. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the Postmark message.

  4. 4

    The event source decides reliability

    Send orders. Delivery and open data belong in an operational report, not a conversion.

  5. 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.

Postmark → Salesforce · normal or broken

Working vs. broken, side by side — Postmark → 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

    There is no browser session and no click. A transactional send is a server event about an order that already happened.

  • Sent from the browser

    Transactional open rates are high because people want their receipt. Optimizing anything toward them measures how much people like being told their order shipped.

  • 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

Postmark → Salesforce · diagnose

Diagnostic order — Postmark → Salesforce

  1. 01

    Count messages carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm no transactional email event reaches an ad platform

    The right number is zero, and a surprising number of accounts have receipts wired as conversions.

  4. 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.

  5. 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.

Postmark → Salesforce · prove

How it gets proven — Postmark → Salesforce

Source of truth

Your order system. Postmark confirms the receipt went out; it does not know what was bought.

  • 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 transactional email events absent.

Postmark → 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
  • Confirm no transactional email event reaches an ad platform
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Your order system. Postmark confirms the receipt went out; it does not know what was bought.

Get my free conversion tracking audit

Free30 minutesNo obligation

Postmark → Salesforce · when not to buy

When you don't need this — Postmark → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the Lead or Contact identity.
  • Transactional email needs monitoring, not attribution. Watch bounce and delivery rates, and keep it out of the conversion pipeline.
  • 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.

Postmark → Salesforce · what we deliver

What gets built — Postmark → Salesforce

  • Identifier capture into Postmark

    Attribute at the order, and use Postmark's delivery data only to confirm the customer was actually told.

  • Event source: your order system

    Send orders. Delivery and open data belong in an operational report, not a conversion.

  • 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 at the order, not at the email.

Written guarantee

95%+ tracking accuracy

Measured against Your order system. Postmark confirms the receipt went out; it does not know what was bought.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Postmark → Salesforce questions, answered

Put the Salesforce Contact ID in the message metadata when sending, then have the bounce webhook update a custom field on that Contact. Verify the write in the UI.

Free · 30 min

Get Postmark and Salesforce joined properly

Free30 minutesNo obligation