In Channable, you can use rules to edit and enrich your product data to meet the requirements of your chosen channel.
Contents
What is a rule?
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.
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.
Conditions
Conditions are the ‘IF’ part of a rule. Use conditions to filter which items you want your rule to apply to.
Condition name | Description |
All | Use All to perform an action on every item. |
Contains any of | Use Contains any of to search for values in other fields. |
Equals any of | Use Equals any of to search for exact matches on values in other fields. |
Is before | Use Is before to perform an action when the current_date is before a specified date and time. |
Is empty | Use Is empty to perform an action when a field contains no data. |
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 | 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 | Use Is not valid to perform an action when the gtin field contains invalid data. |
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
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.
Action | Description |
Build item group | Use Build item group to store values from item fields in a list. |
Calculate | Use Calculate to add, subtract, multiply, or divide fields or values. |
Calculate formula | Use Calculate formula to make complex calculations using numbers and project field values. |
Copy value | Use Copy value to populate a field with data from another field. |
Deduplicate items | Use Deduplicate list to remove duplicate items. |
Deduplicate list | Use Deduplicate list to remove duplicate items from a list. |
Exclude | Use Exclude to remove items that meet the specified conditions. |
Modify text | Use Modify text to make changes to the styling or formatting of a text-based field. Including removing HTML. |
Reformat number | Use Reformat number to change how decimal separators and thousands separators are formatted. |
Replace value | Use Replace value to replace a value in a field with a value of your choice. |
Search for value | Use Search for value to extract a value from a field and add it to another field. |
Set to value | Use Set to value to populate a field with a fixed value. |
Split items | Use Split items to split up items based on a field that is a list. |
Using rules
- Create a rule
- Order of rules
- Check the effects of a rule
- Copy a rule
- Add labels to rules
- Pause a rule
- Delete a rule
Rule templates
We have list of rule templates, based on commonly used rules, to help you get started quickly.