> 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/rules-in-channable.md).

# Rules in Channable

In Channable, you can use rules[^1] to edit and enrich your [product data](#user-content-fn-2)[^2] to meet the requirements of your chosen channel.&#x20;

### What is a rule? <a href="#h_01jkgdxp9jndv9484sqh0pw45k" id="h_01jkgdxp9jndv9484sqh0pw45k"></a>

Rules follow a basic logic to help you to automatically manage and modify your items: “IF the items meet X criteria, THEN do Y”.

Perhaps you have some items in your product data that are out of stock. You can use a rule to check for these items and exclude them so that they are not listed on the channel.&#x20;

Or, you want to list your products on Google Shopping, but they enforce a maximum character length for product titles, and your titles are too long. You can use a rule to adjust all your product titles to meet the exact character limit.&#x20;

![](https://501928696-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu8whzIfip72Kvn3M1bsc%2Fuploads%2Fjc70xFgOlEsI68muVQD1%2FRules-condition-action-focus.png?alt=media\&token=57768ed6-f127-4065-b987-4e12479f2bfa)

### Conditions <a href="#h_01jkge9a2wcsvrtxvs606by95r" id="h_01jkge9a2wcsvrtxvs606by95r"></a>

Conditions are the ‘**IF**’ part of a rule. Use conditions to filter which items you want your rule to apply to.

[Learn more about conditions](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md)

| **Condition type**                                                                                                                      | **Description**                                                                                                               |
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| [All](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#all)                                 | Use **All** to perform an action on every item.                                                                               |
| [Contains any of](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#contains-any-of)         | Use **Contains any of** to search for values in other fields.                                                                 |
| [Equals any of](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#equals-any-of)             | Use **Equals any of** to search for exact matches on values in other fields.                                                  |
| [Is before](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#is-before)                     | Use **Is before** to perform an action when the current\_date is before a specified date and time.                            |
| [Is empty](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#is-empty)                       | Use **Is empty** to perform an action when a field contains no data.                                                          |
| [Is less or equal to](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#is-less-or-equal-to) | Use **Is less or equal to** to perform an action when a field is less or equal to the value of another field, or a set value. |
| [Is less than](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#is-less-or-equal-to)        | Use **Is less than** to perform an action when a field is less than the value of another field, or a set value.               |
| [Is not valid](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#is-not-valid)               | Use **Is not valid** to perform an action when the gtin field contains invalid data.                                          |
| [Is on or after](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-conditions-if-in-rules.md#is-on-or-after)           | Use **Is on or after** to perform an action when the current\_date is on or after a specified date and time.                  |

### Actions <a href="#h_01jnech2zz22txj61b9vtdgkva" id="h_01jnech2zz22txj61b9vtdgkva"></a>

Actions are the ‘**THEN**’ part of a rule. Use actions to define what you want your rule to do to the items you have filtered.

[Learn more about actions](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules.md)

| **Action type**                                                                                                                                                    | **Description**                                                                                                  |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
| [Build item group](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-build-item-group.md)                       | Use **Build item group** to store values from item fields in a list.                                             |
| [Calculate](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-calculate.md)                                     | Use **Calculate** to add, subtract, multiply, or divide fields or values.                                        |
| [Calculate formula](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules.md#calculate-formula)                                 | Use **Calculate formula** to make complex calculations using numbers and project field values.                   |
| [Copy value](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-copy-value.md)                                   | Use **Copy value** to populate a field with data from another field.                                             |
| [Remove duplicate items](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-remove-duplicate-items.md)           | Use **Deduplicate list** to remove duplicate items.                                                              |
| [Remove duplicates from list](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-remove-duplicates-from-list.md) | Use **Deduplicate list** to remove duplicate items from a list.                                                  |
| [Exclude](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules.md#exclude)                                                     | Use **Exclude** to remove items that meet the specified conditions.                                              |
| [Modify text](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-modify-text.md)                                 | Use **Modify text** to make changes to the styling or formatting of a text-based field. Including removing HTML. |
| [Reformat number](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-reformat-number.md)                         | Use **Reformat number** to change how decimal separators and thousands separators are formatted.                 |
| [Replace value](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-replace-value.md)                             | Use **Replace value** to replace a value in a field with a value of your choice.                                 |
| [Search for value](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-search-for-value.md)                       | Use **Search for value** to extract a value from a field and add it to another field.                            |
| [Set to value](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-set-to-value.md)                               | Use **Set to value** to populate a field with a fixed value.                                                     |
| [Split items](/manage-improve-product-data/rules-bulk-edit-and-enrich/how-to-use-actions-then-in-rules/rule-action-split-items.md)                                 | Use **Split items** to split up items based on a field that is a list.                                           |

### Using rules <a href="#h_01jppsfsza1x9q3vbhap4srep8" id="h_01jppsfsza1x9q3vbhap4srep8"></a>

* [Create a rule](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules.md#create-a-rule)
* [Order of rules](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules.md#order-of-rules)
* [Check the effects of a rule](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules.md#check-the-effects-of-a-rule)
* [Copy a rule](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules.md#copy-a-rule)
* [Add labels to rules](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules.md#add-a-label-to-a-rule)
* [Pause a rule](https://helpcenter.channable.com/hc/en-us/articles/360012773460#h_01JNGSTBHZ2HB6GCP23TQSKN9Z)
* [Delete a rule](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules.md#delete-a-rule)

### Rule templates <a href="#h_01jppsfszbatx8fs3frcw23w12" id="h_01jppsfszbatx8fs3frcw23w12"></a>

We have list of [rule templates](/manage-improve-product-data/rules-bulk-edit-and-enrich/using-rules/rule-templates.md), based on commonly used rules, to help you get started quickly.

[^1]: A set of instructions in Channable that automates changes to your product data using an IF–THEN structure

[^2]: All the information associated with a product (e.g. characteristics, attributes, details)


---

# 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/rules-in-channable.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.
