Table of Contents
Introduction
Welcome to the RB2B and Salesforce integration playbook! This guide will walk you through the steps to connect these powerful platforms and unlock valuable insights about your website visitors.
By integrating RB2B with Salesforce, you can:
Identify and track key decision-makers visiting your website.
Enrich your Salesforce contacts with valuable data from RB2B.
Create targeted workflows and automate your sales and marketing outreach.
Gain a deeper understanding of your audience and their behavior.
Improve lead generation, conversion rates, and overall sales performance.
Understanding RB2B Data in Salesforce
Lead and Account Sources:
RB2B automatically sets "RB2B" as the Lead Source for new Contacts and the Account Source for new Accounts in Salesforce if RB2B was the original source of identification. This allows you to easily track and report on Contacts and Accounts that originated from RB2B. More informationPage View Activity:
RB2B utilizes Salesforce's Tasks feature to display a Contact's recent page view activity. A Contact's list of recent page views, as recorded by RB2B, can be found as individual Tasks recorded in the Contact's Activity. The same information list displayed as a Task on the Contact's Account. More information
How to Run Reports on RB2B-Sourced Leads and Accounts
The following operators allow you to type a custom value when defining your Lead/Contact source and are recommended for use, all other operators require the use of Salesforce's picklist:
Contains
Does Not Contain
Starts With
To manually add "RB2B" as a Lead Source option in your picklists, follow the instructions in this article.
To generate a report showing all Contacts or Accounts that RB2B identified, follow these steps:
For Contacts (Lead Source Contains
RB2B)
Navigate to Reports in Salesforce.
Click New Report and select Contacts & Accounts as the report type.
Click Filters and find the Lead Source field.
Set the filter to Lead Source
Contains
RB2B.Click Run Report to view a list of all Contacts sourced by RB2B.
For Accounts (Account Source CONTAINS RB2B)
Go to Reports and create a New Report.
Choose Accounts as the report type.
Under Filters, locate Account Source.
Set the filter to Account Source
Contains
RB2B.Run the report to see all Accounts that RB2B has sourced.
This allows you to measure RB2B’s impact on your lead generation and track how these leads and accounts progress through your sales funnel.
Creating a Flow for Accounts with RB2B as the Account Source
Workflows require the use of an Equals
operator which is reliant on "RB2B" first being set as a picklist value in your Salesforce instance. To manually add "RB2B" as a Lead Source option in your picklists, follow the instructions in this article.
This can be combined with the Creating a Record-Triggered Flow for a "Webpage View" Task for Specific URLs tutorial below.
Step 1: Navigate to Flow Builder
In Salesforce, click the gear icon and select Setup.
In the Quick Find bar, type Flows and select Flows.
Click New Flow and choose Record-Triggered Flow.
Click Create.
Step 2: Configure the Flow Trigger
Choose Object: Select Account.
Trigger the Flow When: Choose A record is created or updated.
Set Entry Conditions:
Field:
Account Source
Operator:
Equals
Value:
RB2B
Click Done.
Step 3: Define Flow Actions
Now, choose what you want to happen when an Account meets this condition. Some examples:
Notify a sales rep (send an email).
Assign the Account to a specific user or queue.
Create a follow-up task for the Account.
Update a custom field to flag the Account as an RB2B-identified lead.
Step 4: Save & Activate
Click Save, name the Flow (e.g., "Tag RB2B Accounts").
Click Activate.
Creating a Flow for Contacts with RB2B as the Lead Source
Workflows require the use of an Equals
operator which is reliant on "RB2B" first being set as a picklist value in your Salesforce instance. To manually add "RB2B" as a Lead Source option in your picklists, follow the instructions in this article.
Step 1: Navigate to Flow Builder
In Salesforce, click the gear icon and select Setup.
In the Quick Find bar, type Flows and select Flows.
Click New Flow and choose Record-Triggered Flow.
Click Create.
Step 2: Configure the Flow Trigger
Choose Object: Select Contact.
Trigger the Flow When: Choose A record is created or updated.
Set Entry Conditions:
Field:
Lead Source
Operator:
Equals
Value:
RB2B
Click Done.
Step 3: Define Flow Actions
Just like the Account flow, decide what should happen when a Contact meets this condition. Possible actions:
Send an alert to a sales rep.
Automatically assign the Contact to a sales team.
Mark the Contact as an "RB2B Identified Lead" using a checkbox field.
Trigger an email sequence.
Step 4: Save & Activate
Click Save, name the Flow (e.g., "Tag RB2B Contacts").
Click Activate.
How to Run Reports for a "Webpage View" Task For Specific URLs
If you just need to find tasks where the Comments (Description) contain a specific URL, you can use a report:
Go to Reports in Salesforce.
Click New Report and select Tasks & Events as the report type.
Click Filters and apply the following conditions:
Field:
Subject
→ Operator:Contains
→ Value:[your URL or keyword]
.Field:
Type
→ Operator:Equals
→ Value:Web Activity
.
Click Run Report to see all matching tasks.
This allows you to manually pull a list of all "Webpage View" tasks where the comments contain a specific URL or keyword.
Creating a Record-Triggered Flow for a "Webpage View" Task for Specific URLs
This can be combined with the Creating a Flow for Accounts with RB2B as the Account Source and Creating a Flow for Contacts with RB2B as the Lead Source tutorials above.
Step 1: Create a Record-Triggered Flow
In Setup, go to Flows.
Click New Flow and select Record-Triggered Flow.
Click Create.
Step 2: Configure the Trigger Conditions
Object: Select Task.
Trigger the Flow When:
A record is created or updated
.Set Entry Conditions:
Field:
Subject
→ Operator:Contains
→ Value:Webpage View
Field:
Description (or Comments)
→ Operator:Contains
→ Value:[your URL or keyword]
.
Click Done.
Step 3: Define the Action (What Happens Next?)
Now, decide what should happen when a matching "Webpage View" Task is found. Some options:
Send an email notification to a sales rep.
Create a follow-up Task for the related Contact or Account.
Creating a Flow for Repeat Visitors
Step 1: Create a Record-Triggered Flow
Go to Setup → Search for Flows → Click New Flow.
Choose Record-Triggered Flow and click Create.
Set Up the Trigger:
Object: Select Task.
Trigger When: Choose A record is created.
Entry Condition:
Field:
Subject
→ Operator:Contains
→ Value:Webpage View
Click Done.
Step 2: Check for a Previous Webpage View Within X Days
Click + and select Get Records to find previous tasks.
Set Object:
Task
.Filter Conditions:
Field:
Subject
→ Operator:Contains
→ Value:Webpage View
WhoId (for Contacts) or
WhatId
(for Accounts) ={!$Record.WhoId}
/{!$Record.WhatId}
(Ensures we are looking at the same person or company.)Created Date = "Last X days" → Use:
CreatedDate >= TODAY() - X
(Replace "X" with the number of days required).
Sort by:
CreatedDate DESC
(So we get the most recent task first.)Limit: 1 (To check only the most recent previous Webpage View.)
Click Done.
Step 3: Add a Decision Element to Check If a Repeat Visit Exists
Click + and select Decision.
Label: "Is this a repeat visitor?"
Create Two Outcomes:
Yes (Repeat Visitor Found) → If the Get Records step returned a task
No (First Visit or No Recent Visit) → If no task was found
Click Done.
Step 4: Take Action for Repeat Visitors
For the "Yes (Repeat Visitor Found)" path, you can:
Notify a Sales Rep → Create an Email Alert.
Mark the Contact or Account as a Repeat Visitor → Update a field.
Create a Follow-Up Task → Assign the visitor to a rep for outreach.
For the "No (First Visit)" path, you can just let the Flow end.
Step 5: Save & Activate the Flow
Click Save, name the Flow (e.g., "Detect Repeat Website Visitors").
Click Activate.
Website Visitor Notifications for Account Owners
To set up a notification for an Account Owner when a "Webpage View" is created in an Account that they own, follow these steps:
Step 1: Create a Record-Triggered Flow
Go to Setup → Search for Flows → Click New Flow.
Select Record-Triggered Flow and click Create.
Set the Trigger Conditions:
Object:
Task
Trigger When:
A record is created
Entry Conditions:
Field:
Subject
→ Operator:Equals
→ Value:Webpage View
Click Done.
Step 2: Get the Contact’s Account & Owner
Click + → Select Get Records.
Label: "Get Related Contact"
Object:
Contact
Filter Conditions:
Id = {!$Record.WhoId} (This links the Task to the Contact)
Store Field Values:
AccountId
→ Stores the Contact’s related Account.
Click Done.
Get the Account Owner
Click + → Select Get Records again.
Label: "Get Account Owner"
Object:
Account
Filter Conditions:
Id = {!Get Related Contact.AccountId}
Store Field Values:
OwnerId
→ This is the Account Owner.
Click Done.
Step 3: Send an Email Alert to the Account Owner
Click + → Select Action.
Search for: "Send Email" → Select "Send Email Alert".
Label: "Notify Account Owner of Webpage View"
Email Alert: If you already have an email template for this, select it. If not:
Go to Setup → Search for Email Alerts → Click New Email Alert.
Create an alert using Account Owner as the recipient.
Recipient:
{!Get Account Owner.OwnerId}
Subject: "A Contact in Your Account Visited the Website"
Email Body:
A Contact from your Account just visited a webpage.
Contact Name: {!$Record.WhoId}
Account Name: {!Get Related Contact.AccountId}Click Done.
Step 4: Save & Activate
Click Save, name it
"Alert Sales Rep for Webpage View"
.Click Activate.