sortyra.com/knowledge-base/feed-rules-bulk-editing

Feed rules – bulk edit products without code – Sortyra

Markdownllms.txtai-catalog.jsonSKILL.mdauth.md
# Feed rules – bulk edit products without code – Sortyra

> Rules bulk edit your product feed: they change titles and prices, hide products and fill in missing data. A step-by-step guide with examples and tips.

Source: <https://sortyra.com/knowledge-base/feed-rules-bulk-editing>

---

[Sortyra](https://sortyra.com/) [Knowledge base](https://sortyra.com/knowledge-base) [Processing](https://sortyra.com/knowledge-base#processing)

# Rules: how they work

Sortyra team · June 3, 2026 · 9 min read

Search the knowledge base

[Knowledge base](https://sortyra.com/knowledge-base)

**Feed basics**

- [What is a product feed](https://sortyra.com/knowledge-base/what-is-a-product-feed)
- [Feed types: XML, CSV, TSV, JSON, Google Sheets and API](https://sortyra.com/knowledge-base/feed-types-xml-csv-json)
- [What a product feed is used for](https://sortyra.com/knowledge-base/what-product-feeds-are-used-for)
- [What is a feed manager and when do you need one?](https://sortyra.com/knowledge-base/what-is-a-feed-manager)
- [Supplier feeds, wholesale and dropshipping](https://sortyra.com/knowledge-base/supplier-feed-dropshipping)
- [Feeds for price comparison sites (Heureka, Zboží and others)](https://sortyra.com/knowledge-base/price-comparison-site-feed)
- [Google Merchant Center and Google Shopping feed](https://sortyra.com/knowledge-base/google-merchant-center-feed)
- [Catalogue for Facebook and Instagram](https://sortyra.com/knowledge-base/facebook-instagram-catalogue-feed)
- [Feeds for marketplaces](https://sortyra.com/knowledge-base/marketplace-product-feeds)
- [EAN, GTIN, MPN and product codes](https://sortyra.com/knowledge-base/ean-gtin-mpn-product-code)
- [Product categories and category trees](https://sortyra.com/knowledge-base/product-categories-category-tree)
- [Product attributes and variants](https://sortyra.com/knowledge-base/product-attributes-and-variants)
- [Product matching on comparison sites](https://sortyra.com/knowledge-base/product-matching-comparison-sites)
- [Availability, stock and delivery time](https://sortyra.com/knowledge-base/availability-stock-delivery-time)
- [Price, VAT and currency in a feed](https://sortyra.com/knowledge-base/price-vat-currency-in-feed)
- [Images in feeds](https://sortyra.com/knowledge-base/images-in-product-feeds)
- [How often to update a feed](https://sortyra.com/knowledge-base/how-often-to-update-a-feed)
- [The most common feed errors and how to fix them](https://sortyra.com/knowledge-base/common-feed-errors-how-to-fix)

**Getting started**

- [Getting started with Sortyra – an overview](https://sortyra.com/knowledge-base/getting-started-with-sortyra)
- [Adding your first feed](https://sortyra.com/knowledge-base/adding-your-first-feed)
- [Your first output for a channel](https://sortyra.com/knowledge-base/first-output-for-a-channel)
- [Dashboard](https://sortyra.com/knowledge-base/feed-and-alerts-dashboard)
- [Team, roles and access](https://sortyra.com/knowledge-base/team-roles-and-access)
- [Subscription, payments and free trial](https://sortyra.com/knowledge-base/subscription-payments-free-trial)
- [Billing details](https://sortyra.com/knowledge-base/company-billing-details)
- [Booking a 15-minute call and what to prepare](https://sortyra.com/knowledge-base/book-a-15-minute-call)

**Catalogue**

- [Sources](https://sortyra.com/knowledge-base/sources-input-feeds)
- [Source settings: field mapping, item ID, download schedule, login](https://sortyra.com/knowledge-base/feed-source-settings)
- [Products: search and filters](https://sortyra.com/knowledge-base/products-search-and-filters)
- [Manual edits and locked fields](https://sortyra.com/knowledge-base/manual-edits-locked-fields)
- [Fields and values](https://sortyra.com/knowledge-base/feed-fields-and-values)
- [Categories in Sortyra: your own tree, assignment and channel mapping](https://sortyra.com/knowledge-base/product-categories-in-sortyra)
- [Thematic and seasonal categories: Christmas, gifts, Black Friday](https://sortyra.com/knowledge-base/thematic-seasonal-categories)
- [Renaming a category without losing SEO: 301 redirects for each platform](https://sortyra.com/knowledge-base/rename-category-301-redirects)
- [SortyMigration: moving your shop step by step](https://sortyra.com/knowledge-base/migrating-from-another-platform)
- [Duplicates and the same product from several suppliers](https://sortyra.com/knowledge-base/duplicate-products-multiple-suppliers)

**Processing**

- [Rules: how they work](https://sortyra.com/knowledge-base/feed-rules-bulk-editing)
- [Rule recipes – examples](https://sortyra.com/knowledge-base/feed-rule-recipes-examples)
- [AI Copilot: set up and edit your feed in a conversation](https://sortyra.com/knowledge-base/ai-copilot-plain-language-feed-edits)
- [AI Copilot prompt examples](https://sortyra.com/knowledge-base/ai-copilot-prompt-examples)
- [AI content: titles, descriptions, attributes](https://sortyra.com/knowledge-base/ai-content-descriptions-titles-attributes)
- [Prompt examples for AI content](https://sortyra.com/knowledge-base/ai-content-prompt-examples)
- [Translations, glossary and translation memory](https://sortyra.com/knowledge-base/translate-product-feed-glossary-memory)
- [Image studio](https://sortyra.com/knowledge-base/image-studio-feed-product-photos)
- [Feed visuals (image editor)](https://sortyra.com/knowledge-base/feed-visuals-image-editor)
- [Output check and data quality](https://sortyra.com/knowledge-base/check-feed-before-publishing)

**Outputs and channels**

- [Outputs and feed links](https://sortyra.com/knowledge-base/outputs-and-feed-links)
- [Channel formats and custom specifications](https://sortyra.com/knowledge-base/channel-formats-custom-specification)
- [Sharing feeds with partners](https://sortyra.com/knowledge-base/sharing-feeds-with-partners)
- [Connecting your shop via API](https://sortyra.com/knowledge-base/connect-online-shop-via-api)
- [Marketplaces: connection, offers, orders](https://sortyra.com/knowledge-base/marketplaces-connection-offers-orders)
- [Marketplace pricing: exchange rate, commission, VAT and minimum margin](https://sortyra.com/knowledge-base/marketplace-pricing)
- [Heureka Marketplace: connection, shipping and orders](https://sortyra.com/knowledge-base/heureka-marketplace-connection-orders)

**Prices and sales**

- [Prices and competition](https://sortyra.com/knowledge-base/competitor-based-pricing)
- [Price position](https://sortyra.com/knowledge-base/price-position-on-comparison-sites)
- [Connecting Google Merchant Center: market prices and product performance](https://sortyra.com/knowledge-base/connect-google-merchant-center)
- [Bidding on comparison sites](https://sortyra.com/knowledge-base/cpc-bidding-heureka-zbozi)
- [Product matching with comparison sites in Sortyra](https://sortyra.com/knowledge-base/comparison-site-matching-in-sortyra)
- [Stock and delivery](https://sortyra.com/knowledge-base/stock-and-delivery-times)
- [Own warehouse: marking a source, several warehouses and "in stock"-only feeds](https://sortyra.com/knowledge-base/own-warehouse-stock-feed)
- [Exporting stock from a warehouse program to a feed](https://sortyra.com/knowledge-base/stock-export-warehouse-software)
- [POHODA: exporting stock to your shop, Heureka and Google](https://sortyra.com/knowledge-base/pohoda-stock-export-feed)
- [Money S3: exporting stock to a feed for your shop and comparison sites](https://sortyra.com/knowledge-base/money-s3-stock-export-feed)
- [ABRA Flexi: stock and price-list prices straight into your feed](https://sortyra.com/knowledge-base/abra-flexi-stock-feed)
- [KROS Omega: stock card list into your feed](https://sortyra.com/knowledge-base/kros-omega-stock-feed)
- [Price quotes for customers](https://sortyra.com/knowledge-base/price-quotes-for-business-customers)
- [External and web data](https://sortyra.com/knowledge-base/external-data-and-web-data)

**Insights and checks**

- [Insights and alerts](https://sortyra.com/knowledge-base/feed-insights-and-alerts)
- [Freshness guard and feed update history](https://sortyra.com/knowledge-base/feed-freshness-guard)
- [Safeguards: prices and blocked terms](https://sortyra.com/knowledge-base/feed-safeguards-prices-blocked-terms)
- [Change history and undo](https://sortyra.com/knowledge-base/change-history-and-undo)
- [System status](https://sortyra.com/knowledge-base/system-status-feed-runs)

**Integrations and API**

- [AI and integrations: your own key or Managed AI](https://sortyra.com/knowledge-base/ai-integrations-own-api-key)
- [Alerts by email, Slack, Telegram and webhook](https://sortyra.com/knowledge-base/feed-alerts-email-slack-telegram-webhook)
- [REST API](https://sortyra.com/knowledge-base/rest-api-product-feeds)
- [Working through an AI agent – MCP](https://sortyra.com/knowledge-base/mcp-ai-agent-product-feeds)
- [Agencies and client management](https://sortyra.com/knowledge-base/agencies-client-feed-management)
- [Partner programme: sign-up, commissions and invoices](https://sortyra.com/knowledge-base/partner-programme-commissions)
- [Data and privacy: export, deletion and improving the service](https://sortyra.com/knowledge-base/data-privacy-export-deletion)

**Troubleshooting**

- [The feed is not downloading](https://sortyra.com/knowledge-base/feed-not-downloading-source-error)
- [The supplier stopped updating the feed – how to spot it before your customers do](https://sortyra.com/knowledge-base/supplier-stopped-updating-feed)
- [Products missing from the output](https://sortyra.com/knowledge-base/products-missing-from-feed-output)
- [A comparison site or Google rejects your feed](https://sortyra.com/knowledge-base/comparison-site-or-google-rejects-feed)
- [AI not working or limit reached](https://sortyra.com/knowledge-base/ai-not-working-limit-reached)
- [Frequently asked questions](https://sortyra.com/knowledge-base/sortyra-faq)

A rule is an instruction in the form "if a condition applies, make a change", which Sortyra applies to every product each time the feed is updated. You set it up once and it also applies to products the supplier adds tomorrow. You don't need to program – you build the rule from a menu.

**In this article**

1. What rules do
2. Where to find rules
3. How rules are carried out
4. Step by step: a new rule
5. Conditions you can use
6. Actions a rule can perform
7. Examples
8. Managing the rule chain
9. Tips and common mistakes
10. Frequently asked questions

## What rules do

Imagine a warehouse worker who goes through every delivery following a sheet of instructions: "if the brand is missing, add it", "round the price to .90". Rules are that sheet – except a computer carries them out every time the feed (the supplier's list of products) is updated.

Every rule has two parts:

- **IF** – a condition that selects products (for example "stock is 0" or "manufacturer is Acme"). Without a condition, the rule applies to all products.
- **THEN** – an action saying what happens to the selected products (the price changes, text is added, the product is hidden…).

Rules always belong to one **output** – a feed for a specific channel, such as Heureka or Google. The supplier's original data does not change; rules only adjust what leaves the output.

## Where to find rules

In the left-hand menu, in the **Catalogue** group, click **Rules**. The screen always works with one output – choose it in the feed switcher in the top bar. If you don't have an output yet, the app first asks you to create one.

The screen has four tabs:

- **Rule chain** – the list of the output's rules, next to it a **Test run** panel for the whole chain and **Suggest with AI**, and below it **Variables** – values such as a margin or exchange rate that you use in several rules,
- **Templates** – ready-made sets of rules for channels, recipes and packs (in detail in the article [Rule recipes – examples](https://sortyra.com/knowledge-base/feed-rule-recipes-examples)),
- **Test runs** – the last 10 test runs of the whole chain,
- **Archive** – every version of a rule, including deleted ones, with the option to restore it.

## How rules are carried out

Rules are carried out **from top to bottom**, and each one sees the product as the previous one left it. If the first rule increases the price by 10 % and the second rounds it to .90, it is the increased price that gets rounded.

After every change to the rules, the output is recalculated by itself. **Manual edits and locked fields** always take priority – a rule does not change a locked field (more in the article [Manual edits and locked fields](https://sortyra.com/knowledge-base/manual-edits-locked-fields)).

## Step by step: a new rule

1. Open **Rules** and choose the output in the feed switcher in the top bar.
2. Click **New rule** in the top bar (or **Add a rule** in the **Rule chain** card). The "If … then …" builder opens.
3. In the **IF** part, click **Add condition**. Fill in the **Field** (for example `STOCK`), choose the **Condition** (for example `≤`) and enter the **Value** (for example `0`). If you don't add a condition, the rule applies **for all products**.
4. With several conditions, choose the **Condition logic**: _all conditions are met_ or _at least one condition is met_. If you have a saved view (filter) on the **Products** screen, you can use it via **Use a saved view from Products…**
5. In the **THEN** part, choose the **Action**, fill in the **Target field** and any other details the action needs (value, expression, text to replace…).
6. Optionally set **Active from** and **Active until** (the rule switches itself on and off – for example for a weekend promotion), **For supplier** (the rule applies only to products from one source) and a **Rule name**, so you can find it easily in the chain.
7. Click **Test run**. You see how many products will change, how many will be hidden, which fields are affected, and "before → after" examples. Nothing is saved yet.
8. If the impact is fine, click **Create rule**. It is added to the end of the chain and the output is recalculated.

## Conditions you can use

| Condition | When it applies |
| --- | --- |
| **is** / **is not** | the value matches (doesn't match) exactly; numbers are compared as numbers, so `15.0` is the same as `15` |
| **<**, **>**, **≤**, **≥** | comparing numbers or dates (for example `2026-12-01`) |
| **contains** / **does not contain** | the text appears (doesn't appear) anywhere in the field |
| **starts with** / **ends with** | the beginning or end of the text |
| **matches regex** | the text fits a regular expression (a pattern for searching text) |
| **is filled in** / **is empty** | the field has or doesn't have a value; no value needs to be entered |
| **is a valid EAN** / **is an invalid EAN** | the code has (or doesn't have) the correct length and check digit |

For fields with several values (for example `CATEGORIES` or `IMAGES`), it is enough for one value to meet the condition.

## Actions a rule can perform

| Action | What it does |
| --- | --- |
| **Set value** | writes text into the field, including the value of another field, e.g. `%MANUFACTURER% %NAME%` |
| **Add to beginning** / **Append to end** | adds text before or after the current value |
| **Find and replace** | swaps text; optionally as a regular expression, with the **Test the expression** tester |
| **Calculation** | calculates a value with a formula, e.g. `PRICE_VAT * 1.1`, and rounds to the chosen number of decimal places |
| **Round to ending** | adjusts the price so it ends in e.g. `0.90` or `9` |
| **Value table** | converts values using a lookup list (original = new); you can also paste the table from Excel |
| **Copy values** | transfers a value from one field or attribute to another |
| **Letter case** | lowercase, UPPERCASE, Every Word Capitalised, or only the first letter capital |
| **Truncate text** | shortens text to a given number of characters, on whole words |
| **Remove HTML** | removes formatting tags from the description |
| **UTM parameters** | adds visit-tracking parameters to links |
| **Translate** | translates the chosen fields into another language (see [Translations](https://sortyra.com/knowledge-base/translate-product-feed-glossary-memory)) |
| **Generate code** | fills in a missing product code consistently – the same product always gets the same code |
| **Hide product** | the product does not get into the output |

Write fields in capital letters exactly as in the list of fields (`NAME`, `PRICE_VAT`, `EAN`…). You write an attribute as `PARAM:Colour`. You can find out which fields and values your products have on the **Fields and values** screen (see [Fields and values](https://sortyra.com/knowledge-base/feed-fields-and-values)) – from there you can also create a rule with the **+ Rule** button next to a specific value.

## Examples

- **Clearance without losing money:** `IF STOCK ≤ 0 → Hide product` – sold-out goods don't appear on the comparison site and you don't pay for pointless clicks.
- **Brand in the title:** `Add to beginning: NAME = %MANUFACTURER%` – "Tent Trek 2" becomes "Nordwind Tent Trek 2".
- **Mark-up:** `Calculation: PRICE_VAT = PRICE_VAT * 1.08` – all prices in the output go up by 8 %.
- **Attractive prices:** `Round to ending: PRICE_VAT, 0.90` – €24.63 becomes €24.90.

You will find over 60 more examples in the article [Rule recipes – examples](https://sortyra.com/knowledge-base/feed-rule-recipes-examples).

## Managing the rule chain

Each rule in the chain has a **Rule enabled** switch and arrows to change the order; you can also change the order by dragging a rule with the mouse. Under the **More actions** button (three dots) you'll find **Edit**, **JSON** (advanced editing), **Note** (why the rule exists), **Duplicate**, **Select** and **Delete**. A rule with a fixed period carries the label **Scheduled**, and a rule from AI the label **Suggested by AI**.

- **All**, **For output**, **For source** and **Scope** – narrow the list down to the rules of the whole output or of a single source.
- **Search rules** and **Select shown** (in the three-dot menu) – find rules and enable, disable, move to a group or delete them in bulk.
- **Same as #N** – the app marks a rule that does exactly the same thing as an earlier one. You can disable or delete it.
- **Archive** – every change has a version and an author (user, AI, API). The **Restore this version** button takes you back, even after deletion.
- **Export rules** / **Import rules** (in the three-dot menu) – download rules as a file and upload them to another output. When importing, in the **Import mode** field you choose **Add to current rules** or **Replace current rules**.
- **Suggest with AI** – you describe in a sentence what you want to change, and [AI Copilot](https://sortyra.com/knowledge-base/ai-copilot-plain-language-feed-edits) prepares a rule suggestion that you add only after reviewing it.

## Tips and common mistakes

- **Order matters.** Put title shortening after the rule that adds the brand to the title.
- **"is" compares exactly.** For text, letter case matters (`Acme` is not `ACME`). If you are not sure how something is written, use **contains**, which ignores letter case.
- **Decimal point in expressions.** In a calculation, write `1.1`, not `1,1`.
- **Percent sign in text.** Text between two `%` characters is treated as a field name. If you want to write a percent sign itself in the text, write it twice: `20 %% off`.
- **Empty field in a calculation.** If a calculation hits an empty or non-numeric value, it leaves the product unchanged and flags the rule with an error. You can find such products in **Products** under the status **With rule error**. The condition `PURCHASE_PRICE is filled in` helps.
- **Why does a product look like this?** In the product detail, switch on **Track product**. After the next run, the **Rule trace** card shows every rule that changed the product.

## Frequently asked questions

### Will rules overwrite my manual edits?

No. Manual edits and locked fields take priority over rules and over new data from the supplier.

### Does a rule also apply to new products?

Yes. Rules are applied at every feed update, so also to products the supplier adds later.

### Can I have different rules for Google and for Heureka?

Yes. Rules belong to an output, so each channel can have its own chain. You can transfer the same rules with the **Export rules** and **Import rules** buttons.

### How do I undo a change that went wrong?

On the **Archive** tab, find the previous version of the rule and click **Restore this version**. The output is recalculated.

### Can I describe a rule in a sentence?

Yes, with [AI Copilot](https://sortyra.com/knowledge-base/ai-copilot-plain-language-feed-edits). You write, for example, "Hide products without an image" and Copilot prepares the rule with a test run for you to approve.

[← Previous article **Duplicates and the same product from several suppliers**](https://sortyra.com/knowledge-base/duplicate-products-multiple-suppliers) [Next article → **Rule recipes – examples**](https://sortyra.com/knowledge-base/feed-rule-recipes-examples)

## More articles: Processing

- [Rule recipes – examples](https://sortyra.com/knowledge-base/feed-rule-recipes-examples)
- [AI Copilot: set up and edit your feed in a conversation](https://sortyra.com/knowledge-base/ai-copilot-plain-language-feed-edits)
- [AI Copilot prompt examples](https://sortyra.com/knowledge-base/ai-copilot-prompt-examples)
- [AI content: titles, descriptions, attributes](https://sortyra.com/knowledge-base/ai-content-descriptions-titles-attributes)
- [Prompt examples for AI content](https://sortyra.com/knowledge-base/ai-content-prompt-examples)
- [Translations, glossary and translation memory](https://sortyra.com/knowledge-base/translate-product-feed-glossary-memory)
- [Image studio](https://sortyra.com/knowledge-base/image-studio-feed-product-photos)
- [Feed visuals (image editor)](https://sortyra.com/knowledge-base/feed-visuals-image-editor)
- [Output check and data quality](https://sortyra.com/knowledge-base/check-feed-before-publishing)

## Try it on your own feed

[Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)