Skip to Content
Triggers

Triggers

A trigger is a rule in a template: when something happens, and the conditions you set hold, do a list of actions. Triggers are how a simulation reacts to what teams do: a hand-in gets graded, a metric that falls too low raises a warning, a deadline unlocks the next task.

The engine checks triggers for each team separately. When a team’s cash falls below zero, that team’s triggers fire, and their actions change that team’s state.

What a trigger is made of

PartWhat it is
Trigger NameA name for the trigger. Required: a template with an unnamed trigger can’t be saved. Players see it as “what triggered this” on the notifications, popups and alerts the trigger sends them, so use words they understand.
ConditionsOne or more events, combined with AND or OR. See Events and Conditions.
Action PipelineThe actions to run, in order, top to bottom. See Actions.

Where triggers live

Triggers sit on a node of the template: the simulation, a round, a subround or a task. The node decides two things: which events the builder offers, and what those events refer to.

LevelEvents offered
SimulationSimulation Started, Paused, Resumed and Completed. After Duration, Before End, Every X Minutes. Task Deadline Approaching and Passed (for any task you pick). Round Time Up (for any round you pick).
RoundRound Started, Round Completed. After Duration, Before End, Every X Minutes. Round Time Up.
SubroundSubround Started, Subround Completed. After Duration, Before End, Every X Minutes.
TaskTask Started, Task Completed. After Duration, Before End, Every X Minutes. Task Deadline Approaching and Passed.

On top of these, every level offers the events of the components attached to it or to a node above it. A metric attached to the simulation makes the metric events available in every trigger; an AI Conversation attached to a task makes its events available only on that task. See Events that need a component.

What an event means on a round, subround or task

A trigger on a node is about that node unless you say otherwise:

  • Its own events. Task Completed on a task means that task. Round Time Up on a round means that round. Task Deadline Passed on a task means that task, unless you pick another one in its Task field.
  • Component events. Submitted, AI Eval Passed, Rubric Passed and the other component events with no picker listen to the components attached to that node or to a node above it: the ones the builder offers the events for. A trigger on a task hears a rubric attached to the task itself, to its subround or to its round. A trigger on a round doesn’t hear a rubric attached to one of its tasks. Each event is the team’s that raised it.
  • Events with a picker (a metric, a data resource, an AI Conversation, a resource) listen to the item you pick, wherever it changes. A Metric Below Threshold trigger on a task fires whenever that metric drops below the value, not only while the team is on that task.
  • Time events count from when that node starts. See Time.

Creating a trigger

Open the node

In the builder, select the simulation, a round, a subround or a task. Its inspector has a Triggers & Actions block. If components attached here (or above) raise events, the block lists them under Attached components providing events.

Add a trigger

Click Add Trigger. A trigger called New Trigger appears, open, with one condition set to the first event this node offers and no actions.

Name it and set its conditions

Enter a Trigger Name. Under Conditions, pick an event and fill in its settings. Add more with Condition or Group, and click the AND / OR pill to switch how they combine.

Add actions

Under Action Pipeline, click Add Action once per step, pick the action and fill in its fields. See Actions.

Save and publish

Triggers are part of the template. Save a new version and publish it; a run uses the triggers of the version it was launched from.

Each trigger shows as a card with its name, its event (or N conditions (AND) when there are several), and its number of actions. Click a card to open or close it; the bin icon deletes it.

If you change a condition’s event, its settings are cleared. A condition saved with an event this node no longer offers keeps it, labelled (not available here) when what it listens to isn’t attached any more, or (no longer offered) when the event has been retired. Triggers saved that way still run.

Events

Each table says what fires the event, the settings the builder shows for it, and which team or teams it fires for. “Every team” means the event is checked against each team’s triggers in turn, so each team’s actions run for that team.

An event that names a picker setting, such as Metric, fires only for the item you pick.

Lifecycle

EventFires whenSettingsFires for
Simulation StartedThe run starts.NoneEvery team
Simulation PausedThe run is paused, by the facilitator, by a round’s time running out with pause chosen, by a break before a round with a set start, or by a Pause Simulation action.NoneEvery team
Simulation ResumedThe run is resumed after a pause.NoneEvery team
Simulation CompletedThe run ends, however it ends: the facilitator ends it, an End Simulation action ends it, its time runs out, or its last round’s time runs out. Cancelling a run doesn’t fire it.NoneEvery team
Round StartedThis round starts: round 1 when the run starts, each later round when the run moves on to it.NoneEvery team
Round CompletedThis round ends: the facilitator moves to the next round, its time runs out and the run moves on, all its timed subrounds have closed, or the run ends during it.NoneEvery team
Subround StartedThis subround opens. The first subround opens with its round. A later subround opens by time: at its set start time, or when the timed subround before it closes. In a round without subround timings, every subround opens with the round, and each raises it.NoneEvery team
Subround CompletedThis subround’s time limit runs out and it closes, for every team. Or, when the subround has Completion Criteria, a team meets them: it fires for that team, once. A subround with neither a time limit nor criteria never raises it.NoneEvery team; for criteria, the team that met them
Task StartedSomeone on the team opens this task for the first time. For a timed task, it counts once a player accepts that opening starts the clock.NoneThe team that opened it
Task CompletedThe task is completed for the team: a player clicks Mark complete, or the round ends while the task sits in the team’s Done column. Once per team.NoneThat team

Time

EventFires whenSettingsFires for
After DurationThis many minutes after the node starts: the run, this round, this subround, or (on a task) the team’s first open of the task.MinutesEvery team; on a task, the team that opened it
Before EndThis many minutes before the node’s time limit runs out: the run’s limit, this round’s or subround’s limit, or the team’s deadline on this task. A node without a time limit never fires it. If the limit moves (more time, a new run limit), the moment moves with it.Minutes Before EndEvery team; on a task, that team
Every X MinutesEvery this many minutes after the node starts, again and again, until the run ends or the node closes (its round ends, its timed subround or task closes).Interval (minutes)Every team; on a task, the team that opened it
Task Deadline ApproachingA timed task reaches one of its reminders (the remind before minutes on its time limit). Offered on the simulation and on tasks.Task (empty means any timed task)The team whose clock it is
Task Deadline PassedA team’s time on a timed task (plus any grace minutes) runs out before they handed it in, or a timed subround closes and closes the task. Offered on the simulation and on tasks.Task (empty means any timed task)That team
Round Time UpA round’s time limit runs out. Offered on the simulation and on rounds.Round (empty means any round)Every team

Minutes are run time: they stop while the run is paused. Set time limits per task and round in the template; see Tasks and Rounds. After Duration, Before End and Every X Minutes need a run started after 2 November 2026 (see Runs started before 2 November 2026).

Metric

Offered when a Static, Time-Based or Formula Metric is attached to the node or above. A metric changes when an action changes it, when a completed task’s completion band moves it, when a time-based metric ticks, or when an AI Conversation or AI Evaluation writes to it. A Formula Metric changes when it is recalculated to a new value.

EventFires whenSettingsFires for
Metric Above ThresholdA metric change is processed for the team and the chosen metric is above the value.Metric, Threshold ValueThe team
Metric Below ThresholdAs above, but below the value.Metric, Threshold ValueThe team
Metric Equals ValueAs above, but equal to the value (within 0.001).Metric, Exact ValueThe team
Metric ChangedThe chosen metric changes.MetricThe team
Metric IncreasedThe chosen metric goes up. Offered when a Static or Time-Based Metric is attached.MetricThe team
Metric DecreasedThe chosen metric goes down. Offered when a Static or Time-Based Metric is attached.MetricThe team
Metric ResetA Reset Metric action puts the chosen metric back to its starting value. Offered when a Time-Based Metric is attached.MetricThe team
Formula Result ChangedThe chosen Formula Metric is recalculated to a new value. Offered when a Formula Metric is attached.MetricThe team

The three threshold events check the metric’s current value whenever any metric of the team changes, not only the one you picked. So if Cash already starts above your threshold, Metric Above Threshold on Cash fires at the team’s first metric change of any kind.

A Formula Metric is recalculated inside the chain of steps: at the start of the chain, and after each action. When its value moves, it raises Metric Changed and Formula Result Changed, with its value before and after, so triggers on it fire as it changes. The threshold events on a formula metric see its new value at once.

Data Resource

Offered when a Data Resource is attached to the node or above. Players can’t edit rows, so these events come from trigger actions (Create Row, Update Row, Delete Row) and from AI Conversation and AI Evaluation outputs, which raise Row Updated for each row they write.

EventFires whenSettingsFires for
Row CreatedA row is added to the team’s copy of the table.Data ResourceThe team
Row UpdatedA row in the team’s copy is changed, by an Update Row action or an AI output.Data ResourceThe team
Row DeletedA Delete Row action runs on the table, even if no row had that ID.Data ResourceThe team
Row Count AboveAny row is created, updated or deleted, and the team’s copy then has more rows than the threshold.Data Resource, Row Count ThresholdThe team
Row Count BelowAs above, but fewer rows than the threshold.Data Resource, Row Count ThresholdThe team

AI Conversation

Offered on a task with an AI Conversation attached.

EventFires whenSettingsFires for
Conversation StartedSomeone on the team starts the conversation.AI ConversationThe team
Conversation EndedThe conversation ends: the player ends it, or the persona reaches its outcome.AI ConversationThe team
Evaluation Score AboveThe conversation is scored and the score is at or above the threshold.AI Conversation, Score Threshold (0–100)The team
Evaluation Score BelowThe conversation is scored and the score is below the threshold.AI Conversation, Score Threshold (0–100)The team
Evaluation PassedThe conversation is scored at or above its own passing score.AI ConversationThe team
Evaluation FailedThe conversation is scored below its passing score.AI ConversationThe team
Evaluation CompletedThe conversation is scored, pass or fail.AI ConversationThe team

The scoring events need scoring switched on in the AI Conversation.

AI Evaluation

Offered on a task with an AI Evaluation attached. An AI Evaluation grades only when a Run AI Evaluation action asks it to, and it does so in the background, so these events arrive a little later, as a step of their own.

EventFires whenSettingsFires for
AI Eval Score AboveThe evaluation finishes with a score at or above the threshold.Score Threshold (0–100)The team evaluated
AI Eval PassedThe evaluation finishes with a score at or above the component’s passing score.NoneThe team evaluated
AI Eval FailedThe evaluation finishes below the passing score. If the AI model can’t be reached, the evaluation scores 0 and fails.NoneThe team evaluated

Rubric and evaluation results

The rubric events are offered on a round, subround or task with a Rubric attached. A rubric runs only when a Run Rubric Evaluation action runs it, and its events join the same chain of steps straight away.

EventFires whenSettingsFires for
Rubric PassedThe rubric runs and the team’s score reaches its passing score.NoneThe team
Rubric FailedThe rubric runs and the score is below its passing score.NoneThe team
Specific Rule PassedThe rubric runs and the rule with this name passes. The name match ignores capitals and spaces at the ends.Rule NameThe team
Evaluation Results ReleasedA held AI Evaluation or Rubric result becomes visible to the team: a Release Results action or the facilitator’s Release releases it, its Scheduled Delay is over, or the run ends (for results set to When the run ends). Offered when either is attached. Results shown Immediately don’t fire it.NoneThe team whose result was released

Resource

Offered when a Resource is attached to the node or above.

EventFires whenSettingsFires for
Resource ViewedSomeone on the team opens the resource. Downloading a file counts as viewing it.ResourceThe team
Resource DownloadedSomeone on the team downloads the resource.ResourceThe team

Submission

Offered on a round, subround or task with a Submission Requirement attached.

EventFires whenSettingsFires for
SubmittedSomeone on the team hands in the submission requirement attached to this node, whatever it holds (form, files or both). It fires every time, resubmissions included.NoneThe team that handed in

Events that need a component

Attach thisTo get these events
Static MetricMetric Above Threshold, Below Threshold, Equals Value, Changed, Increased, Decreased
Time-Based MetricThe Static Metric events, plus Metric Reset
Formula MetricMetric Above Threshold, Below Threshold, Equals Value, Changed, plus Formula Result Changed
Data ResourceRow Created, Updated, Deleted, Row Count Above, Below
AI ConversationConversation Started, Ended, Evaluation Score Above, Below, Evaluation Passed, Failed, Completed
AI EvaluationAI Eval Score Above, Passed, Failed, Evaluation Results Released
RubricRubric Passed, Failed, Specific Rule Passed, Evaluation Results Released
ResourceResource Viewed, Downloaded
Submission RequirementSubmitted

A Leaderboard and a City Map raise no events you can pick.

Conditions

Every trigger has one condition group. A group holds conditions, and can hold groups of its own, up to three levels deep.

  • AND (All conditions must match): the trigger fires only when every condition in the group is true.
  • OR (Any condition must match): the trigger fires when any one of them is true.

Click the pill at the top of a group to switch between them. Condition adds a condition; Group adds a nested group (not offered at the third level). Deleting the last condition in a nested group deletes the group.

Events and values

The engine handles one event at a time. For each event, it checks every trigger that has a condition listening for that kind of event:

  • Value conditions are true whenever the value holds at that moment. Only three are value conditions: Metric Above Threshold, Metric Below Threshold and Metric Equals Value.
  • Every other condition is an event condition. It is true only while the engine is handling that very event: the hand-in, the timer, the rubric result.

That gives a simple rule for building groups:

  • AND works for one event plus value checks. Submitted AND Cash above 0 fires on a hand-in, but only while the team’s cash is above 0. After Duration 30 AND Cash below 0 fires at minute 30, only if cash is below 0 then.
  • Two event conditions joined by AND never fire together, because the engine never handles two events at once. Submitted AND Task Completed never fires.
  • OR fires on whichever condition comes true first. Each event in it can set it off.

Metric Changed, Increased, Decreased, Reset and Formula Result Changed are event conditions about the metric you pick, alone or next to other conditions. Metric Increased AND Cash above 100 fires when Cash goes up while it is above 100, and not on a decrease.

What can be compared

ConditionComparesTest
Metric Above Threshold / Below ThresholdThe metric’s current value with Threshold ValueStrictly above / strictly below
Metric Equals ValueThe metric’s current value with Exact ValueEqual, within 0.001
Row Count Above / BelowThe number of rows in the team’s copy with Row Count ThresholdStrictly above / strictly below
Evaluation Score Above / BelowThe conversation’s score with Score ThresholdAt or above / strictly below
AI Eval Score AboveThe evaluation’s score with Score ThresholdAt or above
Specific Rule PassedThe passing rule’s name with Rule NameSame text, ignoring capitals

There are no free-form expressions. To compare two metrics with each other, use a Formula Metric for the difference and a threshold on that, or compare in the actions with a dynamic value.

Fill in every setting a condition shows. The builder doesn’t stop you saving a condition with an empty picker or number, and such a condition either never fires or listens to more than you meant.

Dynamic values

Number fields in actions (a new metric value, an amount, a factor, a percent, a column value) can take a Static Value, a Metric Ref (a metric’s current or initial value) or a Data Resource Ref (one cell of a data resource). The engine reads the reference for the team the trigger fired for, at the moment the action runs. See Dynamic values on the Actions page.

How the engine runs triggers

Per team, in order

When an event happens, the engine collects the triggers whose conditions match it, for one team at a time. When one event matches several triggers, all of them fire, in this order: the simulation’s triggers in the order you listed them, then each round’s, its subrounds’ and their tasks’ triggers, in the template’s order.

The engine decides which triggers match an event before running any of their actions. A trigger that the first trigger’s actions would have made true doesn’t fire on this event; it gets its chance at the next event, such as the metric change those actions caused.

Each trigger’s actions run top to bottom. A later action sees what the earlier ones changed: increase Cash by 100, then set Reserve to Cash’s current value, and Reserve gets the new cash. Formula metrics are recalculated after each action, so a later action that reads one sees its new value too.

A trigger can hold several actions of the same type, such as two Unlock Task actions for different tasks. Each one runs.

What an action can reach

A trigger’s actions work from the node it sits on. A metric action can change a metric attached to that node, a node above it, or the simulation: the metrics the builder offers it. An action aimed at any other metric is skipped, and the event log says why.

The cascade

Actions can raise events of their own: changing a metric raises a metric change, creating a row raises Row Created, running a rubric raises its result. Those events are queued and handled after the current event’s triggers have all run, and the triggers they set off can raise more events in turn. This chain is the cascade.

Everything in one cascade, for every team it touched, is saved together, and players see the result live. A Run AI Evaluation action is the exception: it is queued, runs after the cascade is saved, and starts a cascade of its own when its result comes back.

Once per team

A trigger fires at most once per team for the whole run. After it has fired for a team, it is skipped for that team, even if its conditions later become false and then true again. Cash below 0 fires the first time a team’s cash drops below 0, and not again.

Two events are the exception. A trigger set off by Submitted or Every X Minutes fires every time.

  • In an AND group, the trigger repeats if any of its conditions is one of these two.
  • In an OR group, it repeats only if all of its conditions are.

Loops and limits

The engine protects a run from triggers that keep setting each other off:

  • Once per team already stops most loops.
  • Depth limit. A cascade follows at most 10 steps of events causing events. Events past that are dropped, and the event log records cascade limit reached.
  • Repeat check. If the same action of the same trigger (the same step, on the same target) runs a second time in one cascade, the engine treats it as a loop and stops handling that event. The event log records infinite loop detected. Different actions of one trigger never count as a repeat, even when they are of the same type.

A loop in triggers doesn’t pause the run. When you save, the builder warns about triggers that set each other off in a circle (each one’s actions change a metric or data resource that the next one watches). The warning doesn’t stop you saving or publishing. Check the event log of a test run for the two entries above as well.

When an action can’t be done

An action that can’t be done, such as Update Row on a row that doesn’t exist, does nothing. The rest of the trigger still runs, and the event log lists the action as skipped, with the reason. Each action’s limits are on the Actions page.

Runs started before 2 November 2026

The trigger behaviour on this page went live on 2 November 2026. Runs that were already running or paused at that point keep the older behaviour for the rest of their life, so their players see no change part way through. Runs that hadn’t started yet, and every run since, get the full behaviour. The choice is stored with the run the first time it is loaded and never changes.

In an older run:

  • Only the simulation’s triggers work. Triggers on rounds, subrounds and tasks are ignored.
  • Only some conditions can fire: the metric events; Task Started, Task Completed and the task deadline events; Simulation Started and Completed; Round Started, Completed and Time Up; Subround Started and Completed. Conditions on data rows, AI conversations, AI evaluations, rubrics, results, resources, submissions and time never fire, and pausing or resuming runs no triggers.
  • Metric Changed, Increased, Decreased, Reset and Formula Result Changed fire at the team’s first change to any metric, whatever the direction.
  • Formula metrics are recalculated only once each operation is done, and their recalculation raises no events.
  • Subround Started fires only for a round’s first subround, in a round without subround timings.
  • Required resources don’t hold back hand-ins, and moving a task to Done without a submission doesn’t count as handing it in.

Examples

These use a quick-commerce operations simulation. Cash, Gross Margin and Customer Satisfaction are static metrics attached to the simulation.

Warn a team before a stock-out

On the simulation:

  • When Metric Below Threshold: Inventory Cover (days) below 2
  • Do Show Popup (Warning): “Your Koramangala dark store will run out of milk within two days. Raise a purchase order.” Then Decrease Metric Customer Satisfaction by 5.

It fires once per team, the first time that team’s cover drops below 2 days.

Grade a supplier negotiation and open the next task

On the task Negotiate with FreshFarms, which has a Submission Requirement and an AI Evaluation attached:

  1. When Submitted → Run AI Evaluation (the task’s evaluation). This fires on every hand-in, so a team that resubmits is graded again.
  2. When AI Eval Passed → Increase Metric Gross Margin by 2, Unit Percent %, then Unlock Task “Plan replenishment”.
  3. When AI Eval Failed → Send Notification to Team: “FreshFarms walked away. Revisit your price and resubmit.”

Triggers 2 and 3 fire once per team, so trigger 3 tells a team only about its first failed attempt. If a team fails and then passes, both fire, once each.

Ten minutes left in a round

On the round Procurement, which has a 45-minute time limit:

  • When Before End: 10 minutes
  • Do Create Alert Banner (Critical): “10 minutes left to place this week’s purchase orders.”

A check at minute 30

On the simulation, one AND group:

  • When After Duration: 30 minutes AND Metric Below Threshold: Cash below 0
  • Do Send Notification to Facilitator Only: “A team is cash-negative 30 minutes in.”

At minute 30, it fires for each team whose cash is below 0 at that moment. A team that goes negative at minute 31 doesn’t set it off: the timer has already passed.

End the run when cash runs out

On the simulation:

  • When Metric Below Threshold: Cash below −50,000
  • Do End Simulation, Reason “A team ran out of working capital”.

End Simulation stops the run for every team, so the first team to cross the line ends it for all. Use it for “game over” rules that apply to the whole cohort.

Limits and gotchas

  • Once per team. Apart from Submitted and Every X Minutes, a trigger never fires twice for the same team. Plan for first-time-only behaviour, especially with evaluations that teams can retry.
  • Two events can’t both be true. AND joins one event with value checks, not two events.
  • Component events on a node hear that node’s components and those above it. A trigger on a task hears its round’s rubric, but a trigger on a round doesn’t hear its tasks’ rubrics.
  • Threshold events re-check on any metric change. A metric already past its threshold fires at the first change of any metric.
  • Subround Completed needs timings or criteria. A subround with no time limit, set end time or Completion Criteria never raises it.
  • Time events need a time limit (Before End) or a run started after 2 November 2026 (all three).
  • Loops are flagged at save time, not blocked, and a loop doesn’t pause the run. Test with a test run.
  • Older runs keep older behaviour. See Runs started before 2 November 2026.
Last updated on