---
title: "Example workflow #1"
slug: "example-workflow-1-assign-a-company-as-a-hubspot-target-account-based-on-g2-buyer-intent-activity"
updated: 2025-06-04T23:04:05Z
published: 2025-06-04T23:04:05Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.g2.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example workflow #1

This example workflow automatically designates companies as target accounts in HubSpot when they have viewed a G2 comparison page for a particular competitor product. HubSpot’s target accounts feature helps you better run an account-based marketing strategy by enabling your organization to determine your highest priority buyers.

              
              

This workflow assumes that your organization has turned on HubSpot’s account-based marketing tools. Review HubSpot’s [Set up account-based marketing in HubSpot](https://knowledge.hubspot.com/account/get-started-with-account-based-marketing-in-hubspot) documentation for more details.

To recreate this workflow, complete the following steps:

1. Go to your HubSpot environment, and then select **Workflows**.
2. Select **Create workflow**.
3. Select **Start from scratch** > **Company-based**, and then **Next**.
4. Select **Set enrollment triggers**.
5. In the right-hand side Filters menu, select **Company**.
6. Search for and select **G2 Buyer Intent Details**.
7. Select **contains any of**. Then, enter **compare** in the Add options field and select **Create option "compare"**.
8. Select **Apply filter**.

![HubSpotWorkflows_CompanyCompare](https://cdn.document360.io/1759d01c-b118-4f31-81f7-e4011071a6d4/Images/Documentation/HubSpotWorkflows_CompanyCompare.png)

1. (Optional) You can choose to identify only G2 comparison pages for a particular competitor’s product. To do so, select **AND** and **Company**, and then select **contains any of**. Then, enter **[the competitor product’s name]** in the Add options field and select **Create options “competitor product’s name”**.
2. Select **Apply filter**.
3. Select the **Re-enrollment** tab, and then choose whether companies can enter this workflow again if they meet the workflow criteria.
4. Select **Save**.
5. In the workflow builder, select **+** to reveal the Choose an action menu.
6. In the Available actions tab, find the **Property management** section and select **Set property value**.
7. In Set property value, choose **Company** in the first dropdown, and then search for and select **Target Account** in the Property to set dropdown.
8. In the Target Account dropdown, select **True**. This means the company is going to become a target account in HubSpot.

![HubSpotWorkflows_TargetAccountTrue](https://cdn.document360.io/1759d01c-b118-4f31-81f7-e4011071a6d4/Images/Documentation/HubSpotWorkflows_TargetAccountTrue.png)

1. Select **Save**.
2. Select **Review**, and then decide whether companies that currently meet the criteria should be enrolled in the workflow. G2 suggests selecting **Yes, enroll existing companies which meet the trigger criteria as of now**.
3. Review all details to ensure the appropriate selections have been made, and then select **Turn on** to activate the workflow.

The workflow should now be activated. As companies trigger the workflow criteria, they will be set as target accounts in your HubSpot environment. Go to **Contacts** > **Target Accounts** to view all of the target accounts for your organization.

## Related

- [Create HubSpot workflows with G2 data](/create-hubspot-workflows-with-g2-data.md)
