Playbook: Example Flows for Salesforce CRM

Example Salesforce flows and reports built on Blue Tracely's Webpage View tasks and source values, for repeat visitors, new records and specific pages.

These example flows show how to use what Blue Tracely writes in Salesforce to act on visitor activity. Use them as a starting point and combine them with your own automation. They need an active Salesforce CRM integration.

Related: Playbook: Setting Up Website Visitor Notifications for Account Owners in Salesforce

Using Blue Tracely data in Salesforce flows

What you can build on:

DataWhereGood for
Task with Subject Webpage ViewCreated for every visit, on the Contact (related to its Account) or the LeadReacting to any visit
The task's comments (Description)Page URL, page title, date and time, referring URL, UTM valuesReacting to specific pages or campaigns
Lead Source / Account SourceSet on records Blue Tracely creates, "Website Visitor" by defaultRouting new records

Typical actions: alert a rep, assign the record to a user or queue, create a follow-up task or update a field.

The steps happen in Salesforce and are a summary. See Salesforce's guides to creating a record-triggered flow and the Flow Builder.

Identifying repeat visitors

Flow 1: A visit from someone who visited recently

  1. Create a Record-Triggered Flow on Task, running when A record is created, with the entry condition Subject Equals Webpage View.
  2. Add a Get Records element that finds an earlier Task with the subject Webpage View, the same Name (WhoId), and a created date within the last X days, excluding the task that triggered the flow.
  3. Add a Decision: if a task was found, the visitor is returning.
  4. On the returning path, alert the owner, update a field or create a follow-up task. On the other path, end the flow.
  5. Save and activate the flow.

Replace X with the number of days that fits your sales cycle.

Routing based on Blue Tracely as the source

A condition that uses Equals on Lead Source or Account Source picks from the picklist, so your source value must be in it first. See How to Add "Website Visitor" to Lead Source and Account Source Picklists in Salesforce.

Flow 1: Accounts Blue Tracely created

  1. Create a Record-Triggered Flow on Account, running when A record is created.
  2. Add the entry condition Account Source Equals your source value.
  3. Add actions, for example assign the Account to a user or queue, or create a follow-up task.
  4. Save and activate the flow.

Flow 2: Contacts and Leads Blue Tracely created

  1. Create a Record-Triggered Flow on Contact (or Lead), running when A record is created.
  2. Add the entry condition Lead Source Equals your source value.
  3. Add actions, for example alert a rep, assign the record or start your outreach.
  4. Save and activate the flow.

Routing based on the page viewed

Report: Visits to a specific page

  1. In Salesforce, create a report with the Tasks and Events report type.
  2. Filter on Subject equals Webpage View and Comments contains the page address or keyword you want. The page address is on the first line of the comments.
  3. Run the report.

Flow: A visit to a specific page

  1. Create a Record-Triggered Flow on Task, running when A record is created, with the entry condition Subject Equals Webpage View.
  2. Add a Decision that checks whether the task's Comments (Description) Contains the page address or keyword, for example /pricing.
  3. On the matching path, add actions, for example email the owner or create a follow-up task.
  4. Save and activate the flow.

Combine the page flow with the source flows above, for example to alert a rep only when a new Contact visits your pricing page.