website logo
⌘K
Help and Documentation
Introduction to Rootly
Quick Start Guide
Managing Incidents
Manage Action Items
Managing Users
Managing Teams
Status Pages
Timeline
Postmortems
Playbooks
Workflows
Alerts
Pulses
Metrics
API Reference
Webhooks
Liquid
Contacting Support
Integrations
Overview
Slack
Mattermost
PagerDuty
Opsgenie
VictorOps (Splunk On-Call)
Service Now
Nobl9
Jira
Jira ( On premise )
Confluence
Confluence ( On premise )
Google Docs
Notion
Quip
Dropbox Paper
Asana
Linear
Freshservice
Trello
Shortcut ( formerly Clubhouse )
Statuspage.io
Airtable
Zendesk
Zoom
Webex
Microsoft Teams
GoToMeeting
Google Meet
Twitter
GitHub
Gitlab
AWS Elastic Beanstalk
Heroku
Kubernetes
Datadog
Honeycomb
Backstage
New Relic
Looker
Grafana
Email
SMTP
Sentry
Rollbar
Zapier
API
Terraform
Pulumi
SSO (Okta, Azure, Auth0, etc.)
SCIM
Docs powered by archbee 
4min

Liquid

Overview​

Rootly supports the use of the Liquid templating engine in Workflows Tasks. Liquid provides a number of useful filters which can be used to manipulate the contents of options blocks. For example, the expression {{ 'hello' | upcase }} uses the upcase filter, when inserted into an options block it will render HELLO. You can string multiple Liquid filters together, with the expression processed left-to-right.

You can find our variables on the following pages:

Incident Variables

Action Item Variables

Alert Variables

Pulse Variables

Examples​

Get the Current Date and Time in yyyymmdd Format​

Expression: {{ "now" | date: "%Y-%m-%d" }}

Sample result: "2018-04-24"

Reference

Get the Size of an Array and Multiply by 10​

Expression: {{ .my_array | size | times: 10 }}

Sample result: 50

Reference

Full List of Available Filters​

Available filters

Updated 07 Dec 2022
Did this page help you?
Yes
No
UP NEXT
Available filters
Docs powered by archbee 
TABLE OF CONTENTS
Overview​
Examples​
Get the Current Date and Time in yyyymmdd Format​
Get the Size of an Array and Multiply by 10​
Full List of Available Filters​