The 'Create Associations via Filter Criteria' action from the Workflow Associations Manager App by Integration Glue allows you to automatically associate HubSpot records based on specific filter criteria directly within a HubSpot workflow. This action enables you to link any two HubSpot objects, such as contacts, companies, deals, tickets, or custom objects, by applying conditions that define which records should be associated.
By setting up the filter criteria, the app dynamically identifies the target records that meet the specified conditions and automatically creates the association with the enrolled record. This action can use HubSpot properties such as lifecycle stage, deal stage, or custom properties as filters, making it highly adaptable for workflows that require dynamic associations based on real-time data.
This action is particularly useful for automating relationships, such as associating a contact with a company based on a specific stage or linking deals to tickets based on their status, without the need for manual intervention
- Associate to Object defines the HubSpot object type that you want the enrolled record to be associated with.
- Association Labels define the relationship type between the two records being associated. eg Primary contact
-
Keep Existing Association Labels on Enrolled Record allows you to decide whether to preserve existing labels on the enrolled record when creating a new association
- Property Compared From refers to the property in the enrolled record that will be used to filter or compare data against. If you're using a Deal Stage to find matching Company records, the Deal Stage would be the property "compared from
- Property Compared With is the property in the target object (the object you're associating with the enrolled record) that the value from Property Compared From will be compared against.
- Search Filter defines the criteria used to identify the target records that will be associated with the enrolled record.
- Log Workflow Error If No Records Found allows you to decide whether to log an error if no records matching the filter criteria are found for association.
Here’s a step-by-step guide on how to set up the "Create Associations via Filter Criteria" action in HubSpot Workflows using the Workflow Associations Manager App by Integration Glue:
Step 1: Create a New Workflow
- In your HubSpot account, go to the Automation tab and select Workflows.
- Click on the Create workflow button.
- Choose a workflow type (e.g., Contact-based, Deal-based, Company-based, or Custom Object-based) depending on your use case.
- Set your workflow’s trigger criteria (e.g., when a deal is created, when a contact reaches a certain lifecycle stage, etc.).
Step 2: Add the "Create Associations via Filter Criteria" Action
- After setting up your custom properties and selecting your triggers, click the + button to add an action.
- In the action sidebar drop-down, scroll down and look for the "Workflow Associations Manager App".
- A list of actions will appear. Select the "Create Associations via Filter Criteria" action.
- Click Save to add the action to your workflow.
Step 3: Configure the Action
-
Associate to Object:
- Choose the HubSpot object type that you want to associate the enrolled record with (e.g., Contact, Company, Deal, etc.).
- Example: If you want to associate a deal with a company, select Company.
-
Association Labels:
- Define the label(s) for the relationship between the two objects.
- Example: You could label the relationship as "Primary Company" or "Associated Organization".
-
Keep Existing Association Labels on Enrolled Record:
- Choose whether to keep the existing labels on the enrolled record.
- Yes: Existing labels remain, and new labels are added.
- No: Existing labels are replaced with new ones.
-
Property Compared From:
- Select the property in the enrolled record that will be used for comparison.
- Example: If you're associating a deal with a company, you might use the Deal Stage as the property compared from.
-
Property Compared With:
- Select the property in the target object (the object you're associating with) that the enrolled record’s property will be compared against.
- Example: If you want to associate the deal based on the company’s lifecycle stage, choose the Lifecycle Stage property in the company record to compare against.
-
Search Filter:
- Define the criteria for selecting the target record to associate with the enrolled record.
- Example: If you want to associate a deal with a company where the company’s Lifecycle Stage is "Customer," set that as the search filter.
-
Log Workflow Error If No Records Found:
- Decide whether to log an error if no matching records are found for the filter criteria.
- Yes: Log an error if no records match the criteria.
- No: No error is logged, and the workflow continues without interruption.
Step 4: Review and Activate
- After configuring the action, review all settings to ensure they are correct.
- Save the workflow and check all other actions to make sure they are properly set.
- Once satisfied with your workflow, click Review and Publish to activate the workflow.
Step 5: Test the Workflow
- After activating the workflow, trigger it (e.g., create a deal, contact, or company that meets your criteria).
- Verify that the association has been created between the enrolled record and the target record based on the filter criteria.
- Check the associations on the enrolled record to confirm the correct object was associated as expected.
Step 6: Use the Associations for Further Actions
- You can use the created associations in subsequent workflow actions (e.g., triggering follow-up emails, setting reminders, or generating reports based on the associations).
- The associations can also be referenced in HubSpot dashboards or reports for easier tracking and reporting of object relationships.