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:
| Data | Where | Good for |
|---|---|---|
Task with Subject Webpage View | Created for every visit, on the Contact (related to its Account) or the Lead | Reacting to any visit |
The task's comments (Description) | Page URL, page title, date and time, referring URL, UTM values | Reacting to specific pages or campaigns |
| Lead Source / Account Source | Set on records Blue Tracely creates, "Website Visitor" by default | Routing 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
- Create a Record-Triggered Flow on Task, running when A record is created, with the entry condition Subject Equals
Webpage View. - 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. - Add a Decision: if a task was found, the visitor is returning.
- On the returning path, alert the owner, update a field or create a follow-up task. On the other path, end the flow.
- 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
- Create a Record-Triggered Flow on Account, running when A record is created.
- Add the entry condition Account Source Equals your source value.
- Add actions, for example assign the Account to a user or queue, or create a follow-up task.
- Save and activate the flow.
Flow 2: Contacts and Leads Blue Tracely created
- Create a Record-Triggered Flow on Contact (or Lead), running when A record is created.
- Add the entry condition Lead Source Equals your source value.
- Add actions, for example alert a rep, assign the record or start your outreach.
- Save and activate the flow.
Routing based on the page viewed
Report: Visits to a specific page
- In Salesforce, create a report with the Tasks and Events report type.
- Filter on Subject equals
Webpage Viewand Comments contains the page address or keyword you want. The page address is on the first line of the comments. - Run the report.
Flow: A visit to a specific page
- Create a Record-Triggered Flow on Task, running when A record is created, with the entry condition Subject Equals
Webpage View. - Add a Decision that checks whether the task's Comments (
Description) Contains the page address or keyword, for example/pricing. - On the matching path, add actions, for example email the owner or create a follow-up task.
- 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.