> For the complete documentation index, see [llms.txt](https://threadly.gitbook.io/threadly/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://threadly.gitbook.io/threadly/groups/dynamic-conversation-groups/hubspot-segments.md). Agents can also search and read this documentation through its [MCP server](https://threadly.gitbook.io/threadly/~gitbook/mcp).

# HubSpot Segments

Build Dynamic Segments from HubSpot data. Filter on any HubSpot property, such as lifecycle stage, owner or industry, to keep your Slack audiences in sync with your CRM.

When HubSpot is connected, you can build Dynamic Segments that include Slack channels, or people, based on any HubSpot property.

**Requires:** [HubSpot integration](https://threadly.gitbook.io/threadly/integrations/hubspot.md) and the Pro plan

## How it works

Threadly links HubSpot records to Slack using a property you choose. For example, a Companies property that holds each company's Slack channel ID (`C012ABCDEF`), or a Contacts property that holds each person's Slack user ID. As HubSpot records change, the Segment updates automatically.

## Create a HubSpot Segment

1. Make sure an admin has set up the **mapping** in **Settings → Integrations → HubSpot → Configure Mapping**.
2. Click **Create HubSpot Segment** on the HubSpot screen, or go to **Segments → Create → Dynamic Segment** and choose **HubSpot** as the data source.
3. Add filter rules on any property of the mapped object.
4. Name and save the Segment.

## Example filter rules

| Goal                 | Filter                            |
| -------------------- | --------------------------------- |
| All paying customers | Lifecycle Stage **is** Customer   |
| High-value accounts  | MRR **greater than** 5000         |
| One rep's accounts   | Owner **is** Sarah                |
| Enterprise tier      | Company Size **greater than** 200 |
| A specific industry  | Industry **is** SaaS              |

Combine filters with **AND** (all must match) or **OR** (any can match).

## What updates automatically

* A record **starts matching** your filters, so its channel is **added**.
* A record **stops matching**, for example because its lifecycle stage changed, so its channel is **removed**.
* Need to keep one out? [Exclude it](https://threadly.gitbook.io/threadly/groups/dynamic-conversation-groups/excluding-channels-and-people.md).

{% hint style="warning" %}
Slack channel IDs must be stored as raw IDs like `C012ABCDEF`, not `#channel-name`. Click **Test Mapping** on the HubSpot screen to check how many records are mapped and find invalid values.
{% endhint %}

**See also:** [Dynamic Segment Filters](https://threadly.gitbook.io/threadly/groups/dynamic-conversation-groups/dynamic-group-filters.md) · [HubSpot Integration](https://threadly.gitbook.io/threadly/integrations/hubspot.md)
