Triggers Catalog for IZI Automation
Triggers Catalog for IZI Automation
Section titled “Triggers Catalog for IZI Automation”A trigger event is what makes a rule check its conditions and run its actions. One rule — one event. The rule form splits events into two trigger types: Client action (fire immediately on the operation) and Date (IZI checks them every hour).
How to create a rule with the right event → Create an automation rule.
Variables are written in the formula in double curly braces; case does not matter. Besides event variables, every rule can use the client variables. Amounts are in major units of the club currency.
Rules do not fire for staff service accounts: a staff member’s purchases for themselves do not run automations.
Session ended
Section titled “Session ended”Trigger type Client action. Fires when the client’s game session has ended.
| Variable | Contains |
|---|---|
{{sessionDurationSeconds}} | Actual session length in seconds, from start to end |
Typical scenarios:
- Bonus per hour of play:
{{sessionDurationSeconds}} / 3600 * 10 - Moving the client to a tier group by accumulated play time — see the rank ladder
- Welcome bonus after the first session: condition «Sessions count»
=1
Balance topped up
Section titled “Balance topped up”Trigger type Client action. Fires when the client’s gaming balance is topped up — at the cash desk, by card at the terminal, by online payment.
| Variable | Contains |
|---|---|
{{topupAmountMajor}} | Top-up amount |
| «Top-up source» | Conditions only: «Cash», «Card», «Online payment», «Bank transfer», «IZI bonus» |
Typical scenarios:
- A tiered top-up bonus: a percentage of
{{topupAmountMajor}}above a threshold - Bonus for cashless top-ups only: condition «Top-up source»
≠«Cash» - A notification about the bonus as the second action of the same rule
The report on rules with this event is in the club: Analytics → Marketing → Bonuses → the Top-Up Bonus tab.
Purchase made
Section titled “Purchase made”Trigger type Client action. Fires when the client’s order has been paid: tariffs, bar products, combos. Only the client’s own money counts: if the order is paid through a shared bill, other clients’ shares are excluded. The service fee does not count as a purchase.
| Variable | Contains |
|---|---|
{{orderTotalMajor}} | The client’s purchase in the order — money and bonuses, capped at the items total |
{{paidWithRealMajor}} | The part paid with money from the gaming balance |
{{paidWithBonusesMajor}} | The part paid with bonuses |
{{tariffsPaidWithRealMajor}} | The client’s money spent on tariffs |
{{productsPaidWithRealMajor}} | The client’s money spent on products |
{{combosPaidWithRealMajor}} | The client’s money spent on combos |
In CRM these variables are labelled «Order total», «Paid with real», «Paid with bonuses», «Tariffs paid with real», «Products paid with real», «Combos paid with real».
Typical scenarios:
- Cashback on real money only:
{{paidWithRealMajor}} * 0.05 - Cashback on game time:
{{tariffsPaidWithRealMajor}} * 0.05 - Bar cashback at its own rate:
{{productsPaidWithRealMajor}} * 0.03 - Different rates in one rule:
{{tariffsPaidWithRealMajor}} * 0.05 + {{productsPaidWithRealMajor}} * 0.02
Refund from balance
Section titled “Refund from balance”Trigger type Client action. Fires when money from the gaming balance is paid back to the client — in cash or via the terminal.
| Variable | Contains |
|---|---|
{{withdrawalAmountMajor}} | Refund amount |
Typical scenarios:
- Remove the client from the regulars group after a large refund
- A notification to the client about the refund
Group assigned
Section titled “Group assigned”Trigger type Client action. Fires when the client is added to a group — manually by staff or by another rule’s action.
| Variable | Contains |
|---|---|
| «Assigned group» | Conditions only: which group was assigned, compared to a selected group |
Typical scenarios:
- A notification about the new status: condition «Assigned group»
=«Gold», action «Send push» - A welcome bonus on joining the VIP group
Group unassigned
Section titled “Group unassigned”Trigger type Client action. Fires when the client is removed from a group — manually or by a rule.
| Variable | Contains |
|---|---|
| «Unassigned group» | Conditions only: which group the client was removed from |
Typical scenarios:
- A notification about a tier change in the rank ladder
Birthday
Section titled “Birthday”Trigger type Date. Fires on the client’s birthday by the club’s local date; the check runs every hour, so the run happens in the first hours of the day. One rule fires for a client once a year. For clients born on February 29, in a non-leap year the rule fires on February 28.
Only clients whose birth date is set in the club and confirmed by staff are included. Banned clients, archived clients and staff are not.
| Variable | Contains |
|---|---|
{{age}} | The age the client is turning |
Typical scenarios:
- A birthday gift: «Add bonus»
500and a greeting push - A gift for a milestone: condition «Age»
=18
Step-by-step setup — Birthday bonus.
No visits
Section titled “No visits”Trigger type Date. Fires when the client has had no game session in any club of their wallet for N days. N is set in the rule, from 1 to 365 days. Until the client comes back, the rule repeats every N days. After a visit the countdown starts over. If the client has several wallets in the network (no shared balance), the rule fires in each of them separately.
Counting starts from the latest of these moments: the last session, registration in the club, and the rule coming into force. The rule comes into force when it is switched on or restored, when its active period starts, when an expired period is extended, and, for a club added to the rule later, when the club is added. So the rule does not fire at once for everyone who has been away for a long time. The check runs every hour.
If the rule has a “Debit bonuses” action, it fires only for clients who have bonuses: with a zero bonus balance there is no run, so no debit and no notification. Rules without a debit (credit a bonus, send an invitation) fire for everyone who has stayed away.
Available variables:
| Variable | Contains |
|---|---|
{{daysWithoutVisit}} | Full days since counting started (see above). Grows with every repeat: 7, 14, 21 and so on |
{{bonusBalanceMajor}} | The client’s bonus balance |
Typical scenarios:
- Burn part of the bonuses for inactivity: N = 7, action “Debit bonuses” with the formula
{{bonusBalanceMajor}} * 0.1, so 10% burns every week without a visit - Tell the client about the burn: add the “Send push” action to the same rule: “10% of your bonuses burned after a week without visits”. A separate rule with a smaller N will not work as a warning: its repeats drift away from the debits from the second cycle on
- Win the client back: N = 14, credit a bonus and send an invitation
Bonuses not spent
Section titled “Bonuses not spent”Trigger type Date. Fires when the client has bonuses but has paid for nothing with them in any club of their wallet for N days. N is set in the rule, from 1 to 365 days. Until the client pays with bonuses, the rule repeats every N days; after such a payment the countdown starts over. Manual debits by an administrator and burns by rules do not reset the countdown: only paying for games, the bar or combos with bonuses does. A payment that was later refunded in full does not count either, and a refund of a bonus payment (full, partial, or the remainder returned when a session ends early) neither restarts the countdown nor counts as a credit. The remainder of a tariff paid with money that is returned to bonuses is a credit.
Counting starts from the latest of these moments: the last bonus payment, the first bonus credit after it or after the bonus balance ran out, and the rule coming into force (switched on, period extended, club added, as for the “No visits” event). If the client has several wallets in the network, the rule works in each of them separately. Clients without bonuses are left alone. The check runs every hour.
Available variables:
| Variable | Contains |
|---|---|
{{daysWithoutBonusSpend}} | Full days since counting started. Grows with every repeat: 7, 14, 21 and so on |
{{bonusBalanceMajor}} | The client’s bonus balance |
Typical scenarios:
- Burn unused bonuses: N = 30, action “Debit bonuses” with the formula
{{bonusBalanceMajor}}, so bonuses left idle for a month burn completely - Remind about bonuses: N = 14, only the “Send push” action: “you have bonuses, spend them on a game”
Client variables in every event
Section titled “Client variables in every event”These variables are available in conditions and formulas of any rule. Statistics are per client in the club where the event happened; balances are per the client’s wallet.
| Variable | CRM label | Contains |
|---|---|---|
{{totalPlayTimeSeconds}} | Play time (sec) | All play time in seconds |
{{sessionsCount}} | Sessions count | Number of the client’s sessions |
{{totalSpentMajor}} | Total spent | All the client’s spending |
{{totalSpentGamingMajor}} | Spent (real) | Spending with money from the gaming balance |
{{totalSpentBonusMajor}} | Spent (bonus) | Spending with bonuses |
{{gamingBalanceMajor}} | Gaming balance | Current gaming balance |
{{bonusBalanceMajor}} | Bonus balance | Current bonus balance |
| — | User groups | Conditions only: the client’s groups |
| — | Gender | Conditions only: gender from the profile |
See also
Section titled “See also”Frequently asked questions
Can one rule have multiple trigger events?
No, one rule — one event. If you need the same action for different events, create separate rules with identical actions.
Does the 'Group assigned' event fire on manual assignment or only through automation?
On any assignment — when a staff member adds the client to a group and when another rule does it. Watch for chains: rule A adds to a group → rule B fires on 'Group assigned'.
How do I see how many times an event fired over a period?
Open Marketing → Automation → Run history and filter by rule or event. Each entry is one run with its date, club, client and status.
Is {{topupAmountMajor}} the amount before or after the bonus is added?
It is the top-up amount itself — what the client deposited. The bonus is credited separately and is not deducted from it.
How do I pay cashback on game time only, without the bar?
Event 'Purchase made', action 'Add bonus' with a formula based on {{tariffsPaidWithRealMajor}} — the client's money spent on tariffs in this order. The bar has {{productsPaidWithRealMajor}}, combos have {{combosPaidWithRealMajor}}.
IZI LLC (ООО «ИЗИ»), TIN 7842227686, OGRN 1257800012249, office 1, premises 3-N, lit. A, 15-17 Perekupnoy lane, Saint Petersburg, 191024, Russia, admin@izi.is · Cookie settings