In workshop we can call action types only on user click (button, metric card) or indirectly through automations.
We have cases where we would like action types to be called based on other triggers like e.g. variable changes without the user having the need to click a button.
Since this is not a variable per se I would see this as a new category like variables, layouts → „triggered action types calls“. It is basically a light form of automations - but with local variables within a workshop module. The set up of each triggered call I also imagine very similar to automations (but less options
). Basically selecting the trigger, optional conditions (like comparison vs value thresholds) and wiring additional input variables to the call.
Triggers I can think of:
- on variable change (with optional conditional check)
- timed?
A couple examples where we would use this:
- numeric/text inputs automatically update objects without the user having the need to click a submit button
- use parent/loop interface variable to trigger the same action type call in all loops at the same time.
- usage telemetry like tracking viewed sections in a workshop module (is visible bool used for collapsible sections)
Curious to hear your thoughts!