# Set Customer Segment

**GoAffPro** provides you with the option to set the customer segment eligibility for affiliate coupons.

To set the customer segment eligibility for coupons, go to the **Coupons** tab in the GoAffPro admin panel.

<figure><img src="/files/kBWce0gOhKmKlNmsy558" alt=""><figcaption><p>Coupons > Automatic Coupons</p></figcaption></figure>

Here, in the Automatic Coupons section, click on **Change**.&#x20;

<figure><img src="/files/o4RVI286Ng5pROpfa9wK" alt=""><figcaption><p>Click on Change</p></figcaption></figure>

This will open up the Setup Automatic Coupons section.

<figure><img src="/files/MEsWfLIxKqqo7mDXN627" alt=""><figcaption><p>Setup Automatic Coupons</p></figcaption></figure>

Now, click on **Advanced**.

<figure><img src="/files/Eemmr9L3b5yLpZtkLjut" alt=""><figcaption><p>Click on Advanced</p></figcaption></figure>

After this, select the customer segments.

{% hint style="info" %}
You can [create customer segments](https://help.shopify.com/en/manual/customers/customer-segmentation/create-customer-segments) from the Shopify admin panel > Customer > Segments section.&#x20;
{% endhint %}

<figure><img src="/files/LzjlJ5Jo5Rb81d5UMNU3" alt=""><figcaption><p>Select the custom segments</p></figcaption></figure>

Finally, click on **Submit**.

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

{% embed url="<https://youtu.be/YHuuoRBIWfc>" %}
Set Customer Segment
{% endembed %}


---

# 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://docs.goaffpro.com/affiliate-coupons/setup-referral-coupons/automatically-generate-coupons/set-customer-segment.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.
