▪️"Common Cases" Segments
Overview
The "Common Cases" Segment is designed to simplify user targeting based on frequently used behavioral patterns. It offers a selection of predefined templates, allowing you to quickly configure conditions and control rebuild settings.
The "Common Cases" segment is available in the Segments section of the Back Office. To use it, simply select "Common Cases" when creating a new segment, then complete the required setup based on the selected template.
In the Template list, the templates are grouped: Campaigns and Segments, Communication, Bonuses, Forms, Mini-games, Missions & Badges, Tournaments, Raffle and Other Gamification. Most templates are shown only when your label has the Gamification product. The SQL-based segment from external database template is shown only after Smartico activates the SQL Segments feature for your label. Read more in SQL-based segments from your own database

You can also use "Common cases" segments as a sub-condition of other segments by selecting a specific "Common Case" segment. This can be done using the property: Core: CSV & Common case segments

How to set up
Selecting a Template
Choose from a list of predefined "Common Case" templates.
Each template includes specific conditions.
After selecting a template, configure the related conditions to define your segment.
Many templates have an "in the last X days" field. Turn on Specify dates next to it to select a date range instead. The longest period depends on the template (30 days for most of them).

Segment Rebuilding Logic
Rebuild schedule is on (Yes, daily) by default for a new segment. The only exception is Lock User State Segment, where it is off (No) by default.
When Rebuild schedule is No - the system will automatically rebuild the segment once immediately after it is created - to populate the user list. After this initial rebuild, the segment will not update again unless manually triggered.
When Rebuild schedule is Yes - No automatic rebuild after creation - the segment will rebuild only on the scheduled date or when manually triggered via the 'Rebuild Segment' button.

When setting the rebuild schedule, the system will automatically select a time with lower system load by default. You can change this to a different time if needed. However, if the selected time falls within a high-load period, a message will appear recommending an alternative time to help avoid calculation delays. You can still proceed with your chosen time - the system will display an estimated delay for your reference.

User Lists
Real-Time Users List Tab:
Displays users currently (in real-time) matching the segment conditions
Updates are live, but do not represent the saved segment users
Segment Users Tab:
Shows the list of users from the last completed rebuild
This is the active list used for actions like campaign targeting


Supported common cases
Users with failed communication of resource X in campaign Y
Campaign - select the Campaign
Fail Reasons - select the fail reason(s)
Resource Type - select the communication channel. After that you can also select the Resource
Number of failed communications - how many failed communications the user has, e.g. ≥ 1
Period when failed to send communication - select the time period when the communication was not sent (at most 30 days)
Users that have X remaining spins in the Mini-game Y.
Name of mini-game (only games based on the spin attempts) - select one or more mini-games
Min. Amount of remaining spins - the segment includes users who have at least this number of spins left
Users who registered in specific tournament
Tournament - select the tournament
Select Instance - select the tournament instance:
Current Run - the instances that are now in status PUBLISHED, REGISTER, STARTED or FINALIZING
Completed Runs - all finished instances
Last Completed Run - the last finished instance
a specific instance, shown as Run ID with its end date
Select users by points or by position - you can segment users by the score points they have (Minimum score points and Maximum score points) or by the position they have (Position, from and Position, to) in the selected tournament
Users who have opted into a mission but haven’t completed it
Mission - select the mission
Opted in, in the last X days - filter players who opted in during the selected period
Users who have made progress in mission X, but haven’t completed it
Mission - select the mission
Had progress in the last X days - filter players who made progress during the selected period
Users who have completed mission X, but haven’t claimed the prize
Mission - select one or more missions. Leave it empty to include any mission that requires a prize claim
Completed mission, in the last X days - filter players who have completed the mission during the selected period, but haven't claimed their prize
Users who have made progress in Badge X, but haven’t completed it
Badge - select the badge
Had progress in the last X days - filter players who made progress during the selected period
Users who have played mini-game X, but haven't claimed their rewards
Mini-game - select the mini-game
Unclaimed prizes - select the prize. Only claimable prizes will be displayed.
Got rewards in the last X days, but didn't claim them - filter players who had unclaimed rewards in the selected period
Users who have opted in to a Jackpot X
Jackpot - select the Jackpot
Had opted in, in the last X days - filter players who opted in during the selected period
Users who finish in position X in the Leaderboard
Leaderboard - select the Leaderboard
Position, from - select the player position from (e.g., from position 1)
Position, to - select the player position to (e.g,. to position 10)
The segment uses the latest saved results of the selected leaderboard
Users who completed X Badges
Badges Completed (From) - specify the minimum number of badges completed by the player
Badges Completed (To) - specify the maximum number of badges completed by the player (e.g., player completed between 1 and 10 badges)
Completed badges in the last X days - filter players who completed a specific number of badges for the selected period
Users with failed bonus Y given by X
Given by - define where the bonus was issued from (Campaign, Automation Rule, Mission, Mini-game, Store, etc.)
Activity - select the specific campaign, mission, store item, mini-game, etc that issued the bonus
Period when bonus failed - define the period when the bonus has failed
Users who won in a Raffle draw
Raffle - select the ID/name of the raffle
Draw - select the name of Draw
Days count - set a time window
Users have push token with status X for platform Y
Platforms: select the platform (Chrome, Safari, Native Android, Chrome mobile, etc.).
Token status - select the status of the token (Active, Inactive, Invalid)
Min. tokens count - select the minimum token count
Max. tokens count - select the maximum token count
Users have X tickets for Raffle Y
Raffle - select the ID/name of the raffle
Tickets count from/to – define the ticket range to filter users based on how many tickets they’ve earned for the selected Raffle
Users who are qualified for tournament X, but didn't opt in
Tournament - select the tournament
Instance - select the tournament instance
Users who have opted in to tournament X, but are not qualified
Tournament - select the tournament
Instance - select the tournament instance
Users who have ever opened the Gamification Widget
Opened Section/Modal (Ever) - select the section/modal/GF widget that was opened
Opened section/modal in the last X days - filter players who have opened the section/modal/GF widget in the selected period
Lock User State Segment
Select segment - define the segment you want to lock Read more in the Locking Option for User State Segments
SQL-based segment from external database
External Database - select your database. Smartico adds it to this list when the feature is set up for your label
SQL - the query that Smartico runs on your database to get the users of the segment
Users who opted-in into a mission
Mission - Select a mission to segment players who have opted in to it (regardless of completion)
Opted in, in the last X days - define the time period to filter users who opted in to the selected mission within that timeframe.
Users who participated in Campaign X
Select Campaign - Select the campaign in which the users participated.
User progress state - Select the user's campaign progress state (e.g., Still in Campaign, Finished).
Started in the last X days - define the time period to filter users who have entered in the selected campaign within that timeframe.
Finished in the last X days - define the time period to filter users who have completed the selected campaign within that timeframe.
Converted in the Campaign - define if the users have converted in the Campaign or not
Users who bought a store item in the last X days
Select Store item - select the store item or store items that the user bought. Leave it empty to include any store item
Bought in the last X days - define the time period to filter users who bought the selected store items
Users who didn't open recent communications
Communication channel - select the communication type that was sent, e.g. email, SMS, Viber
Sent in the last X days - define the time period to filter users who didn't open specific type of communication
Minimum number of not opened communications - define how many not opened communications the users have in the specified period
Users who have bonus X with status Y
Bonus template - select the bonus template that was issued. Leave it empty to include any bonus template
Bonus status - select the status of the bonus that was issued
Issued in the last X days - define the time back period when the bonus was issued, for example 10 days ago
Users who received Resource X from Campaign Y
Resource type - Select the channel the resource was sent through. For example, SMS, email, push, inbox, pop-up, etc.
Campaign - Select the Campaign from where the resource was sent
Resource - Select the resource from the selected campaign
Delivery outcome - Optionally narrow the segment to specific delivery outcomes. A user is included if the resource reached any of the selected outcomes. Leave empty to include everyone who received the resource. The available outcomes depend on the selected channel.
Received in the last X days - Define the time back period when the resource was received, for example 10 days ago.
Users who submitted X data in Forms
Form template - select the Form template submitted by the users
Form fields - select the field(s) within the chosen form template that you want to segment by
Once you select a field, a new section will automatically appear. The available setup options depend on the field type:
Text: Input exact words or terms to match user responses (e.g., John, Slot).
Number: Enter exact numbers or define a range using the "From" and "To" fields. Leave "From" blank to target values less than a specific number, or leave "To" blank for values greater than a specific number.
Date: Select an exact date or date range using the date picker. Similar to numbers, you can set open-ended ranges to target dates before or after a specific date.
Checkbox: Toggle between True (checked) or False (unchecked) to filter by selection.
Selected Option: Select one or multiple answers.
SQL-based segments from your own database
The SQL-based segment from external database template builds a segment from a SQL query that Smartico runs on your own database. Use it when the data you need to target users is in your systems and not in Smartico. For example: users who have partly used their bonuses in your bonus system.
How to activate
Ask Smartico to activate the SQL Segments feature for your label.
Give Smartico read-only access to your database:
Supported databases: PostgreSQL, MySQL and Microsoft SQL Server.
Create a separate database user that can only read data, and only from the tables you need for segments.
Smartico sets up the connection to your database for your label. After that, the database is shown in the External Database list of the template.
How to create the segment
Go to Segments > Create > Common cases segment.
In the Template list, in the Campaigns and Segments group, select SQL-based segment from external database.
In External Database, select your database.
In SQL, write the query that returns the users of the segment. Use the SQL syntax of your database.
Set the Rebuild schedule and save the segment.
Query rules
The query must return these two columns. Use these exact names, in lower case. If your columns have other names, rename them with AS.
user_ext_id
The ID of the user in your system - the same user ID that you send to Smartico
brand_ext_id
The ID of the brand in your system - the same external brand ID that is set in Smartico
Example - users who have partly used their bonuses:
If you have only one brand, you can return its external brand ID as a fixed value, as in the example above.
How it works
Smartico runs the query on every rebuild of the segment: on the schedule, or when you click Rebuild Segment.
Smartico finds each returned user by
user_ext_idandbrand_ext_id. Rows that do not match a user in Smartico are skipped.If the query returns no rows, the segment has no users.
If the query fails, or one of the two columns is missing, the rebuild fails. Fix the query and rebuild the segment again.
Keep the query fast. It runs on your database, so a heavy query adds load to it.
Locking Option for User State Segments
The Lock User State Segment feature allows you to “freeze” the user list of any state-based segment at a specific point in time. This ensures users remain in the segment even if their behavior changes later.
Why This Is Needed - Example
Imagine you are running a promotion:
Target users: Users who haven’t deposited for 30 days
Promotion rule: They must deposit to get an attempt in the mini-game
You create a segment defined as: “Users that haven’t deposited for 30 days.”
The problem
As soon as a user makes a deposit:
They immediately drop out of this segment
Because the mini-game is restricted to that segment, the user can no longer access the promotion - even though their deposit was required to qualify
This creates a logical conflict: The user must deposit to participate, but depositing removes them from the segment.
The Solution - Locking the Segment
To solve this, Smartico introduces the Lock User State Segment mechanism.
Instead of directly using the state-based segment, you can now lock it by creating a Common Case segment that copies the user list from the original segment.
How it works
You select any state-based segment (e.g., “No deposit for 30 days”).
You create a Common Case segment that:
Takes a snapshot of the user list from the original segment
Does this either once or on a scheduled basis (daily, weekly, etc.)
The Common Case segment becomes a frozen version of the segment:
Users stay in it even if their behavior changes later
Perfect for promotions that require stable user lists
Result
Your promotion can safely:
Target users who had not deposited for 30 days
Require them to deposit to unlock the mini-game
Keep them eligible even after they deposit
The Common Case segment ensures the user list is stable, predictable, and refreshed only when you choose, not instantly when user behavior changes.
How to setup
It can be created in Segments > Create > Common cases segment

From the templates list, choose Lock User State Segment.

Segment Eligibility Rules
When “Lock User State Segment” is selected, the system shows only segments that qualify for this feature:

Eligible segments:
User State Segments are built entirely on state-based conditions.
Not Eligible segments:
Segments created from CSV imports.
Segments based on behavioral data.
Locking Behavior
Once a segment is locked, its user list becomes static. The membership reflects the exact users present at the moment of locking and will not update automatically as the user states change. The locked user list can be found at the "Segment Users" tab:

The scheduling option remains active, giving operators full freedom to choose when the segment should be rebuilt and its user list adjusted. It can also be rebuilt manually from the top right corner:

Last updated
Was this helpful?