Skip to main content
Team variables expose team-level data — names and slugs, incident and action item counts, configuration flags, user lists, and objects like services, schedules, and functionalities — for use in Liquid templates. You can use them anywhere Rootly supports Liquid templating, such as workflow task option blocks, to make your automations aware of team context. Like incident variables, team variables are plain Liquid expressions, so you can chain filters onto them to transform values, look items up in arrays, or format output. The team.users array is particularly useful for reverse lookups — for example, resolving a user’s Slack ID from their email address (see the example below).

Variables

Use the Liquid Markup explorer to navigate through all team variables.
Rootly uses the Liquid template language. The available variables are:
Ruby

Examples

User reverse lookup by email

Ruby