# Create Segment

The Segment List  will be empty until you create the first segment. You can do it by clicking one of the two buttons:

<figure><img src="https://lh3.googleusercontent.com/iMtBAaTT1SFd3I0JqbAJKgiFYo2WGYVkXmktzXt_mnSqWHIDv6rGReAZrBnx1faDKoudTlZ0U9lZ_zNYA5y6nZ6xn7MRVIRfUwGzkU_zoEacuTTrUEjUkgc-iu44llKyDrcSTRjyVyVIAMhNbUVlum0lw54nprnWCi4CehPds80fQikHXUfkWn7Prg" alt=""><figcaption></figcaption></figure>

In the creator, you can declare conditions to extract subscribers.&#x20;

Below you can see a segment creation view:

<figure><img src="https://lh5.googleusercontent.com/_ItSe7_pK8GJg4oua2tgrXFcIAj2BZhwWxPYKqrYC4QHQVI-7nzx7gJgM1uE2ltpkNFeFvFgy5HOL5WePU-ho1JwZ_2h4mudvxRj-EDJEl1_9_nO8LFUzNXiw0UrX_Bs7ng7lh7uRyoR60-3rTckWmpT01nLGc-Gb2LVJdIXoKyu0l_CNPaRsisFqw" alt=""><figcaption></figcaption></figure>

The segment name will be filled in automatically with the date and hour of creation. You can change it and add details essential for the segment using up to 60 A-Z, a-z, 0-9, and - \_ : + . sings and space.

Below the name, you’ll find the core part of the creator: ascribing the conditions based on  [labels](https://docs.pushpushgo.company/subscribers/labels).&#x20;

Just to recap: a single label has the “key value” form. Similarly, segments have a “Field” (Label Key), a matching operator (ex. “Equal”), and a specific “Label Value”. &#x20;

You can add new conditions in groups, using the 'AND' strategy (green field). Each new group will be preceded by the 'OR' strategy.&#x20;

<figure><img src="https://2886427578-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_L2jrbLGTIbcnHMUrm%2Fuploads%2FZABjsczIM8j3lCS0Reoo%2Fsegment.png?alt=media&#x26;token=3f38432d-edc2-4649-a5f0-20f7f86fb81b" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Remember! A segment must consist of at least one condition.&#x20;
{% endhint %}

When you create conditions based on labels, you'll get a number of operators you can use. For example, 'equal' and 'not equal' will include subscribers who have (equal) or don't have (not equal) a specific label connected.&#x20;

<figure><img src="https://lh5.googleusercontent.com/hUI1BT3NMUG-uZ1lwJGilMG-pp8FGFp6o5ey0Wa6iRa-6VWhJEjUodanQzUMgWUgKDOMg_DPSvmXV9InflSpU13yQ59b2gQlNro_tlLNO-B1vdB5w3wXfTEUePYKqXa3EC1c13srJuTRGZnuot_RBYGYWe2qoFmB-nj7oac1OgnMJRrvUlCDDcvQlQ" alt=""><figcaption></figcaption></figure>

When you choose a 'Label key' and an operator, you can pick one of the existing 'Label values' from a list.&#x20;

Another pair of operators is 'contains' and 'not contains'. It allows you to use suggestions from a list or type in the value you require. With these operators you can see if labels in a selected 'Label key' contain the phrase you wrote down, or not.&#x20;

<figure><img src="https://lh5.googleusercontent.com/bRK7UX4jzptKHIwW4u_ryE6ghSzJUlIauMy8DHPnJMTpPRq6hKZgk8Q9USWM9aw5CDzwHdaMSbJeFUaLhz98-tBAmeNjxuxVK2POWHgN21u9pIwRDCOenP8czjTEGudLAM7X66-gtRWFTf1v0UqEGTKI68kyoLrOvn8ndnh3ibLw6eMCIBcZYv_SUA" alt=""><figcaption></figcaption></figure>

There are also numerical operators: 'greater than', 'greater than or equal', 'lower than', 'lower than or equal'. They refer to numerical values in 'Label value'.&#x20;

Example: if your 'Label key' is 'Cart', you can create a condition to see if a subscriber has more than 0 items in their cart. Use 'greater than' operator.&#x20;

<figure><img src="https://lh4.googleusercontent.com/V0QWSn_grVgdwdpmWqYcNjBm9ygLGy2O-4soD--V-RThYo2bTGDegvkx7ji5rWZkooTt3TKj7sgnqhmXUk-JD_DJADTqf8agP5kD2pyffgIQCcUeSUuf0h2lcR3PF7uwrfkZVCcpFS9eTIICJIdRZLyaHNCWqVlJPj6ihaQ2YbPCk9Yp4r4JWkyKaA" alt=""><figcaption></figcaption></figure>

The last pair of operators are ones addressing time. They are used with labels with 'Label value' presented in a form of a date. Those are 'after or equal time period' and 'before or equal time period'. By defining a  period to classify labels on subscribers, you can see if an action took place before or after that. The image below shows that only the subscribers who entered your website in the last seven days will be included in the segment.&#x20;

<figure><img src="https://lh3.googleusercontent.com/AbVI1uHOE1H970zWHflSKpUMYgaUMiXBWxdarpG4FecrDYPJTbfdETPZslkKCx9HXTIAY8332RlfCzCs34F5cuwnaqA-Vpt03bSmoI38EVLtB1FC-3hi0aUYXaTwRwvNIqBHqMua3-LrENYf2IByEnuF7Fztu8A0M081DtuiUQZ-7iMrLC5xBVnfwQ" alt=""><figcaption></figcaption></figure>

After you create a segment with all required conditions you can save it as a draft (click 'Save draft' in the top-right corner of the creator) or count it and allow usage in a campaign by clicking 'Save'.&#x20;

After the segment is counted you'll see the number of subscribers meeting its criteria. This group will receive a campaign targeted to this segment.&#x20;

A saved segment will show on the Segment list. A green color indicates that it's correctly counted and ready for usage. If it's still being counted, it will be highlighted in yellow. Drafts are marked in grey.&#x20;
