Local Variables

What are local variables? Read on!

Local variables are variables that have been exposed by triggers within a rule. They behave differently to global variables, in that their data comes directly from the trigger itself and are only available within the scope of the rule.

The page for each device has information on what fields are exposed as local variables in triggers.

Most triggers have local variables that are exposed to actions in a rule. For example, the Twitch “Follow” trigger has a local variable for the Username of the person who followed, and therefore activated the trigger.

To learn how to use local variables in an action, see the Action fields section of the actions page.


Copyright © 2024 Aitum