# Rules editor: groups, search and multilingual texts

> How to find a system rule through groups and search, filter changed ones, enter time, JSON and auto-reply text for each club language without losing values.

- URL: https://gyms-crm.com/en/docs/settings/system-rules-editor/
- Language: en
- Updated: 2026-11-16
- Site: GYMS-CRM (https://gyms-crm.com/)

Documentation menu

How to find a system rule through groups and search, filter changed ones, enter time, JSON and auto-reply text for each club language without losing values.

Updated Nov 16, 2026About 12 minAdvanced

For roles:OwnerManager

**Screen overview in words**

What this page covers: Groups and counters · Search and the changed filter · Fields by rule type · Auto-reply text in several languages · JSON rules

There are more than two hundred and eighty system-rule cards, and there is no point in scrolling through them all. The screen gives you three ways to reach the one you need quickly.

The first is the group tabs. Next to each group name is a rule counter. The last tab, "All", shows everything. The second way is search. Type a word, for example "penalty", and the system itself switches to "All" and shows matches from different groups, and next to the technical name of a rule it labels the group the rule belongs to. You can also search by key, say REFUND_METHOD_POLICY. The third is the switch "Only changed from default": only the rules you have ever changed will remain.

Now about entering values. A switch rule has "Yes" and "No". Numbers have a suffix: minutes, hours, days, hryvnias. Time has a dedicated field, and dates have a calendar. Complex values such as a list of languages or per-location modes are entered in JSON format, and an "advanced" mark hangs next to them. The system will not save an incorrect format.

The auto-reply text deserves a separate mention. This is the "we are offline now" message that the bot sends when a client writes while the hall is closed. It has an editor with a separate field for each club language. If you filled in Ukrainian and English and left Czech empty, the system will not save Czech, and a client with Czech will receive the text in another language.

If you erase all languages, the system uses the built-in text. So an empty editor breaks nothing.

**On this page**

Where to find it:SystemClub settingsSystem rulesaddress: `/settings/system_rules`

Who this is for: the owner and manager who work with hundreds of rules, and an administrator who prepares auto-reply texts for clients in different languages.

## Why this screen exists

This screen holds more than 300 rules, so quick search matters. Groups, search and the changed filter help you find a rule in a minute without scrolling through the whole list. A dedicated editor is needed for the auto-reply text: clients write in different languages, and each one should get a reply in their own.

This page complements the overview of [System rules](https://gyms-crm.com/en/docs/settings/system-rules/): that page explains what a rule is and how to change it, and this one goes into detail about navigation and special fields.

![The Notifications group: the Autoreply text rule with a separate text field for each club language («Сповіщення», «Текст автовідповіді»)](https://gyms-crm.com/docs/screens/settings-system-rules-editor.webp)

The messenger autoreply text is edited separately for each of the club's languages; an empty language is not saved.

1. 1Autoreply text rule («Текст автовідповіді»): a separate field for each language

The screenshot shows the search bar, the switch, group tabs with counters, and three types of cards: a choice from a list, a number with a unit (₴), and an advanced rule with JSON.

## What is on the screen

### Groups and counters

- Tabs with the number of rules: Finance («Фінанси»), Bookings («Бронювання»), Clients («Клієнти»), Notifications («Сповіщення»), Staff («Персонал»)
- The last tab All («Усі») shows the total number
- Counters take search and the filter into account

### Search and filter

- Search by name, description or key («Пошук за назвою, описом або ключем»)
- The Only changed from default («Лише змінені від замовчування») switch
- The cross clears the search

### Value field

- A Yes («Так») / No («Ні») switch, a number with a unit, a list of options
- A field for time, date or country code
- A separate field for each language for texts

## Actions on the screen

### How to find a rule

1. Type a word into the search bar, for example "penalty". The screen switches to the All tab by itself and shows matches from different groups. The group is shown next to the technical name.
2. You can also search by key: enter REFUND_METHOD_POLICY, and one card with a list of options remains.
3. To see only the rules you have ever changed, switch on Only changed from default. Groups without changed rules disappear from the tabs.

### How to enter a value by type

1. For time (for example, night hours in payroll), use the time field HH:MM. Some values can be left empty: that means "not set".
2. For a date, enter it in the format YYYY-MM-DD. For the telephony country code, enter "+" and up to 4 digits, for example +380.
3. For amounts in hryvnias, give a number with no more than two decimal places. The ₴ sign stands on the right.
4. For JSON rules, enter the value following the sample in the hint. The advanced («розширене») mark reminds you that the format is strict.

### How to set the auto-reply text in several languages

1. Find the rule "Messenger auto-reply text outside working hours" in the Notifications group or through search.
2. Under the heading, separate fields appear for each club language, with labels like "Ukrainian (uk)". The club's default language comes first.
3. Fill in the languages you need. An empty field means there is no separate text for that language.
4. Click Save changes («Зберегти зміни»). Only the filled-in languages are saved.

If you erase all languages, the system saves an empty value and sends the built-in text. The limit for each language is 4096 characters.

## How the system picks the auto-reply language

The client gets the text in this order: the client's language, the club's language, any filled-in language, the built-in text. The auto-reply works only when the rule "Messenger auto-reply outside working hours" is switched on. The channels are chosen by a separate JSON rule: by default these are Telegram, Viber, Instagram and WhatsApp. In Instagram and WhatsApp the reply goes only within 24 hours of the client's message.

## Formats of complex rules

| Rule | What to enter | Example |
| --- | --- | --- |
| Content languages | A non-empty array of language codes | `["uk","en","cs"]` |
| Forbidden prefixes | An array of strings starting with "+" | `["+380900"]` |
| Auto-reply channels | An array: telegram, viber, instagram, whatsapp; `[]` switches it off | `["telegram","viber"]` |
| Tax regime of locations | An object "location ID: mode" | `{"1":"NON_VAT_PAYER"}` |

The allowed modes are `VAT_PAYER` and `NON_VAT_PAYER`. For modes the key must be the numeric location ID.

The rule "Tax regime of locations" is edited not as JSON text but as a table: the Add location button adds a row in which you choose a location ("Choose a location") and a mode, "VAT payer" or "Not a VAT payer". Locations without a row use the default mode ("No mode is set for any location: the default mode applies"). If the saved value has a non-standard form, the editor shows it as a text field. Rules with default taxes (sales, room rental, visit charge) are chosen from the list of taxes: this is a picker of active taxes, and you do not need to type an ID.

## Typical situations

### You need to check what you have changed

Switch on Only changed from default. The screen keeps the rules with the "changed" mark and the tabs that have them.

### The rule cannot be found by name

Try a part of a word or the technical key. If the rule is not there, it may have been removed from the system: retired rules are not shown.

### The rule is marked "Not in effect yet"

The system does not use it yet, so changing it makes no sense. These include the confirmation window from the waiting list, notifications about a freed spot and debt, and the rules for the hall's working hours.

## When the system refuses

The errors are shown by the editor itself under the field. The save button stays inactive until the value is fixed.

The system answers: «Текст (uk) довший за 4096 символів»

The text (uk) is longer than 4096 characters. Shorten the auto-reply text for the given language.

The system answers: «Невідомий канал: sms. Допустимі: telegram, viber, instagram, whatsapp»

Unknown channel: sms. The allowed ones are telegram, viber, instagram and whatsapp. The auto-reply channels rule names a channel that does not exist. Keep only the allowed ones.

The system answers: «Режим має бути одним із: VAT_PAYER, NON_VAT_PAYER»

The mode must be one of VAT_PAYER and NON_VAT_PAYER. For a location's tax regime, give one of the two allowed modes.

The system answers: «Некоректний код мови: ukr1 (дві–три малі латинські літери)»

Invalid language code: ukr1 (two or three lowercase Latin letters). In the content languages list, a code must consist of two or three lowercase Latin letters, for example "uk".

The system answers: «Префікс має починатися з «+»: 380900»

The prefix must start with "+": 380900. Add the "+" sign at the beginning of forbidden prefixes.

## Who can see and do what

| Role | View | Actions |
| --- | --- | --- |
| Owner | All rules, search, filter | Changes values and texts |
| Manager | With the "System rules" permission | With the permission to change |
| Employee with view-only access | Search and filter work | Fields are disabled |

Did it not work? Write to [support on Telegram](https://t.me/gyms_crm_com) or leave a request using the form at the bottom of the page.

## Frequently asked questions

**Why does search switch to the All tab by itself?**

Search looks through all groups at once, so the All tab shows matches from different groups, and the group is labeled next to the technical name.

**Which languages appear in the text editor?**

The club languages from the rule "Content languages", with the default language first. Languages that are already in the text but dropped out of the list are also shown, so you do not lose the text.

**What will a client get if their language is missing from the text?**

The system takes the club's language, then any filled-in language, and if there is none, the built-in text.

**Why is the JSON not saved?**

The value must match the format in the hint. The editor checks the structure and shows what exactly to fix.

**Can I add a new rule?**

No. The list of rules is built into the system, and in the CRM only the values change.

- [NextTranslations of names and descriptions →](https://gyms-crm.com/en/docs/settings/translations/)
- [RelatedSystem rules](https://gyms-crm.com/en/docs/settings/system-rules/)
- [RelatedConnecting messengers](https://gyms-crm.com/en/docs/settings/integrations/)
- [RelatedInstagram and WhatsApp](https://gyms-crm.com/en/docs/settings/instagram-whatsapp/)

## Keep reading

- [CRM system rules: cancel windows, penalties, limits](https://gyms-crm.com/en/docs/settings/system-rules/)
- [Translations: names and descriptions in several languages](https://gyms-crm.com/en/docs/settings/translations/)
- [Connecting messengers: Telegram and Viber](https://gyms-crm.com/en/docs/settings/integrations/)
- [Instagram and WhatsApp integrations via Meta](https://gyms-crm.com/en/docs/settings/instagram-whatsapp/)
- [Business setup wizard: system rules and CRM sections](https://gyms-crm.com/en/docs/settings/business-setup/)
- [CRM settings and integrations: rules, roles, importGYMS-CRM settings: hundreds of business rules with no programmer, roles, locations, translations, agreements, payment, fiscal receipts, import. See the screens.](https://gyms-crm.com/en/mozhlyvosti/nalashtuvannia-ta-intehratsii/)
- [Gym access control: QR code, card or turnstile comparedHow to set up entry to a fitness club: QR code and club card, membership checks, turnstiles via an agent, anti-passback, debts and manual passes for guests.](https://gyms-crm.com/en/blog/access-control-turnstiles-qr/)
- [CRM data security for clubs: roles, login, backupsA security guide for club CRMs: least-privilege roles, two-step login, offboarding staff, the activity log, IP blocking and backups, with a practical checklist.](https://gyms-crm.com/en/blog/crm-data-security-roles-backups/)
- [Moving from Excel to a CRM: preparing and importing clientsHow to move from Excel or another system to a CRM without losing data: cleaning, duplicates, memberships and balances, a trial import, checks and launch.](https://gyms-crm.com/en/blog/excel-to-crm-data-import/)

[Back to all documentation](https://gyms-crm.com/en/docs/)
