Skip to content

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

Published: · 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, select the organization → Automation → click Create Rule. A configuration 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.

Click the Trigger Event field and select Session ended.

This event fires when an administrator closes a client’s session or it ends when the rate expires. 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. Parameter: Session count (visit_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 visit_count > 1, and skips.

Click Add action → select Award bonuses.

ParameterValue
Amount formula50 — fixed 50 bonuses
Bonus expiry30 days — creates an incentive to return before expiry

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 {{session_duration}} / 3600 * N where N = bonuses per hour. But for a welcome scenario, a fixed amount is clearer.

Step 6 — Add “Send Notification” Action

Section titled “Step 6 — Add “Send Notification” Action”

Click Add action again → select Send notification.

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 1Award 50 bonuses, 30-day expiry
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: Automation → “Welcome bonus — first session” → History tab
  4. An entry with status Completed 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 test account’s visit_count: the test account may have had previous sessions, making visit_count greater than 1.

If status is Error — open the entry and read the details. Most common cause is an incorrect formula or action configuration error.

The rule is working. Now you can:

  • Duplicate the template — for bonuses on the 2nd, 5th, 10th session (change the condition to the target visit_count)
  • Add a progressive top-up bonus ladderTop-Up Bonuses
  • Build a rank systemRank System Setup
  • Set up dormant client returnAnti-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: parameter = visit_count, operator = =, value = 1
Notification doesn’t arriveClient doesn’t have IZI mobile appNormal; check that history status is “Completed” — 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 the rule → History tab → check the status of the last entry.

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.