You have unlocked a widget. Now for the part that actually matters to the learner: making the content inside it appear, and only for the right people.
What this exercise gets you
Build a simple automation using one condition
Unlock content for a specific user group
Confirm the automation actually works
Before you start, make sure you have
A published activity, for example Module 1
A widget in the stream that can display activities, such as Spotlighted activity or Activities, with Module 1, Belgium linked to it
👀 Need a widget first?
An automation already linked to that widget, from lesson 04
Two user groups, for example Belgium and Netherlands
Two test users, one in each group
Build the automation
Go to Behaviour > Automations
Click Create automation
Name it Module 1, Visible: Group Belgium
Set the event type to Check periodically
Add the condition: Is group → select Belgium. With only one condition, it does not matter whether you pick "And," "Or," or "Use only one condition"
Add the action: Unlock activity → Module 1
Click Save, then enable the automation
How to read this automation
How to read this automation
When the platform checks periodically,
and if the user is in the group Belgium,
then unlock the activity Module 1 for that user
Confirm it worked
Check group membership. Go to Groups > Groups, find Belgium, and note how many people are in it
Preview the automation. Hover the eye icon next to the automation. Does the number shown match the Belgium group count?
Impersonate a Belgium user. Open their profile, click Impersonate, and check whether Module 1 shows up in their stream
Impersonate a user outside Belgium, for example someone in Netherlands. Module 1 should not appear
✏️ Tip
If all four checks line up with what you expect, the automation is set up correctly.
If something looks off
Double check the test user is in the right group
Confirm you unlocked the right activity, check the UUID of Module 1 if you are unsure
Give it time. Check periodically can take up to an hour to fire
Recap
You have now:
Built an automation with one condition
Unlocked an activity for a specific group
Verified it three different ways: group count, automation preview, and impersonation

