Skip to main content
Salesforce → PartnerStackIntegration guide

Connecting Salesforce to PartnerStack

Salesforce holds the opportunity, the amount and the close — the only place the actual revenue outcome is recorded. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the Salesforce Lead or Opportunity before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

PartnerStack referral keys through Salesforce to recurring revenue

Make sure PartnerStack's referral key reaches the Salesforce Lead and survives conversion, using its Salesforce integration if enabled. Don't commission on Opportunity Amount; send recurring revenue from billing and use Salesforce only to mark the customer won, sharing a key such as the billing customer ID on the Account. Exclude renewal opportunities, and report Closed Lost renewals as cancellations.

PartnerStack partners for B2B SaaS refer a lead, a rep closes it in Salesforce, and the partner is paid on the subscription afterwards. Check whether your PartnerStack account uses its Salesforce integration for lead and deal tracking; if so, the job is making sure the referral key reaches the Lead and survives conversion, not building a separate pipe.

The trap is the Opportunity Amount. It is often total contract value, or annual value with onboarding and services bundled in, and neither is what partners are commissioned on. Send recurring revenue from the billing system as it is recognized, and use Salesforce only to mark the customer as won. That only works if PartnerStack's customer key is the same across both, for example the billing customer ID stored on the Salesforce Account.

Renewals cause duplicates. Many orgs create a new opportunity for each renewal, and a flow that posts every Closed Won opportunity as a new customer creates a second commissionable relationship for the same account each year. Exclude renewal record types or types from the customer flow and let billing carry the revenue. A renewal opportunity Closed Lost is a cancellation, so make sure it reaches PartnerStack as one.

Salesforce → PartnerStack · what breaks

Why this join usually fails — Salesforce → PartnerStack

  1. 01

    The PartnerStack referral key never reaches Salesforce

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  2. 02

    The identifier is lost at lead conversion

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  3. 03

    A commission that recurs on revenue that stopped

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  4. 04

    Nothing reconciles afterwards

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Salesforce → PartnerStack · the fix

What working looks like — Salesforce → PartnerStack

  • The PartnerStack referral key on every opportunity

  • Conversions arriving in PartnerStack

    The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.

  • Reconciled against the source

Salesforce → PartnerStack · architecture

How Salesforce and PartnerStack actually connect

  1. 1

    Salesforce holds the truth

    The opportunity carries the amount, stage and close date. Because Leads convert into Contacts, Accounts and Opportunities, the identifier must be mapped through the conversion or it is dropped exactly at the moment the record becomes valuable.

  2. 2

    PartnerStack needs a click to match

    PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.

  3. 3

    The identifier is the bridge

    The PartnerStack referral key, captured at the visit and carried into the Salesforce Lead or Opportunity.

  4. 4

    The event source decides reliability

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  5. 5

    Deduplication at the destination

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

Salesforce → PartnerStack · normal or broken

Working vs. broken, side by side — Salesforce → PartnerStack

Normal, not a fault

  • The PartnerStack referral key present on the opportunity

  • Sent from a Salesforce flow, Apex trigger or scheduled export on StageName change

  • Deduplicated correctly

    Deduplication is on your customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.

  • Reconciles with the source

Actually broken

  • The PartnerStack referral key missing on most records

    Lead conversion is where identifiers die. A custom field on Lead that has no mapped counterpart on Contact or Opportunity is silently discarded when the Lead converts, and nobody notices until months of data are unattributable.

  • Sent from the browser

    This one failure explains most broken Salesforce attribution. The data is captured correctly, then thrown away by a mapping nobody configured.

  • Counted twice, or not at all

    The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.

  • Nobody has reconciled it

Salesforce → PartnerStack · diagnose

Diagnostic order — Salesforce → PartnerStack

  1. 01

    Count opportunitys carrying the PartnerStack referral key

  2. 02

    Follow one real conversion end to end

  3. 03

    Convert a test Lead and inspect the resulting Opportunity

    If the identifier is not on the Opportunity, the field mapping is missing. This takes five minutes and rules out the most likely cause outright.

  4. 04

    Check whether churn events reach PartnerStack at all

    In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.

  5. 05

    Read the match rate, not the success message

    PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.

Salesforce → PartnerStack · prove

How it gets proven — Salesforce → PartnerStack

Source of truth

A Salesforce report of Closed Won opportunities for the same window, by close date.

  • The PartnerStack referral key confirmed present on a live opportunity.
  • Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
  • A test lead converted end to end with the identifier confirmed present on the resulting opportunity.

Salesforce → PartnerStack · free audit

What we check in the free audit

  • Count opportunitys carrying the PartnerStack referral key
  • Follow one real conversion end to end
  • Convert a test Lead and inspect the resulting Opportunity
  • Check whether churn events reach PartnerStack at all
  • Read the match rate, not the success message

Checked against

A Salesforce report of Closed Won opportunities for the same window, by close date.

Get my free conversion tracking audit

Free30 minutesNo obligation

Salesforce → PartnerStack · when not to buy

When you don't need this — Salesforce → PartnerStack

  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the PartnerStack referral key.
  • If your Salesforce instance is heavily customized and administered by another team, scope their availability before commissioning this — the build is usually blocked on admin access rather than on the tracking work.
  • If you run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.

Salesforce → PartnerStack · what we deliver

What gets built — Salesforce → PartnerStack

  • Identifier capture into Salesforce

    Custom field on Lead, matching custom field on Contact and Opportunity, and the field mapping configured so conversion carries it across. Verify by converting a test lead and reading the resulting opportunity.

  • Event source: a Salesforce flow, Apex trigger or scheduled export on StageName change

    Fire on the transition into Closed Won, carrying the amount and the identifier. Note that Salesforce's own advertising integrations vary in what they support — build on the record, not on a connector that might change.

  • Dispatch to PartnerStack

    Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.

  • Reversals where they exist

    An opportunity moved back out of Closed Won can be retracted, and enterprise pipelines do this often enough to be worth wiring.

Written guarantee

95%+ tracking accuracy

Measured against A Salesforce report of Closed Won opportunities for the same window, by close date.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Salesforce → PartnerStack questions, answered

Usually not, because it often includes multi-year value or services. Report recurring revenue from billing and use Salesforce to mark the deal as won.

Free · 30 min

Get Salesforce and PartnerStack joined properly

Free30 minutesNo obligation