← View All Guides
Salesforce logo
Integration Guide

How to Attribute Salesforce Opportunities to Referrals with GrowSurf

Use GrowSurf's Salesforce Referral Trigger to credit referrals when an opportunity reaches the stage that actually matters to your pipeline.

Want the full setup walkthrough?

Use these docs for exact setup steps, supported fields, and troubleshooting.

GrowSurf's Salesforce integration handles two separate jobs: it can sync GrowSurf participant fields onto Salesforce contacts, and it can trigger a referral when an opportunity moves into the Salesforce stage you select.

For attribution, the important setup is the Referral Trigger. Salesforce supplies the opportunity-stage signal, while GrowSurf still decides whether the participant match is valid, credits the referrer, and unlocks any referral rewards tied to that conversion.

Integration Steps

Connect Salesforce from GrowSurf's Integrations step

GrowSurf Campaign Editor integrations step with the Connect to Salesforce button
Start in Campaign Editor > 4. Options > Integrations, then connect Salesforce before you configure any opportunity-stage logic.

Connect Salesforce in GrowSurf first, and make sure the Salesforce user you authorize can create custom fields, assign field permissions, and manage contacts. GrowSurf uses that connection for both contact-field sync and referral-trigger settings.

Turn on the Salesforce Referral Trigger and pick the right opportunity stage

Salesforce Referral Trigger tab in GrowSurf
The Salesforce integration keeps Referral Trigger separate from Sync Data, so you can control attribution without changing your contact layouts first.
GrowSurf dropdown for selecting a Salesforce opportunity stage
Use the Select a Salesforce opportunity stage control to choose the point in your pipeline that should count as a qualified referral.

Choose the Salesforce opportunity stage that represents a real referral win for your business. Common choices are the first stage that proves sales acceptance, enrollment, or revenue qualification rather than an early exploratory stage.

Add a hold period if late-stage opportunities still fall through

GrowSurf Salesforce advanced settings showing referral trigger hold period options
The Show advanced settings area lets you delay credit if you want to make sure the opportunity stays in that stage long enough to count.

If your team sees opportunities reach a target stage and then drop back out, turn on a referral trigger hold period. GrowSurf will cancel the referral if the opportunity does not remain in the chosen stage through that hold window.

Make sure the opportunity can be matched to a GrowSurf participant

GrowSurf checks the email addresses on the contacts associated with the Salesforce opportunity. For attribution to work, at least one of those contacts must already exist as a participant in the GrowSurf campaign.

  • Keep participant creation turned on before referrals start reaching Salesforce.
  • Confirm the opportunity has one or more associated contacts.
  • Use the same email identity in Salesforce and GrowSurf so the participant match is unambiguous.

Validate the attribution in GrowSurf activity logs before you trust the report

Salesforce stage-change events are processed asynchronously. During testing, update a known opportunity, wait for GrowSurf to receive the event, and inspect the participant activity log before you assume the referral should have credited instantly.

Tips

Use a stage that reflects real referral value

Pick the opportunity stage that represents your actual conversion point, not the earliest stage that merely signals interest. That keeps GrowSurf credit aligned with the business outcome you care about.

Keep referral logic in GrowSurf, not in Salesforce formulas

Salesforce should provide the opportunity-stage event and the CRM context. Let GrowSurf handle participant matching, referral credit, and reward eligibility so you do not create a second attribution system.

Plan for asynchronous processing while testing

If a stage change does not appear immediately, open the participant's GrowSurf activity log first. Salesforce sends these updates asynchronously, and GrowSurf may need a short delay before it can process the event.

FAQ

Does GrowSurf trigger a referral from any Salesforce opportunity?

No. GrowSurf only triggers the referral when an opportunity exists, that opportunity has one or more associated contacts, and at least one of those contacts already matches a participant in the connected GrowSurf campaign.

Can I delay referral credit after the opportunity reaches the chosen stage?

Yes. The Salesforce Referral Trigger settings in GrowSurf include an optional hold period. If the opportunity drops out of the selected stage during that hold window, GrowSurf cancels the referral instead of crediting it.

Do I need Salesforce contact-field sync to use stage-based attribution?

No. Sync Data and Referral Trigger are configured separately. Use Sync Data when you also want GrowSurf fields such as share URL or referral status on Salesforce contacts, but the stage-based trigger itself is its own setting.

Set up your refer a friend program with customer referral and affiliate program software that lowers your acquisition costs, increases customer loyalty, and saves you gobs of time.

Trusted by marketing and product teams at fast-growing B2C, fintech, and SaaS companies