Associate Records in HubSpot Workflows

blog-cupcake-assembly.png

How to Make Advanced Associations from HubSpot Workflows

You need new records in your HubSpot database to be associated appropriately before your first marketing or sales activities begin. You've been automating other processes with HubSpot's Workflows, but creating associations between records isn't supported. 

With Insycle's Associate app, you can create advanced association templates and run them from within HubSpot Workflows.

Supported HubSpot Object Types and Associations

The following HubSpot objects can be associated in Workflows using Insycle Recipes:

  • Companies
  • Contacts
  • Courses
  • Deals
  • Line Items
  • Listings
  • Orders
  • Tickets
  • Custom Objects

You can create associations between:

  • Standard or custom objects of different types (such as the cars custom object with deals).
  • Contacts, companies, and deal objects of the same type (for example, contacts to contacts).
  • One object and many objects (for example, one company to multiple deals). Learn more about making multiple associations.

Process Summary

  1. Configure association templates in Insycle. 
  2. Bundle your templates into a Recipe. 
  3. Insert your association Recipe into your HubSpot Workflow. 

Step-By-Step Instructions

1. Set Up Association Templates in Insycle

With the Associate app, you can configure templates to add, remove, or replace existing associations in bulk.

Navigate to RevOps Acceleration > Associate.

Select the HubSpot database and the object in the top menu. Then explore the templates for an existing solution that may be close to what you need.

'Associate Contacts to Companies using Name' template

Insycle offers pre-built templates for HubSpot associations, including:

In Step 1 under the Filter tab, choose fields and criteria to find records you want to add an association to.

Step 1 filter criteria

Under Step 2, choose the record type you want to associate with and configure the rules that will create the relationship between the two record types:

associate-hubspot-deals-to-companies-step-2-related-tab.png

Configure a different template for each set of rules you'll need to make the association across all of the needed records.

2. Bundle Your Templates Into a Recipe

To include the association templates in your HubSpot Workflows, you must bundle them together in a Recipe. To create a new Recipe:

Steps to create new recipe

  1. Click the + button in the right-hand corner of the header bar.
  2. Click the Template button to add new templates to the Recipe.
  3. Save your Recipe.
  4. Click the Review button.

For a Recipe to work in a HubSpot Workflow, it must be saved in Update mode. On the Mode tab of the Recipes popup, select Update, then click Next.

Set Recipe Update mode

On the Notify tab, select the send option appropriate for your automation: Always send, Send when errors, or Do not email.

Add any additional recipients who should receive the CSV (and make sure to hit Enter after each address). You can also provide additional context in the message subject or body.

recipe-review-update-notify-always-send.png

On the When tab under Automate, enable your Recipe to run in HubSpot Workflows by selecting the Workflow option, then click Save.

recipe-review-update-automate-hubspot-workflow.png

Learn more about Insycle Recipes.

3. Integrate Your Recipe into a HubSpot Workflow

In HubSpot, under Automation > Workflows, click the Create workflow button. In this example, we'll create a Workflow From scratch, but you can insert the Insycle Recipe action into already existing ones.

Select the same object type your Insycle Recipe is for. If your Recipe works with contact records, it can only be inserted into a contact-based Workflow. If working with an existing Workflow, make sure the record types match.

When you click Set up triggers, enter the criteria you want a record to meet in order to trigger this Workflow. You could trigger your association templates to run after a contact fills out a form or after a record is created.

HubSpot Workflow enrollment trigger

See HubSpot's Set your Workflow enrollment triggers article for more information.

Once saved, click the + on the Workflow to add a new action. 

In the Available Actions panel, search for "Insycle." Select the option that matches your Workflow type. For example, if the Workflow is set up for contact objects, choose the option, "Insycle - Run Contact Recipe." If you don't see the Insycle actions, make sure the Insycle app is installed. 

Choose Insycle action

In the list of available Insycle Recipes, find and select your Recipe. The list will include default Insycle Recipes and those created by your team. You can add any number of Recipes to the Workflow—such as for deduplication, standardization, or decluttering. For complete details of what a Recipe does, review it in Insycle. 

Choose Insycle recipe

Once you've published the Workflow, your association Recipe will run every time the Workflow is triggered.

Workflow steps

Learn more about integrating Insycle with HubSpot Workflows.

Advanced How-Tos

Using Re-enrollment Triggers in Your Workflow

Insycle Recipes are compatible with HubSpot workflows that use re-enrollment triggers.

hubspot-workflow-contact-re-enrollment-trigger.png

This can trigger a Recipe to run when a specific update to a record is made, letting you make other nuanced changes to the record automatically. For example, if the Lifecycle Stage were updated to Qualified Sales Lead, you could set a “Cleanse Contacts” Recipe to run that will improve the contact data and make it more useful to your sales reps.

re-enrollment-trigger-hubspot-workflow.png

Learn more about adding re-enrollment triggers to a HubSpot workflow.

Reviewing Recipe History in CSV Reports

You can view changes by downloading CSV reports from the Activity Tracker. Though there isn't a single report for all of the Recipe templates, you can download individual reports for all of the templates included in the Recipe. All operations that are part of a Recipe will be checkmarked in the Recipe column of the table.

Recipe in Activity Tracker

  1. The operations are listed in reverse chronological order. As the Recipe step occurs before the individual templates run, it will appear below the templates.
  2. The Recipe's Run ID will help you determine which are the related template operations. 
  3. You can see what templates are a part of which Recipe by hovering over the Recipe checkmark. This will display the Recipe's Run ID.
  4. To download the template reports, click the respective template Run IDs.

Viewing HubSpot Workflow History

The changes made on the HubSpot side of these Workflows won't appear in Insycle's Activity Tracker. You'll need to review the changes for the HubSpot portions of your Workflows in HubSpot. See HubSpot's View your Workflow's enrollment history article for more detail.

Viewing the Insycle Run ID Property in HubSpot

When working with HubSpot, for every Insycle operation that updates or creates a record, the Run ID will be updated in the custom property, Insycle Run ID. 

When using an Insycle Recipe that includes templates for more than one object type, such as companies and contacts, the same Run ID will appear in both HubSpot records.

hubspot-contact-property-history-insycle-run-ID.png

If the Insycle Run ID doesn't already exist in your HubSpot database, add it as a custom property with the label "Insycle Run ID" to each object type as needed. 

This object label is the only requirement for the integration to work properly. It's not dependent on the internal name or underlying API field name.

hubspot-contacts-custom-property-insycle-run-ID.png

Troubleshooting

Unexpected Behavior with a HubSpot Workflow

If HubSpot indicates that a workflow completed successfully but the changes Insycle was supposed to make aren't visible on the record, several things could be causing it.

Our Troubleshooting HubSpot Workflow Issues article provides DIY steps you can take to resolve common issues, including scenarios where a workflow appears complete but changes are missing.

For additional help resolving Associate app issues, see Associate App Troubleshooting.

Additional Resources

Related Help Articles

Related Blog Posts