Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Referral Marketing
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Example Flows to Track B2B Referrals Across Sales Lifecycle

          Example Flows to Track B2B Referrals Across Sales Lifecycle

          Design flows that progressively track B2B referrals provided by customers and partners as referred businesses advance through sales lifecycle stages. For example, the flow can track the progression of referrals from lead generation to opportunity closure or from opportunity generation to first order fulfillment. B2B Referral Management provides businesses the flexibility to plug their referral programs in any type of B2B sales lifecyle. In this example, two reference flows are designed to visualize how partner referrals are tracked across the referral lifecycle during the lead to opportunity sales lifecycle and how partners are paid out for successful referrals.

          Required Editions

          Available in: Lightning Experience
          Available in: EnterprisePerformance, Unlimited, and Developer Editions with Referral Marketing
          Available in: EnterprisePerformance, and Unlimited Editions with Partner Ecosystem Management - Members or Partner Ecosystem Management - Login. Learn more about Referral Marketing with Partner Ecosystem management.

          Tracking Referrals Lead Generation to Lead Qualification

          Admins can create a flow that tracks B2B referrals right from inception when leads are generated from partner referrals until the sales team qualifies the lead. A record-triggered flow with the Process B2B Referral Event action makes sure that partners' referrals are always tracked, regardless of whether the lead is generated from the partner portal or offline.

          Image of sample flow to track referral activity for lead generation.
          Flow Stage Configuration
          Trigger condition (1)
          • Source object: Lead
          • Trigger: When a lead is created or updated
          • Entry conditions:
            • Lead is sourced from a partner
            • Lead has a referral code

          Referral Code is a custom field on Lead and this flow considers that partner referral code is added to leads generated from referrals.

          Lead status assessment (2) A Decision element checks whether the current status of the lead is New or Qualified.
          Outcome for new leads (3)

          The Process B2B Referral Event action is used to track a Refer type activity for the referral.

          The action takes the lead's referral code and referral time as input and creates a Referral record as output.

          Outcome for qualified leads (4)

          The Process B2B Referral Event action is used to track a Qualify type activity for the referral.

          The action takes the lead's referral code, qualification date time, account ID, and converted opportunity ID as input and updates the promotion stage of the lead's Referral record to Referral Qualifies as output.

          Rewarding Partners for Successful Referrals

          Admins can create a flow that rewards partners when leads generated from their B2B referrals result in won opportunities. A record-triggered flow with the Process B2B Referral Event action makes sure that partners are instantly rewarded when opportunities generated from their referrals result in a positive outcome for the sales team.

          Image of sample flow to track referral activity for lead generation.
          Flow Stage Configuration
          Trigger condition (1)
          • Source object: Opportunity
          • Trigger: When an opportunity is created or update
          • Entry conditions:
            • Opportunity stage is Closed Won
            • Opportunity has a referral code

          Referral Code is a custom field on Opportunity and this flow considers that partner referral code is added to opportunities when leads generated from referrals are converted to opportunities.

          Referral lifecycle closure (2)

          The Process B2B Referral Event action is used to track a Closure type activity for the referral.

          The action takes the opportunity's referral code, closure date time, amount, account ID, and ID as input and updates:

          • The promotion stage of the lead's Referral record to Referral Closure/Converts
          • Issues a referral reward for the partner with the New status
          Partner payout (3)

          The next three elements:

          • Gets the referral record to find the record for the issued reward
          • Gets the issued reward
          • Updates the partner's reward with these changes:
            • Calculates payout value based on opportunity amount and payout percentage
            • Sets reward status to Issued
            • Changes the date on which the reward value can be paid out
          Tip
          Tip You can design nuanced flows based on what your company considers as eligible referrals and successful referral conversion. For example, the flow that initiates the referral lifecycle can filter referrals based on the annual revenue of the referred businesses. The flow that closes the lifecycle of referrals can have advanced conditions that only reward advocates when the final deal with the referred business is of a particular size.
           
          Loading
          Salesforce Help | Article