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

Use Salesforce flows on Blue Tracely's records and Webpage View tasks to alert a Slack channel about new contacts and tell Account owners when their accounts visit.

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

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.

  1. In Salesforce Setup, create a Record-Triggered Flow on the Contact object that runs when A record is created.
  2. Add the entry condition Lead Source Equals your source value, "Website Visitor" unless you changed it.
  3. Add the Send Slack Message action, choose your Slack app and workspace, and enter the ID of the channel to post in.
  4. Write the message with fields from the Contact, such as the name, email, Account name and your LinkedIn URL field.
  5. 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.

  1. In Salesforce Setup, create a Record-Triggered Flow on the Task object that runs when A record is created.
  2. Add the entry condition Subject Equals Webpage View.
  3. 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.
  4. 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).
  5. 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