Blue Tracely creates records with your Lead Source value and logs every visit as a Webpage View task, so Salesforce flows can react to both. This playbook outlines two notifications: a Slack message when Blue Tracely creates a Contact, and an email to the Account owner when one of their Contacts visits your website.
Before you begin
- Connect Salesforce CRM. See Setup Guide: Salesforce CRM.
- The steps below happen in Salesforce and are a summary: Salesforce may word its screens differently. See Salesforce's guides to creating a record-triggered flow and the Flow Builder.
- A condition that uses Equals on Lead Source picks from the picklist, so your source value must be in it. See How to Add "Website Visitor" to Lead Source and Account Source Picklists in Salesforce.
Sending new Contact notifications to a Slack channel
This flow posts in Slack each time Blue Tracely creates a Contact. Salesforce's Slack actions need Salesforce's Slack app to be installed and connected first; see Salesforce's documentation on setting up its Slack apps.
- In Salesforce Setup, create a Record-Triggered Flow on the Contact object that runs when A record is created.
- Add the entry condition Lead Source Equals your source value, "Website Visitor" unless you changed it.
- Add the Send Slack Message action, choose your Slack app and workspace, and enter the ID of the channel to post in.
- Write the message with fields from the Contact, such as the name, email, Account name and your LinkedIn URL field.
- Save the flow, test it, then activate it.
Notifying Account owners by email
This flow emails the Account owner each time a Contact on their Account visits your website, new or existing.
- In Salesforce Setup, create a Record-Triggered Flow on the Task object that runs when A record is created.
- Add the entry condition Subject Equals
Webpage View. - Add a Get Records element that finds the Account whose ID equals the task's Related To (
WhatId). Blue Tracely relates each Contact's task to the Contact's Account. - Add a Send Email action to that Account's owner. Include a link to the Contact (the task's Name,
WhoId). The page they viewed is in the task's comments (Description). - Save the flow, test it, then activate it.
Tasks on Leads, and on Contacts without an Account, have no related Account. Add a condition that Related To isn't empty, or a separate branch for them.
Things to know
- Only visitors Blue Tracely sends create tasks. If Only sync hot leads is on, only hot leads trigger these flows. See Customizing Your Salesforce CRM Integration.
- Want an alert without Salesforce? The Slack and Microsoft Teams integrations post visitors to a channel directly. See Setup Guide: Slack.