Skip to content

Actions Catalog for IZI Automation

Published: · Updated: (8 days ago)· IZI Team

An action is what happens when a rule fires and its conditions are met. A rule can have several actions: they run top to bottom, and if one fails the following ones do not run.

How to set up actions when creating a rule → Create an automation rule.


Credits bonuses to the client’s bonus balance. The credit appears in the client’s operation history marked as coming from automation.

Bonus formula — required. A number or an expression with variables: {{variable}}, operators +, -, *, / and parentheses. A decimal comma is accepted. Below the field CRM lists the variables available for the rule’s event; see the triggers catalog.

GoalFormula
Fixed 50 bonuses50
10% of the top-up{{topupAmountMajor}} * 0.1
5% of the purchase in the order{{orderTotalMajor}} * 0.05
5% of real-money payment only{{paidWithRealMajor}} * 0.05
5% on tariffs and 2% on the bar{{tariffsPaidWithRealMajor}} * 0.05 + {{productsPaidWithRealMajor}} * 0.02
10 bonuses per hour of session{{sessionDurationSeconds}} / 3600 * 10

How the result is computed:

  • it is rounded to whole bonuses;
  • if it rounds to zero, the action is skipped without an error;
  • a negative result, division by zero or an unknown variable fails the run.

Variables and syntax are checked when the rule is saved: a formula with a variable the selected event does not have cannot be saved.


Debits bonuses from the bonus balance by the Bonus debit formula, computed the same way as a credit. If the client has fewer bonuses than the formula gives, only what is available is debited; with an empty bonus balance nothing is debited. A non-zero debit is at least 1 bonus.

The main use is burning unused bonuses in rules with the «Bonuses not spent» and «No visits» events:

GoalEventFormula
Burn all bonuses after 30 days unspentBonuses not spent, N = 30{{bonusBalanceMajor}}
Burn 10% every week without a visitNo visits, N = 7{{bonusBalanceMajor}} * 0.1

More — Bonus expiration.


Sends a push notification to the client’s mobile app.

FieldLimitExample
TitleUp to 40 chars«Bonus credited!»
MessageUp to 120 chars«Thanks for the top-up! Your bonuses are already in.»

The text is sent as is: variables are not substituted in the title or message.

If the client has no devices with the app, the action counts as done without sending. If there are devices but delivery to all of them fails, the run fails.

Detailed guide → Notifications via automation.


Adds the client to one or more selected groups of the organization. An assignment is itself a «Group assigned» event that other rules can react to.

This action is the basis of the client rank ladder: the rule checks accumulated hours or spending and adds the client to the tier group once the threshold is reached.


Removes the client from the selected groups. Removing a group is a «Group unassigned» event.

Used together with «Assign group» when moving between tiers: the new tier’s rule first removes the previous group, then assigns the new one. With the «No visits» event it demotes clients who stopped coming.


Actions run top to bottom. Recommended order:

  1. Remove previous tier groups
  2. Assign the new group
  3. Add or debit bonuses
  4. Send push

Put the notification last: it goes out only if the previous actions succeeded, and the client sees the up-to-date balance in the app.

Frequently asked questions

Can I add several actions to one rule?

Yes. Click «Add action» as many times as needed — actions run top to bottom. A typical example: add bonuses first, then send a notification.

If one action fails, do the others still run?

No. Execution stops at the failed action and the run gets the «Failed» status. The reason is shown in the run details on the «Run history» page.

Will the notification reach a client without the mobile app?

No. Push notifications go only to the mobile app where the client is signed in. If the client has no devices with the app, the action counts as done without sending.

Can I cap the bonus amount?

The formula has no min or max functions — only +, -, *, / and parentheses. Set a cap with conditions instead: for example, a separate rule for top-ups above a threshold with a fixed bonus.

Do credited bonuses have an expiry date?

No, a credit has no expiry. Unused bonuses are burned by a separate rule with the «Bonuses not spent» or «No visits» event and the «Debit bonuses» action.

About IZI