> 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/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/text-actions/rule-action-lookup-and-replace-value.md). Agents can also search and read this documentation through its [MCP server](https://helpcenter.channable.com/~gitbook/mcp).

# Search for and replace values with supported values

Replace exact field values from a lookup list, with optional case-sensitive matching.

Use **`Search for and replace with supported value`** to replace complete values in a field with supported values in the same field. You can use **Auto-fill field values** to create mappings from the values in your selected field.

This action is useful for tasks such as:

* Standardizing product values from a controlled lookup list.
* Replacing values only when they exactly match a specified value.

### When to use this action

Use this action to map complete field values to a controlled list of supported values. Use **`Search for value`** when you need to find a value in one field and save it in another field. Use **`Replace value`** when you need to replace text within the same field.

***

## Example `Search for and replace with supported value` use cases

{% hint style="info" %}

#### Tip

Select **Case sensitive** when uppercase and lowercase values need different replacements. For example, a search for `red` does not replace `Red` when you select this option.
{% endhint %}

### Standardize colour values

#### How to build a rule

* Condition: **`For all items`**
* Action: THEN **`Search for and replace with supported value`**
  * Field value: `Red`
  * Supported value: `Brick`

This replaces items where the field value exactly matches `Red`. It does not replace `Dark Red`.

### Map detected field values

#### How to build a rule

* Condition: **`For all items`**
* Action: THEN **`Search for and replace with supported value`**
  * Click **Auto-fill field values**.
  * Enter a **Supported value** for each detected **Field value**.


---

# 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/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/text-actions/rule-action-lookup-and-replace-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.
