AXL Knowledge Base

Gamification Automation

~4 min read Section: Automations

A gamification automation runs steps when a contact earns an achievement: for example, it credits extra points, gives access to a product or sends a congratulation email. The points and achievement steps described here also work in any other automation, such as a course automation that awards a badge when a lesson is completed. To set up achievements, points and the points store, see "Gamification".

Create a Gamification Automation

Open the automation

Go to Memberships → Gamification. If gamification is off, turn on Enable Gamification first: while it is off, every points and achievement step fails, in this and in any other automation. Then open the Automation tab.

Gamification page with the Enable Gamification switch turned on and the Settings, Achievements, Points Store, History, Leaderboard and Automation tabs.
Gamification, Automation tab: Achievement Earned connected to a Gamification: Add Transaction step.

Choose the trigger

The gamification automation has one trigger: Achievement Earned. It fires when a contact receives an achievement, whether it was awarded by an automation step or by hand. In its settings, choose a specific achievement, or leave Any to react to every achievement.

Important: earning an achievement already credits the points set in the achievement itself. Add a Gamification: Add Transaction step only for extra points, or the contact gets the achievement's points twice.

Gamification automation with the Events palette showing Achievement Earned.

Add the actions

Open the Actions tab, drag the steps you need onto the canvas and connect them to the trigger. Configure each step through its gear icon → Configure Step. The gamification steps:

StepWhat it doesSettings and notes
Gamification: Add TransactionCredits points to the contact's points account (Deposit) or deducts them (Withdrawal)Points: a number, or a variable such as #Scenario.Data(points)#. For a deposit, Validity sets when the points expire: never, after a period or on a date. For a withdrawal, Don't create if not enough funds is on by default: if the contact has fewer points, the step fails and nothing is deducted. You can also link the transaction to a course lesson or a library article and add a comment.
Gamification: Add AchievementGives the contact an achievementAlso credits the achievement's points and starts Achievement Earned. A disabled achievement cannot be awarded: the step fails. Add even if already earned is on by default: a contact who already has the achievement gets it again, with its points again. Turn it off so the step fails for such a contact instead.
Gamification: Remove AchievementTakes the achievement awayAlso removes the points that the achievement credited, so the balance goes down. If the contact does not have the achievement, the step does nothing and the automation continues.

Points are not money: contacts spend them only in the points store and cannot withdraw them. They are also separate from the bonus balance. For all other actions, see "Types of Actions in Automations and Their Settings"; to connect, copy or delete steps, see "Automation Events and Actions" and "Deleting and Copying Steps".

Actions palette filtered to Gamification: Add Achievement, Add Transaction and Remove Achievement.

Automation for a points store item

Each item in the Points Store has its own automation. Open the item and go to its Automation tab. Its trigger, Item Purchased, fires when a contact spends points on this item.

The item can deliver its reward without an automation: access to a product or a bonus balance credit, as set in the item. If the item delivers nothing by itself, for example a consultation or a certificate, use its automation: add a task for your team, send the contact an email with the details, or add a tag.

Activate the automation

Turn on the switch in the upper-left corner of the canvas so it reads Active. While it is inactive, achievements and points still work as set in Gamification, but the automation steps do not run.

Gamification automation with the Active/Inactive switch at the top of the palette and the configured achievement-to-points flow.