> 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-build-value.md).

# Rule action: Build value

Combine field values and static text to create a field value for selected items.

Use **`Build value`** to combine field values, static text, or numbers in a new field value.

This action is useful for tasks such as:

* Adding product attributes to titles or IDs.
* Creating a channel-specific identifier from existing data.

### Combine text, numbers, and field values

Use this action to fill a field with values from other fields, static text, static numbers, or a combination of them.

For example, you can add a color or size to a product title or ID. This helps distinguish product variants in your export channels.

***

## Example `Build value` use cases

### Add colors to product titles

#### How to build a rule

* Condition: IF value(s) in `color` **`are not empty`**
* Action: THEN **`Build value`** `title` `color` and store in `title`

This creates titles with the product color added, such as:

* `Durea Instapschoenen 5669 - Taupe`
* `Teva Sandalen & slippers Kayenta - blue combi`

### Create a channel-specific item ID

#### How to build a rule

* Condition: IF value(s) in `id` **`are not empty`**
* Action: THEN **`Build value`** `product-` `id` and store in `channel_item_id`

This creates values such as `product-12345` in `channel_item_id`.

{% hint style="info" %}

#### Important details

Check that optional fields contain a value before using them. This prevents incomplete results, such as titles ending in `-` when `color` is empty.
{% 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/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/text-actions/rule-action-build-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.
