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

Use a HubSpot workflow and Blue Tracely's Last Logged Activity property to alert a contact's owner in Slack or by email when the contact visits your site.

When a contact who already has an owner in HubSpot visits your website, the owner should know quickly. Blue Tracely updates the contact's Blue Tracely Last Logged Activity property on every visit it sends, so a HubSpot workflow can react to it. This playbook shows two ways to alert the owner: in Slack or by email.

Before you begin

The trigger both workflows use

Create a contact-based workflow that enrolls contacts when both filters are true:

  1. Contact owner is known.
  2. Blue Tracely Last Logged Activity is less than 1 day ago.

Blue Tracely Last Logged Activity holds the date and time of the latest visit Blue Tracely sent for the contact. It's updated for contacts you already had as well as for the ones Blue Tracely created.

To alert the owner on every return visit, not just the first, allow contacts to re-enroll when they meet the trigger again. HubSpot sets this in the workflow's enrollment settings.

Notifying the owner in Slack

  1. Add HubSpot's app to your Slack workspace and connect it to HubSpot. See HubSpot's guide to managing notifications in Slack.
  2. In HubSpot, create the workflow with the trigger above.
  3. Add the Send a Slack notification action and send it to the contact's owner.
  4. Write the message, for example: "Your contact just visited our website." Add properties such as Blue Tracely Hot Page Visitor, Blue Tracely Referring URL or LinkedIn Personal URL to include them.
  5. Review the workflow, test it with one contact, then turn it on.

Notifying the owner by email

  1. In HubSpot, create the workflow with the trigger above.
  2. Add an action that sends an internal email or notification to the contact's owner.
  3. In the message, include the contact's name and a link to the record, and tokens for Blue Tracely's properties if you like.
  4. Review the workflow, test it with one contact, then turn it on.

Things to know