New Feature: Context Variables

We are excited to announce the release of the new Context Variables feature for Rule Engine!


Context Variables are variables that only exist during the execution of a rule and can provide additional context about the rule or event which triggered the rule. For example, if a rule was triggered by a device, context variables are set which include details about the device name, attribute, value, and other helpful details of the event that triggered the rule.

:crown: Variables are a Premium feature.
If you are using the free tier, please let us know if you’d like us to reset your trial.

For more information about Context Variables including what they are and how to use them, check out the associated help article:


Event context variables provide context about the event that triggered the rule to start running. For example, details about the location, thing, variable, dashboard, or timer that triggered the rule.

Metadata context variables provides information about the rule itself. For example, the rule name and the rule ID.


Usage: context variables can be used in a variety of places throughout the rule flow including in conditions, notifications, device commands, setting other variables, and more!

1 Like

Use Cases & Rule Examples

Sync color across multiple bulbs

Sync speakers’ volume level or lights’ dim level

Run different actions when triggered by different devices or from different dashboards


Thanks! This makes it so much easier to do some rules and avoids the clutter of having so many variables for various rules