# HubSpot Attributes

On successful integration of the HubSpot, CustomFit displays 2 different HubSpot categories under which we have the various attributes:

* **HubSpot Contact**
* **HubSpot Firmographic**

All the HubSpot attributes can be attached to the visitors as query parameters. To write a rule based on HubSpot attributes

* Click on Add rules

![](/files/-MXHwZ5u1UBdiYriB54i)

* Click on the Attribute field

![](/files/-MXHwq442gRh61r-LqV4)

* In the dropdown, you can see the HubSpot Firmographic section

![](/files/-MXHxygc5pZjv8macU7t)

**If you select String type property then the supported operation types for String type attributes are:**

#### IS\_ONE\_OF, IS\_NOT\_ONE\_OF    &#x20;

Use this operation type if you want to match each character from start to end. For example, to target the visitors with the state as Karnataka. So, the rule will be State IS\_ONE\_OF Karnataka then, serve them B1 behavior.

![](/files/-MXHzs_jjfh12nOgfv_V)

For example, to target the visitors apart from the state as Karnataka. So, the rule will be State IS\_NOT\_ONE\_OF  Karnataka then, serve them B2 behavior.

![](/files/-MXI-h5OT29REVyi74-v)

#### STARTS\_WITH, DOES\_NOT\_STARTS\_WITH

Use this operation to perform the prefix match with the query parameter value. For example, to target the visitors whose domain name starts with CustomFit. So the rule will be Domain STARTS\_WITH CustomFit then, serve them B1 behavior

![](/files/-MXI0lLjvub5B4G6Jnh3)

For example, to target the visitors whose domain name does not starts with CustomFit. So the rule will be Domain DOES\_NOT\_STARTS\_WITH CustomFit then, serve them B2 behavior

![](/files/-MXI18qkQ3m55wIyMwZ1)

#### ENDS\_WITH, DOES\_NOT\_ENDS\_WITH

Use this operation to perform the suffix match with the query parameter value. For example, to target the visitors whose website ends with *ai* domain. So the rule will be Website ENDS\_WITH ai then, serve them B1 behavior

![](/files/-MXI2KcrWgC5KarA2sk5)

For example, to target the visitors whose website does not ends with *ai* domain. So the rule will be Website DOES\_NOT\_ENDS\_WITH ai then, serve them B2 behavior

![](/files/-MXI2F2CPMYPZ1Rv17af)

#### CONTAINS, DOES\_NOT\_CONTAINS

Use this operation to perform the substring match with the query parameter value.

For example, to target the visitors whose website contains .com. So the rule will be Website CONTAINS .com then, serve them B1 behavior

![](/files/-MXI4ik2Ks3OwmglFA-x)

For example, to target the visitors whose website does not contains .com. So the rule will be Website DOES\_NOT\_CONTAINS .com then, serve them B2 behavior

![](/files/-MXI5-deXNHRn9EPf0fz)

#### IS\_SET, IS\_NOT\_SET

Use this operation to check whether the query parameter value has been set or not. For example, to target the visitors whose DATA\_QUALITY\_SCORE\_\_C  is known to us. So, the rule will be DATA\_QUALITY\_SCORE\_\_C  IS\_SET then, serve them B1 behavior

![](/files/-MXI6D28v-CfOwVV-nvU)

For example, to target the visitors whose DATA\_QUALITY\_SCORE\_\_C  is not known to us. So, the rule will be DATA\_QUALITY\_SCORE\_\_C  IS\_NOT\_SET then, serve them B2 behavior

![](/files/-MXI5o1lRcqMybNw6whe)

**If you select Number type property then the supported operation types for Number type attributes are:**

#### IS\_ONE\_OF, IS\_NOT\_ONE\_OF

Use this operation type if you want to target the visitors whose num\_associated\_contacts is 1. So, the rule will be num\_associated\_contacts IS\_ONE\_OF 1 then, serve them B1 behavior

![](/files/-MXI79PUeXf9NeHx_MIy)

For example, to target the visitors whose num\_associated\_contacts is apart from 1. So, the rule will be num\_associated\_contacts  IS\_NOT\_ONE\_OF 1 then, serve them B2 behavior

![](/files/-MXI88DoHaCjN0f2cmvf)

#### GREATER\_THAN, GREATER\_THAN\_OR\_EQUAL\_TO

Use this operation type if you want to target visitors whose  number of employees is greater than 20. So,  Number of Employees is GREATER\_THAN 20  then, serve them B1 behavior

![](/files/-MXI9IU1oh4T4Gg4k662)

For example, to target visitors whose  number of employees is greater than or equal to 20. So, Number of Employees is GREATER\_THAN\_OR\_EQUAL\_TO 20  then, serve them B2 behavior

![](/files/-MXI9C-fBw8hy-FB--vg)

#### LESS\_THAN, LESS\_THAN\_OR\_EQUAL\_TO

Use this operation type if you want to target visitors whose  number of employees is less than 1000. So, the rule will be Number of Employees is  LESS\_THAN 1000 then, serve them B1 behavior

![](/files/-MXIAAdbwFAqoQqJ3o29)

For example to target visitors whose  number of employees is less than or equals to 1000. So, the rule will be Number of Employees is  LESS\_THAN\_OR\_EQUAL\_TO 1000 then, serve them B2 behavior

![](/files/-MXIAGv6kMrGNVGiSTs_)

#### IS\_SET, IS\_NOT\_SET

Use this operation to check whether the query parameter value has been set or not. For example, to target the visitors whose number of page views is known to us. So, the rule will be HS\_ANALYTICS\_NUM\_PAGE\_VIEWS  IS\_SET then, serve them B1 behavior

![](/files/-MXIBmYCfrFc-XB1kyyj)

For example, to target the visitors whose number of page views is not known to us. So, the rule will be HS\_ANALYTICS\_NUM\_PAGE\_VIEWS IS\_NOT\_SET then, serve them B2 behavior

![](/files/-MXIC-xtn3iTAFO2l9Fy)

For reference,  you can go through the below link to know the list of hubspot properties

<https://developers.hubspot.com/docs/api/crm/properties>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.customfit.ai/audience-segments/hubspot-attributes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
