> For the complete documentation index, see [llms.txt](https://usermanual.ergonode.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://usermanual.ergonode.com/ergonode-user-manual-pl/produkty/segmenty/utworz-nowy-segment.md). Agents can also search and read this documentation through its [MCP server](https://usermanual.ergonode.com/~gitbook/mcp).

# Utwórz nowy segment

Utwórz segment, czyli listę produktów spełniających określone warunki, i sprawdź, jak lista segmentów wyświetla kod, nazwę, status oraz liczbę produktów.

Aby utworzyć nowy segment, kliknij *Nowy segment* w prawym górnym rogu. Jeśli nie ma jeszcze żadnych segmentów, możesz też kliknąć *Nowy segment* na środku strony.

Lista pokazuje dla każdego segmentu jego *Kod segmentu*, *Nazwa*, *Opis*, *Status* oraz, w *Produkty*, liczbę produktów spełniających jego warunki. Aby znaleźć segment, wpisz w *Szukaj...* pole pod nagłówkiem kolumny. Aby otworzyć segment, kliknij ***ikonę edycji (ołówek)*** ikonę na końcu jego wiersza; aby go usunąć, kliknij ***ikonę kosza***. Aby sortować listę, wskaż nagłówek kolumny i otwórz jego ***trzy kropki*** menu i wybierz ***Sortuj rosnąco*** lub ***Sortuj malejąco***. Wyszukiwanie, sortowanie i przenoszenie kolumn działają zgodnie z opisem w [Widok tabeli (widok siatki)](https://usermanual.ergonode.com/products/catalog/system-views/table-view-grid-view).

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FpDaxxk4PItmc9jXVuJDH%2Fimage.png?alt=media&#x26;token=f68ef1f9-bb07-49c1-aa32-671715eaa354" alt=""><figcaption></figcaption></figure>

Ten *Status* kolumna pokazuje, czy lista produktów segmentu jest aktualna:

| Status          | Opis                                                      | Dodatkowe informacje                                                                                                                       |
| --------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| *przetwarzanie* | System ustala, które produkty spełniają warunki segmentu. | Wyświetlane od razu po utworzeniu segmentu lub zmianie jego warunków. Liczba w *Produkty* może się zmienić podczas przetwarzania segmentu. |
| *obliczone*     | Lista produktów jest aktualna.                            | *Produkty* pokazuje ostateczną liczbę produktów w segmencie.                                                                               |

Teraz wpisz kod dla tego segmentu w *Kod segmentu* polu. Musi być unikalny, więc wybierz taki, który pozwoli Ci rozpoznać jego zawartość.

{% hint style="info" %}
Po zapisaniu kod segmentu nie może zostać zmieniony, więc jeśli chcesz go zmienić, usuń segment i utwórz nowy.
{% endhint %}

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2F6M9Hec1KBaqguQV6DF2S%2Fimage.png?alt=media&#x26;token=20c52e14-9153-420c-89f6-eb6b0e1113fd" alt="" width="563"><figcaption></figcaption></figure>

Przyciski pojawią się po wpisaniu kodu: kliknij ***Utwórz*** aby zapisać segment lub ***Utwórz i edytuj*** aby otworzyć go w trybie edycji. W trybie edycji będziesz mieć dostęp do trzech kart: [Ogólne](https://usermanual.ergonode.com/products/segments/general), [Tłumaczenia](https://usermanual.ergonode.com/products/segments/translations), oraz [Warunki](https://usermanual.ergonode.com/products/segments/conditions). Tytuł strony pokazuje nazwę segmentu, a pod nią jego kod; zielony przycisk ze strzałką obok przenosi Cię z powrotem do listy. Aby usunąć segment, kliknij ***Usuń segment*** w prawym górnym rogu i potwierdź za pomocą ***Usuń***.


---

# 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://usermanual.ergonode.com/ergonode-user-manual-pl/produkty/segmenty/utworz-nowy-segment.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.
