> For the complete documentation index, see [llms.txt](https://helpcenter.channable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/how-to-use-conditions-if-in-rules/rule-condition-is-in-highest-x-is-in-lowest-x.md).

# Seleziona Articoli con los valores más altos oppure más bajos

Selecciona los artículos con los valores más altos o más bajos en un campo numérico.

Utiliza **`Is in top`** y **`Is in bottom`** para seleccionar artículos mediante un campo numérico.

* **`Is in top`** selecciona los artículos con los valores más altos.
* **`Is in bottom`** selecciona los artículos con los valores más bajos.

Elige un campo e introduce el número de artículos que quieres seleccionar:

* **SI** `price` **`Is in top`** `10` selecciona los 10 artículos con los precios más altos.
* **SI** `stock` **`Is in bottom`** `10` selecciona los 10 artículos con los valores de stock más bajos.

{% hint style="info" %}

#### Nota

Utiliza un campo numérico, como `price`, `stock`, o `revenue`. Channable clasifica los artículos disponibles y, a continuación, selecciona el número de artículos que especifiques.
{% endhint %}

***

### Ejemplo `Is in top` y `Is in bottom` uso

Utiliza estas condiciones para encontrar artículos en los extremos de una clasificación:

* **Marca los artículos con mejor rendimiento:** Selecciona la condición **`Is in top`**, y luego utiliza la acción **`Set value`** para añadir `high performer` a un campo personalizado para los 50 artículos con los ingresos más altos.
* **Revisa los artículos con poco stock:** Selecciona la condición **`Is in bottom`**, y luego utiliza la acción **`Set value`** para añadir `low stock` a un campo personalizado para los 10 artículos con los valores de stock más bajos.


---

# 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://helpcenter.channable.com/manage-improve-product-data/manage-product-and-improve-data-es/reglas-edicion-masiva-y-enriquecimiento/how-to-use-conditions-if-in-rules/rule-condition-is-in-highest-x-is-in-lowest-x.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.
