> 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-actions-then-in-rules/acciones-de-texto/rule-action-search-for-value.md).

# Buscar un valor

Busca los valores indicados en un campo y guarda los valores coincidentes o de sustitución en otro campo.

utilizza **`cerca valore`** para encontrar un valor In un Campo e guardar el valor coincidente oppure el valor de sustitución In otro Campo.

Esta acción es útil para tareas como:

* Extraer un color, una marca oppure una talla da un Campo de Testo más amplio.
* Estandarizar un valor encontrado antes de exportarlo.

### Cuándo aplicar esta acción

utilizza esta acción cuando el target e el destino sean campos diferentes. utilizza **`Buscar e sostituisci con un valor compatible`** para asignar valores completos en el mismo Campo da un Elenco de valores compatibles. utilizza **`sostituisci valore`** para reemplazar texto en el mismo campo.

### Añadir valores de búsqueda y sustitución

In **cerca valor en (parte del) campo**, introduce cada valor que quieras encontrar en una línea distinta.

Utiliza **Utilizza valore sostitutivo** cuando quieras guardar un valor diferente. Introduce cada valor de sustitución en la línea que corresponda al valor que buscas. Por ejemplo, introduce `navy` en la primera línea y `blue` en la primera línea de sustitución.

Deja **Utilizza valore sostitutivo** vacío para guardar el valor que encuentra la acción.

***

## Ejemplo `cerca valore` casos de uso

### Extraer un color de las descripciones de productos

#### Cómo A crear la Regola

* Condición: **`Para todo Articoli`**
* Acción: ENTONCES **`cerca valore`** In `description` e reemplazar en `color`

### Extraer marcas de los títulos

#### Cómo A crear la Regola

* Condición: **`Para todo Articoli`**
* Acción: ALLORA **`cerca valore`** In `title` e reemplazar en `brand`

{% hint style="info" %}

#### Consejo

Cuando buscas en un campo de lista, la acción comprueba todos los valores de la lista. Las listas vacías siguen vacías. Convierte la lista a texto antes de buscar en ella si necesitas un resultado de texto.
{% endhint %}


---

# 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-actions-then-in-rules/acciones-de-texto/rule-action-search-for-value.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.
