Skip to content

Creating Your First Automation Rule in IZI: Step-by-Step Guide

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

Creating Your First Automation Rule in IZI

Section titled “Creating Your First Automation Rule in IZI”

The best way to understand automations is to create one simple working rule. In this guide we build a welcome mechanic: client finishes their first session → receives a bonus and a notification. The scenario is concrete and useful — use it as a template for any other rules.

If you want to understand the overall automation logic first → Automation in IZI: Overview.

Rule: “Welcome Bonus for First Session”

  • Event: client finished a gaming session
  • Condition: this is their first session (session count = 1)
  • Action 1: award 50 bonuses to account
  • Action 2: send “Welcome!” notification

Adjust the bonus amount to your average rate. Guideline: 50–100 bonuses with an average rate of 200–500 — that’s ~15–25% of a session, enough for the client to return and spend it.

In the sidebar, switch to the organization → Marketing → Automation → Rules list → click Create rule. The «Create automation rule» form opens.

FieldWhat to Enter
Name”Welcome bonus — first session”
DescriptionOptional. You can write “Award 50 bonuses to new clients on first session” — useful if other administrators will edit the rules
Rule activeEnable — the rule starts working immediately after saving
ClubsLeave empty (all clubs) or select one club for testing

Tip: on first launch, select one club. Confirm everything works — then expand to the network.

In Trigger type select Client action, in Client event — Session ended.

This event fires when the client’s game session has ended. After selecting the event, the form shows variables available in this rule’s conditions and actions.

Full event list → Trigger Event Catalog.

Step 4 — Add “First Session” Condition

Section titled “Step 4 — Add “First Session” Condition”

Click Add condition. Configure:

  1. Variable: Sessions count
  2. Operator: =
  3. Value: 1

This means: the rule fires only when the client’s first session has just ended. On the second, third, and subsequent sessions — the rule checks the condition, sees more than one session, and the run gets «Skipped».

Click Add action → select Add bonus.

ParameterValue
Bonus formula50 — fixed 50 bonuses

A credit has no expiry. To make unused bonuses burn, set up a separate rule — see Bonus expiration.

The formula can be any number or expression. For a fixed welcome bonus, writing the number directly is simplest: 50, 100, 200.

If you want to award a percentage of the first session’s duration — use {{sessionDurationSeconds}} / 3600 * N where N = bonuses per hour. But for a welcome scenario, a fixed amount is clearer.

Click Add action again → select Send push.

FieldValue
Title”Welcome!” (up to 40 characters)
Message”Great to have you! Welcome bonuses are in your account — try them on your next session.” (up to 120 characters)

Place the notification after bonus award — that way when the client opens the app, the bonus is already in their account.

The notification arrives through the IZI mobile app. Clients without the app won’t receive it — this is normal, not an error.

Click Save. The rule appears in the automation list.

Final configuration:

ElementSetting
NameWelcome bonus — first session
EventSession ended
ConditionSession count = 1
Action 1Add 50 bonuses
Action 2Notification “Welcome!”
StatusActive

Testing is done on a test client — not a real one.

  1. Register a test client (can use your own phone number)
  2. Open and close a session for them
  3. Navigate: Marketing → Automation → Run history and pick “Welcome bonus — first session” in the filter
  4. A run with status Succeeded should appear
  5. Open the test client card → check bonus balance: should be 50 bonuses

If status is Skipped — the condition wasn’t met. Check the sessions count in the test client’s card: the test account may have had previous sessions.

If status is Failed — open the run and read the reason. Most common cause is an incorrect formula or action configuration error.

The rule is working. Now you can:

  • Make similar rules — for bonuses on the 2nd, 5th, 10th session (change the «Sessions count» value)
  • Add a progressive top-up bonus ladder → Top-Up Bonuses
  • Build a client tier system → Client Tier System
  • Set up dormant client return → Anti-Churn Automation
ProblemCauseSolution
Rule doesn’t fire”Rule active” toggle is offEnable the toggle
All clients receive the bonus, not just new onesCondition not added or added incorrectlyCheck condition: «Sessions count», operator =, value 1
Notification doesn’t arriveClient doesn’t have IZI mobile appNormal; «Succeeded» in run history means IZI sent it
No entries in historyEvent hasn’t occurred yetRun a test operation

Frequently asked questions

Does the rule start working immediately after saving?

Yes, if the 'Rule active' toggle is enabled. The first firing will occur on the next matching event from any client.

Can a rule be changed after it has already fired?

Yes. Editing only applies to future firings — past history is not changed. For a clean before/after comparison, it's better to create a new rule and disable the old one.

How do I verify the rule is working?

Perform a test operation manually (e.g., open and close a session for a test client). Then open Marketing → Automation → Run history, pick the rule in the filter and check the status of the last run.

Are conditions required?

No. Without conditions, the rule fires for all clients who experienced the target event. Conditions are needed when you want to restrict the rule — for example, only for the first session or only for top-ups above a certain amount.

Can multiple actions be set in one rule?

Yes. Click 'Add action' as many times as needed — all will execute sequentially. Typical order: award bonus first, then send notification.

About IZI