> For the complete documentation index, see [llms.txt](https://help.gleantap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.gleantap.com/audience/using-segments.md).

# Using Segments

How to use your pre-built segments within Gleantap

Once you have finished creating your segments, what comes next? There are a variety of different ways to use your segments once they are created, which we will explore below.&#x20;

### Campaigns

The most obvious use case for segments is when setting up Email and SMS campaigns.&#x20;

On step 3 of an Email campaign you will see all of your segments available for you to choose from. You can select multiple from this screen, as well as exclude other segments you want to avoid.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2Fwm6X2zuDEs9Q7QZhV7nv%2FScreen%20Shot%202023-10-03%20at%201.52.06%20PM.png?alt=media&amp;token=522e6256-2887-4357-8bd2-70b8a7c563db" alt=""><figcaption></figcaption></figure>

On step 2 of an SMS campaign you will see all of your segments available for you to choose from. You can select multiple from this screen, as well as exclude other segments you want to avoid.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FRS4FTddwUAzFBUb7xs6F%2FScreen%20Shot%202023-10-03%20at%201.52.49%20PM.png?alt=media&amp;token=416a6771-c60c-413e-b234-b76c7a6d92dd" alt=""><figcaption></figcaption></figure>

For Ongoing campaigns, make sure the segments you are selecting have been set up as Dynamic segments to make sure they work properly.&#x20;

### Flows

Flows, like campaigns, are triggered by Dynamic Segments. When setting up your Flow, you will see your segments listed and can choose from the list to activate the Flow.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FFDf7zYVDZWGmkwUj4Ko2%2FScreen%20Shot%202023-10-03%20at%202.12.59%20PM.png?alt=media&amp;token=e4335303-382b-4044-b761-349200565d96" alt=""><figcaption></figcaption></figure>

You can also use Segments on the third step of a Flow to 'unenroll' from a Flow as well.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FbnC1f2c18RbNqitRv104%2FScreen%20Shot%202023-10-03%20at%202.13.17%20PM.png?alt=media&amp;token=1a7a4c39-c2da-4a66-b90f-1043ec525ce9" alt="" width="375"><figcaption></figcaption></figure>

### Automations

Sales Automations are another area where you can use Segments to help run your account. When creating a new automation, one of the options for the Trigger is 'added to a segment,' which means that anyone in a segment or later added to a Dynamic Segment will trigger the automation.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FdD4tv568D6HIPSo6N601%2FScreen%20Shot%202023-10-03%20at%202.21.13%20PM.png?alt=media&amp;token=3ff92bde-c149-46e3-b7d0-048cd4df2e04" alt="" width="289"><figcaption></figcaption></figure>

### Inbox

The last way to use Segments in your account is through the inbox. Each segment you make is automatically added as a Group you can text through the inbox.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FXzA7Rib2Pv6vgFJVwKqH%2FScreen%20Shot%202023-10-03%20at%202.42.00%20PM.png?alt=media&amp;token=a993d275-1759-477e-8528-085716fdf7e5" alt=""><figcaption></figcaption></figure>

You can also filter by segment to see responses from a certain group of users. In the Inbox, click on this button to open your filters.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FB2XEPv8l5eCrukQ6dL4s%2FScreen%20Shot%202023-10-03%20at%202.44.19%20PM.png?alt=media&amp;token=31d62e73-30c6-4cd3-b5c0-353019c6e249" alt=""><figcaption></figcaption></figure>

Then you can select from Choose Segment to see responses from only the people in the segment.&#x20;

<figure><img src="https://312952119-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaFKpjLzPT7iDAWD0tQXo%2Fuploads%2FuQllZwujMb00zO45LXUj%2FScreen%20Shot%202023-10-03%20at%202.43.05%20PM.png?alt=media&amp;token=8098b9b0-830c-4af8-a168-5d5fd7d65ff7" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.gleantap.com/audience/using-segments.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
