All Collections
Integrations and API
Set up New Crossbeam Overlap Alerts in Salesforce
Set up New Crossbeam Overlap Alerts in Salesforce
Joy Rudnick avatar
Written by Joy Rudnick
Updated over a week ago

Follow the steps below to create overlap alerts in Salesforce.

In this article:


Option 1: Create Email Template

Click on the Setup icon in the top right corner:

image in Salesforce highlighting setup icon

From the search bar, type Email Templates and select Classic Email Templates:

image in Salesforce highlighting email templates in search bar

Next, create a new Email Template. Click on the New Templates button.

image in Salesforce highlighting  new template button

Under Choose the type of email template, select Text and click next.

Additional email template options can be viewed here.

image in Salesforce highlighting  new template workspace

In the next screen, fill in: Email Template Name, Subject, and Email Body.

Check the Available For Use checkbox.

To provide a link to the Overlap record:

  • open an existing Overlap record and replace the Id in the link with

    • {!xbeamprod__Crossbeam_Overlap__c.Id}

Click Save.

image in Salesforce highlighting information input for email template


Create Email Alerts

Create two Email Alerts: one for Account Owner and the other for Lead Owner.

  • In the search bar, type Email Alert and select Email Alerts from the dropdown options

image in Salesforce highlighting email alerts

  • Click New Email Alert to create a new Email Alert.

  • Name your first Email Alert as New Overlap Notification - Account Owner

    • Description: New Overlap Notification - Account Owner

    • Object: Crossbeam Overlap

    • Email Template: New Overlap Notification

    • Recipient Type: Account Owner (Move “Account Owner” from Available Recipients to Selected Recipients)

    • From Email Address: Current User’s email address (Select Org-Wide email address if applicable)

    • Click Save & New

  • Name your second Email Alert as New Overlap Notification - Lead Owner

    • Description: New Overlap Notification - Lead Owner

    • Object: Crossbeam Overlap

    • Email Template: New Overlap Notification

    • Recipient Type: Related Lead or Contact Owner (Move “Lead or Contact Owner” from Available Recipients to Selected Recipients)

    • From Email Address: Current User’s email address (Select Org-Wide email address if applicable)

    • Click Save.


Create a Flow

In the search box, type in Flow and select Flows from the dropdown options.

image in Salesforce highlighting create flows

  • Click New Flow on the top right to create a new Flow.

  • Select Record-Triggered Flow and click Next. Select Auto-Layout and click Next.

  • In Configure Start:

    • Object: Crossbeam Overlap

    • Configure Trigger: A record is created

    • Optimize the Flow for: Actions and Related Records

image in Salesforce highlighting configure start

  • Click the “+” to add a “Decision” element

    • Label: Account or Lead

    • There should be 3 Outcomes

      • Account

        • Label = Account

        • Condition Requirements to Execute Outcome = All Conditions Are Met (AND)

        • {!$Record.xbeamprod__Account__c} Is Null = {!$GlobalConstant.False}

      • Lead

        • Label = Lead

        • Condition Requirements to Execute Outcome = All Conditions Are Met (AND)

        • {!$Record.xbeamprod__Account__c} Is Null = {!$GlobalConstant.True}

        • {!$Record.xbeamprod__Lead__c} Is Null = {!$GlobalConstant.False}

      • Default Outcome

image in Salesforce highlighting decision element

image in Salesforce highlighting sets to add decision

  • Click the “+” under the Account Path and select Action

    • Search for New Overlap Notification - Account Owner and select New Overlap Notification - Account Owner

    • Label = New Overlap Notification - Account Owner

    • Record Id = {!$Record.Id}

  • Click the “+” under the Lead Path and select “Action”

    • Search for “New Overlap Notification - Lead Owner” and select “New Overlap Notification - Lead Owner”

    • Label = New Overlap Notification - Lead Owner

    • Record Id = {!$Record.Id}

  • Save and activate the Flow. Your Flow should look something like this.

image in Salesforce highlighting flow path


Option 2: Create a Flow

In the search bar, type in Flow and select Flows.

image in Salesforce highlighting flows

  • Click New Flow on the top right to create a new Flow.

  • Select Record-Triggered Flow and click Next. Select Auto-Layout and click Next.

  • In Configure Start:

    • Object: Crossbeam Overlap

    • Configure Trigger: A record is created

    • Optimize the Flow for: Actions and Related Records

image in Salesforce highlighting the configure start process

  • Click “New Resource” under the “Toolbox” and select “Text Template”

  • Click New Resource under the Toolbox and select Formula

    • API Name = EmailAddressFormula

    • Data Type = Text

    • Formula = IF( {!$Record.xbeamprod__Account__c} != '', {!$Record.xbeamprod__Account__r.Owner.Email}, {!$Record.xbeamprod__Lead__r.Owner:User.Email} )

  • Click the “+” and select Action. Select Send Email.

    • Set the variable values like below:

image in Salesforce highlighting edit process for email

Click the Done button.

Your flow should look like this:

image in Salesforce highlighting what flow should look like when done

Did this answer your question?