Workflow Triggers & List Filte...

Trigger workflow and filter contacts on File views in HubSpot

7min

Introduction

Automate file views on files to trigger custom workflows in HubSpot using CloudFiles. CloudFiles enables many new things in HubSpot. One of the keyΒ feature requests on the communityΒ has been to trigger workflows and filter contacts based on Sales Document Views. Although HubSpot Documents tool provides client tracking and file security, it does not integrate well with records (company/contact/deal). Due of this, you cannot automate your content.

With CloudFiles' HubSpot Integration, you can now trigger workflows and filter contacts based on document views, downloads, time spent etc... right from your HubSpot. Here is an infographic to demonstrate how to do this. You can also refer to the detailed steps below the infographic.

Document image
ο»Ώ

Here is a step-by-step guide on how to trigger workflows and contact lists in HubSpot using CloudFiles -

Enable Timeline Activity

This is an important first step and only a one-time step that you perform when you have just installed CloudFiles. Timeline activities not only let you see the document activity live on your record's timeline, they also help debugging issues with workflows when using CloudFiles.Β 

Go to any record in your HubSpot and enable CloudFiles' timeline activity as shown below. The activity will then be enabled for all your records.

Document image
ο»Ώ

Upload a File

Now that we have the setup out of the way, let's upload a file. Choose any record and open the CloudFiles content library. Either upload a new file or use an existing file for the next steps. Make sure you have the name (useful for creating workflow) and the link of the file (useful for triggering the workflow).

Document image
ο»Ώ

Create a Contact List Filter & Workflow

Now you need to create a workflow. The trigger of that workflow should be the CloudFiles: File Viewed event. This is something that is not provided by the HubSpot Documents tool. You can configure a number of properties on the event such as file name, number of views, downloads, time spent etc...

Document image
ο»Ώ

Note:Β For the purpose of this tutorial, we have configured number of views and file name. We are also going to use a personalized link to trigger the workflow on ungated asset. This is demonstrated in the next step.

Trigger the Workflow

We are going to use a personalized link to tell the app of the contact on which to trigger the workflow. This method is suitable for email campaigns and templates. For sharing links on CTAs & social media, a more suitable method is usingΒ soft or hard gating which requires the viewer to enter / verify their email before accessing the document. Learn how in the CloudFiles Security Features Tutorialο»Ώ article.

To personalize the links, simply add the email parameter to the CloudFiles link as shown below

To trigger the workflow, access this link in Incognito mode.

Document image
ο»Ώ

When this link is accessed, CloudFiles will check your HubSpot for a contact with email [email protected]. If this contact does not exist, it will create a new contact. It will then trigger your workflow / contact list on this contact.Β 

Document image
ο»Ώ

If you still have questions about this feature,Β reach out to us atΒ [email protected]Β or simplyΒ chat with us (See the chat bubble at the bottom right corner).ο»Ώ

ο»Ώ