> For the complete documentation index, see [llms.txt](https://help.recart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.recart.com/sms/subscribers-and-lists/sms-segmentation-conditions-and-filters.md).

# SMS Segmentation: Conditions and Filters

Explains how to set segment conditions and filters so campaigns reach exactly the audience you want.

Learn how to set up your segment's conditions and filters properly to target the right audience with your SMS campaigns.

### Introduction

* Segmentation allows you to send relevant, personalized SMS campaigns based on your subscribers' previous interactions and behavior.
* Defining conditions and filters when building a new segment will help you narrow down your audience to **target and exclude exactly who you would like to**.
* Read further if you are interested in the setup of the conditions.

### How to create segments

1. Go to the [**Segments & Lists Page**](https://app.recart.com/segments), click **Create new** and select **Segment**

   <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FWyB3512tVD1YV0xqwFWf%2Fsms-segmentation-conditions-and-filters-1.jpg?alt=media" alt="The Segments and Lists page with Create new clicked and Segment highlighted in the Choose type window"><figcaption></figcaption></figure>
2. **Name** your segment
3. Click the **Select condition** drop-down to see all conditions. They're grouped into **Browsing & cart**, **Orders**, **Messaging**, **Subscriber profile** and **Klaviyo**. You can also search for a condition by name
4. Click a condition's name to select it

   <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FwpY0UZOOLZsUSWOFs5AW%2Fsegment-conditions-dropdown-klaviyo.png?alt=media" alt="The Create new segment page with the Select condition dropdown open, showing the Browsing and cart, Orders, Messaging, Subscriber profile and Klaviyo groups and the Browsing and cart conditions, starting with Visited page"><figcaption></figcaption></figure>

Some groups only appear when they apply to your store: **Browsing & cart** and **Orders** are for Shopify stores, and **Klaviyo** appears once your [Klaviyo integration](https://help.recart.com/integrations/email-and-sms-platforms/klaviyo.md) is connected.

### How segments are created and kept up to date

* **Ready in seconds.** When you save a segment, Recart builds it right away — usually under a minute, even for larger lists. Segments with several conditions may take a little longer.
* **See your audience as you build.** As you add, edit, or remove conditions, Recart shows a live count of matching subscribers — at the top of the Segment Builder, and for each group in a Conditional Split. The count refreshes a few seconds after you stop editing, so you can see the impact of each condition before saving.

  <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FmUuVM3L9cne4LQEZCLC9%2Fsms-segmentation-conditions-and-filters-3.png?alt=media" alt="The segment builder showing the total member count at the top and a member count for an OR group"><figcaption></figcaption></figure>
* **Active and dormant segments.** Segments you use stay active and refresh automatically.

  * A segment you haven't used goes **dormant** after 30 days (14 days for Klaviyo segments), unless it's tied to something live like a scheduled campaign or active flow.
  * Going dormant pauses calculation and clears the member list but keeps the conditions — click **Recalculate** (or **Resync** for Klaviyo) to rebuild it with your latest subscribers.

  <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FVrr9UQQDDR6qZcyldnhN%2Fsms-segmentation-conditions-and-filters-4.png?alt=media" alt="A dormant segment details page with the dormant tooltip and the Manage segment menu showing Recalculate"><figcaption></figcaption></figure>

### Browsing & cart conditions

* **Visited page** — see below
* Current cart value
* Abandoned cart
* Abandoned checkout
* Last visited product — available in [Conditional Splits](https://help.recart.com/sms/automated-flows/use-conditional-splits-in-sms-flows.md) in your flows, not in the segment builder

#### Visited page

Build a segment from the pages your subscribers viewed on your store, like a sale page, a product or a page they reached from a specific campaign link. It's available on Shopify stores, and it uses page views recorded by the [Recart Pixel](https://help.recart.com/list-growth/how-recart-recognizes-returning-visitors-recart-pixel.md).

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FwTbLTqEyGHbqCGUHyWkB%2Fsegment-visited-page-row.png?alt=media" alt="A Has Visited page All time condition with the + Occurrence, + Page, + Product and + UTM options"><figcaption></figcaption></figure>

* Choose **Has** or **Has not** visited, then a time filter like **In the last** 7 days
* Click **+ Occurrence** to count only subscribers who visited **at least** a set number of times (only with **Has**)
* Narrow down which page views count with these filters:
  * **+ Page:** the page's path or full URL, e.g. `/collections/sale` or `https://yourstore.com/collections/sale`. Choose **is any of these** or **is not any of these**, and separate several with commas. Only the path is matched, so the domain, anything after a `?` (like UTM parameters) and anything after a `#` are ignored, and one path covers every version of the link. Letter case is ignored, so `/collections/sale` and `/COLLECTIONS/SALE` both match
  * **+ Product:** a product page view for a specific product name, product type, product tag or product variant
  * **+ UTM:** the **UTM source**, **UTM medium** or **UTM campaign** of the link the subscriber arrived from. Each one can be used once per condition, and letter case is ignored, so Klaviyo matches klaviyo
* If you add more than one filter, they must all match the same page view
* Subscribers join the segment as soon as they view a matching page

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FfBtLneU7SJ7kW1sBh87X%2Fsegment-visited-page-occurrence-page.png?alt=media" alt="A Visited page condition with At least 3 times and a Page URL filter set to is any of these, with the placeholder e.g. /collections/sale" width="550"><figcaption></figcaption></figure>

{% hint style="info" %}
Recart started recording page views on **Sep 11, 2026**, so visits before that date aren't counted.
{% endhint %}

**Use cases:**

* Subscribers who viewed your Summer Sale page at least twice in the last 7 days
* Subscribers who viewed any product tagged bestseller in the last 30 days
* Subscribers who arrived from `utm_source` tiktok with `utm_campaign` bfcm in the last 7 days

### Order conditions

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FwuZ3I1YJZzQv59BOaiG8%2Fsegment-conditions-orders-5.png?alt=media" alt="The Orders group in the Select condition dropdown: Placed an order, All order value, Last order value, Last ordered, Number of orders and Number of products bought" width="450"><figcaption></figcaption></figure>

* Placed an order
* All order value
* Last order value
* Last ordered
* Number of orders
* Number of products bought

### Messaging conditions

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FGJQuwP0iJpNe1ocHpAzv%2Fsegment-conditions-messaging-5.png?alt=media" alt="The Messaging group in the Select condition dropdown: Received a flow and Clicked on a flow" width="450"><figcaption></figcaption></figure>

#### Clicked on a flow

* By default, this condition will create a segment of customers who have clicked on **any flows**
* Use the **Flow** additional filter to select the flow
* **Has** or **has not** clicked on a given flow, flow category or flow group, with a time filter option
* You can also target those who did not click on a specific flow by changing **Is** to **Is not**

**Use case:** Create a segment of users who clicked on a specific campaign and have not placed an order since. Send them a follow-up message reminding them to use their discount code.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2Fd40cPCQgtBbw89yKBaE4%2Fsms-segmentation-conditions-and-filters-7.jpg?alt=media" alt="A segment of subscribers who clicked the Valentines 15% OFF flow in the last 30 days and have not placed an order in the last 30 days"><figcaption></figcaption></figure>

#### Received a flow

* Use the **Flow** additional filter to select the flows users received
* **Has** or **has not** received a given flow, flow category or flow group, with a time filter option
* You can also target those who did not receive a specific flow by changing **Is** to **Is not**

**Use case:** Create a segment of users who received a specific flow and have not purchased. Target them with a follow-up message.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FAKE0a2rEnsMOkkDkhIea%2Fsms-segmentation-conditions-and-filters-8.jpg?alt=media" alt="A segment of subscribers who received the Valentines 15% OFF flow and have not placed an order"><figcaption></figcaption></figure>

### Subscriber profile conditions

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2Fqi65EpukitjTNHMP1CSA%2Fsegment-conditions-subscriber-profile-5.png?alt=media" alt="The Subscriber profile group in the Select condition dropdown: Shopify tag, Subscribed to, Subscriber detail, Member of, Location, Language and Phone area code" width="450"><figcaption></figcaption></figure>

#### Subscribed to

* **Has** or **has not** subscribed to **SMS**, with a time filter
* The **time filter** will consider the beginning of the currently active subscription
* Use the **Source filter** to further target audiences via
  * opt-in tool
  * URL
  * integration event
  * external ID (optional identified via public API)
* You can also **exclude** an opt-in tool by setting the source to **Is not** value

**Use case:** Create a segment of users who subscribed to your list via the Popup, and have not placed an order in the last 30 days. Send them a campaign to activate them.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FdX1mr39ZJ0XfamYOMkHQ%2Fsms-segmentation-conditions-and-filters-5.jpg?alt=media" alt="A segment of subscribers who subscribed to SMS through the New Popup (Desktop) opt-in tool and have not placed an order in the last 30 days"><figcaption></figcaption></figure>

#### Subscriber detail

* Dropdown with various options of information we know about subscribers, e.g.: through opt-in forms by subscribers
* Includes date of birth/Facebook profile/first name/gender/Instagram handle/language preference/last name/LinkedIn profile/nickname/TikTok handle/Twitter handle/ZIP code
* You can apply a general filter with **Is set** or **Is not set**
* To filter for specific words or numbers select **Contains** or **Does not contain**

**Use case:** Create a segment of users based on their gender and get creative with campaigns promoting specific products and/or events.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FrohDHT95L3MsLbzgo4wV%2Fsms-segmentation-conditions-and-filters-6.jpg?alt=media" alt="A Subscriber detail condition where Gender is any of these: Female"><figcaption></figcaption></figure>

#### Member of

* Filter for customers based on being added to **other segments/lists** or not
* You can exclude customers by changing **Is** to **Is not**

**Use case:** Create a segment of users who are a member of an imported list, have clicked on your recent campaigns, and have not purchased. Send them a follow-up message to activate them.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2F5shTN7DjU3gRHGaa9I5Y%2Fsms-segmentation-conditions-and-filters-10.jpg?alt=media" alt="A segment of members of the Canadian Customers list who clicked the Valentines 15% OFF flow and have not placed an order in the last 30 days"><figcaption></figcaption></figure>

#### Location

* Filter for customers based on their **country**
* You can exclude a country by changing **Is** to **Is not**

**Use case:** Create a segment of users who are located in a certain country and have not placed an order yet. Activate users based on their location.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FJxG5raCljjpGhFlNKx4O%2Fsms-segmentation-conditions-and-filters-9.jpg?alt=media" alt="A segment of subscribers located in the United States who have not placed an order"><figcaption></figcaption></figure>

#### Language

* Segment and target your audience based on **language**
* Note that this filter works based on the **subscriber's browser language setting**. You can choose any language from the dropdown, and all subscribers will be included in the segment whose browser's language matches the chosen language.
* In case we can not detect the subscriber's browser language setting, your store's default language will be applied to the subscriber

**Use case:** With a multilingual subscriber base, you can set up the same message in different languages and target subscribers separately based on language settings.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FuqWvGS2bJjGFk1TYI8vl%2Fsms-segmentation-conditions-and-filters-12.jpg?alt=media" alt="A Language condition where Language is any of these: Spanish"><figcaption></figcaption></figure>

#### Phone area code

* Segment and target your audience based on the **subscriber's phone number area code** (right after the country code)
* Currently only available in the **US and Canada**
* You can exclude customers by changing **Is** to **Is not**
* To filter for **multiple area codes** at once, separate them with commas

**Use case:** target subscribers in specific areas of the US or Canada and get creative about which specific products or events you can inform these customers of.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FjZ73nSlRGHvnS8wGfABl%2Fsms-segmentation-conditions-and-filters-11.jpg?alt=media" alt="A Phone area code condition with the area codes 708 and 806 in the US and Canada"><figcaption></figcaption></figure>

#### Shopify tag

* You are able to segment based on whether or not **a specific Shopify Tag is associated with an order made or is associated with the subscriber themselves**.
* Please note you will have to write in the tag in the field provided.
* Tags need to be **written exactly as they appear within Shopify** in order to get accurate results
* **On Order:** whether or not an order made by a subscriber has a specific tag associated with it
* **On Subscriber:** whether or not a subscriber themselves has a specific tag associated with them
* If you are adding **multiple tags** they need to be separated by commas
* If you are unsure which tags your company uses in Shopify, the best way to access this information is by going into **Shopify**, clicking on the **Customers tab**, and within the text box writing in "**Customer Tags**." This will provide you with a dropdown list of all the tags your company is using:

  <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2F0rPul85oGhTSLL00ExLB%2Fsms-segmentation-conditions-and-filters-15.png?alt=media" alt="The Shopify Customers page with customer_tags typed in the search box and a dropdown of existing customer tags"><figcaption></figcaption></figure>

**Here are some use case ideas:**

* Subscription: you can now determine which subscribers are on a subscription so they can choose to include/exclude them from receiving certain campaigns/custom trigger flows
* Loyalty program: segment for subscribers who are members of a loyalty program

### Klaviyo conditions

#### Member of Klaviyo segment/list

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FewGz2NwVMfKmxPkZyMg6%2Fsegment-conditions-klaviyo.png?alt=media" alt="The Klaviyo group in the Select condition dropdown with the Member of Klaviyo segment/list condition" width="450"><figcaption></figcaption></figure>

* Target subscribers who are in one of your Klaviyo segments or lists
* Appears once your [Klaviyo integration](https://help.recart.com/integrations/email-and-sms-platforms/klaviyo.md) is connected
* Can't be used directly in a flow's Conditional Split. Create a segment with it first, then add that segment to the flow with the **Member of** condition

### Additional Segmentation Details

#### Product filter

* this will allow you to add specific products to the below conditions
  * Visited page
  * Current cart value
  * Abandoned cart
  * Abandoned checkout
  * Placed an order
  * Last ordered
  * Number of orders
  * Number of products bought
  * Last visited product
* you can filter for the below product characteristics
  * product name
  * product type
  * tag
  * product variant
* all kinds of product filters are multi-select, you can choose multiple products

**Use case:** Create a segment of users who ordered a product from a specific type, but have not ordered one certain product. Promote the product for them that they have not purchased in the given category.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FZJoO4SobnukFDIQACcKw%2Fsms-segmentation-conditions-and-filters-16.jpg?alt=media" alt="A segment of subscribers who placed an order for The Videographer Snowboard and placed an order for The Complete Snowboard, using the product filter"><figcaption></figcaption></figure>

#### Flow filter

* this is an option to choose a specific flow or list of flows for the below condition
  * Clicked on a flow
  * Received a flow
* you can filter for the below flow characteristics:
  * flow name
    * multi-select - you can choose more flows for one segment
  * flow category (Welcome, Help, Abandoned cart, Fulfillment, etc.)
    * multi-select - you can choose more categories for one segment
  * flow group (Automated flows or Campaign flows)
    * single select - you can only choose one of the groups

**Use case:** Create a segment of users who clicked on a specific campaign, and have not placed an order. Target users who received a product promotion campaign and have not purchased that certain product.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FqfYRvMC39cOJAwo4oiSE%2Fsms-segmentation-conditions-and-filters-17.jpg?alt=media" alt="A segment of subscribers who clicked the Valentines 15% OFF flow and have not placed an order for a Gift Card"><figcaption></figcaption></figure>

#### Source filter

* You can select via which opt-in tool the user subscribed within the below condition
  * Subscribed to
* The source filter is multi-select, you can choose multiple opt-ins

**Use case:** Create a segment of users who opted in to your list via a specific opt-in, and their last order value was above $500. Target them with a special discount.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FLqQw6nZQsIFk6Ddw905F%2Fsms-segmentation-conditions-and-filters-18.jpg?alt=media" alt="A segment of subscribers who subscribed to SMS through the New Popup (Desktop) in the last 30 days and whose last order value is greater than 500 USD"><figcaption></figcaption></figure>

#### Time frame filtering for segmentation

By utilizing the time filters you can define a time frame for each condition in order to narrow down your segments. You can choose from the below time filter options:

* **All time**
  * This is the default setup, if you do not choose a specific time frame, the segment will be created from those users who have ever met the given condition.
* **Since**
  * the default value is today, other dates can be selected
  * it includes the selected day
  * eg.: Abandoned a cart Since 01.01.2026. will include those who Abandoned a cart that day and later
* **Until**
  * the default value is today, other dates can be selected
  * it includes the selected day
  * eg.: Abandoned a cart Until 01.01.2026. will include those who Abandoned a cart that day and earlier
* **On**
  * the default value is today, other dates can be selected
  * eg.: Abandoned a cart On 01.01.2026. will include those who Abandoned a cart that day only
* **Between**
  * the default value is from '7 days before today' to 'today', other dates can be selected
  * it includes the selected days
  * eg.: Abandoned a cart Between 01.01.2025. and 01.31.2026. will include those who Abandoned a cart on 01.01.2025. and on 01.31.2026 and between these dates.
* **Not between**
  * the default value is from '7 days before today' to 'today', other dates can be selected
  * it does not include the selected days
  * eg.: Abandoned a cart, not Between 01.01.2026. and 01.31.2026. will include those who had an Abandoned cart on any other days except 01.01.2026., 01.31.2026. and between these dates.
* **In the last**
  * the default value is 30 days
  * you can replace 30 with another value
  * max 1096 days (3 years)
* **Not in the last**
  * the default value is 30 days
  * you can replace 30 with another value
  * max 1096 days (3 years)
* **Notes**
  * You cannot choose specific dates further than 3 years back.
  * All the dates and times will be displayed in your browser's time zone.

#### How does the multi-select work?

* When you select multiple items within a condition or an additional filter, the segment will use the *'or'* logic.
* You can add multiple conditions by clicking on the +AND under the last added condition to use the *'and'* logic.

**Use case:** the below example is a segment of subscribers who have subscribed to the text list **either** via the New Popup (Desktop) **or** via the Shopify Checkout opt-in **and** have never purchased.

<figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FeNwVeAHtk86zYdtOqOgD%2Fsms-segmentation-conditions-and-filters-19.jpg?alt=media" alt="A segment of subscribers who subscribed through the New Popup (Desktop) or Shopify checkout opt-in tools and have not placed an order"><figcaption></figcaption></figure>

### More use cases to get inspired

**Some examples of the most popular segments you can target on a recurring basis.**

* **Subscribed last month, but have not purchased**

  <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2Fb8Ca6faeGh5ChhvEwNrj%2Fsms-segmentation-conditions-and-filters-20.jpg?alt=media" alt="A segment of subscribers who subscribed to SMS in the last 30 days and have not placed an order in the last 30 days"><figcaption></figcaption></figure>
* **Purchased multiple times within the last few months**

  <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2Fn3CkY1K5Y8kF991HcNYX%2Fsms-segmentation-conditions-and-filters-21.jpg?alt=media" alt="A Number of orders condition greater than 5 in the last 60 days"><figcaption></figcaption></figure>
* **Purchased over a certain amount within the last few months**

  <figure><img src="https://2167119381-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2I45aTZ733MBi8Vps3Ib%2Fuploads%2FnFrH17fZOlseGk0AVjeZ%2Fsms-segmentation-conditions-and-filters-22.jpg?alt=media" alt="An All order value condition greater than 500 USD since a set date"><figcaption></figcaption></figure>
* **Clicked on a certain campaign, have not purchased:** Has clicked on a flow where Flow name is your campaign, AND Has not placed an order
* **Viewed your sale page but haven't bought:** Has visited page where Page URL is your sale page in the last 7 days, AND Has not placed an order in the last 7 days

If you have any questions, do not hesitate to [contact the Recart Support team.](https://help.recart.com/contact-recart-support.md) We'd be happy to help!


---

# 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.recart.com/sms/subscribers-and-lists/sms-segmentation-conditions-and-filters.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.
