> For the complete documentation index, see [llms.txt](https://smsgem.gitbook.io/smsgem-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smsgem.gitbook.io/smsgem-document/main-features/ai-segment.md).

# AI Segment

Each customer has their own portrait and behaviour. With AI Segment, we help you send the right message to the right customer.

With our first version of AI Segment, you can send abandoned cart to our AI Segment. New version with more advanced features will be coming soon.

Go to SMSGem app -> Segment with AI.

<figure><img src="/files/VmY2GOaehJnK2RO3vc4n" alt=""><figcaption></figcaption></figure>

You might need to wait for few seconds while we're analyzing your statistics.

Depends on your data, you might have different segments.&#x20;

<figure><img src="/files/IpFzeUbygBebKyZH7RAk" alt=""><figcaption><p>Example of segment list</p></figcaption></figure>

<figure><img src="/files/yQDRCPLQ7CMbq6ihQHjD" alt=""><figcaption><p>Example of segment list</p></figcaption></figure>

### Generate Custom SMS Flow

* Select country/region where your customer you want to send SMS to are

<figure><img src="/files/8tlmn6rDPvjJu0yGDdEA" alt=""><figcaption></figcaption></figure>

* When you click "Generate now", AI segments are auto-created in segment tab and SMS Flow for each segment is also auto-created.&#x20;

<figure><img src="/files/mTx2rL8jqQlbfbXrY3gV" alt=""><figcaption><p>This is your AI segment</p></figcaption></figure>

<figure><img src="/files/8Qkzq4DiD0LDCX3RtDk9" alt=""><figcaption><p>This is your AI Flow</p></figcaption></figure>

* Now you need to go to each flow you want to activate and edit your content if you want.

<figure><img src="/files/NJMuCLwNYPwSckYdhEvd" alt=""><figcaption></figcaption></figure>

* Some SMS templates require discount code that cannot be activated. Click on content box and insert your discount.

<figure><img src="/files/3ncBskv1gkjM5q5pJRvR" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7ix1N1hozk4zGAMlYfJY" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1sXptrQcX9NdI0kNJba7" alt=""><figcaption></figcaption></figure>

* Then click "Save flow" to save all new changes to your settings. Then click turn on workflow.

<figure><img src="/files/hyfII6oUIg7Xj7sudOCT" alt=""><figcaption></figcaption></figure>

Make changes and activate all your SMS flows.&#x20;

### AI Segment

You can set up more SMS Campaigns to all the AI Segments that are created in segment list.&#x20;

In [Create new flow](/smsgem-document/main-features/abandoned-cart/create-new-flow.md), in Trigger box, you can select your AI Segment in your list.

<figure><img src="/files/hB53IJVn0J2C6XLpndrm" alt=""><figcaption></figcaption></figure>
