For the complete documentation index, see llms.txt. This page is also available as Markdown.

@ilert

Reference for the @ilert variable in action placeholders and conditions.

This page describes the @ilert variable: ilert objects looked up by id, one of the variables you can use in {{ }} placeholders and conditions when you customize an action's YAML definition. It is available in steps and in templated settings (such as a webhook body), not in inbound. Start with Actions → Custom behavior for how the definition works.

Root @ilert (outbound only): ilert objects looked up by id when a placeholder references them, for example {{ @ilert.schedules.12.user.email }}. Only referenced ids are loaded, at most 25 per action, and only ones the action's owner may read. An unknown id is absent.

openapi: 3.1.0
info:
  title: ilert action context - @ilert
  version: 1.0.0
  description: >-
    Root `@ilert` (outbound only): ilert objects looked up by id when a
    placeholder references them, for example
    `{{ @ilert.schedules.12.user.email }}`. Only referenced ids are loaded, at
    most 25 per action, and only ones the action's owner may read. An unknown
    id is absent.
components:
  schemas:
    IlertLookups:
      type: object
      properties:
        schedules:
          type: object
          description: Schedule id to schedule. Only schedules are supported.
          additionalProperties:
            $ref: '#/components/schemas/Schedule'
    Schedule:
      type: object
      description: >-
        The schedule as returned by the ilert API, including the user
        currently on call.
      additionalProperties: true
      properties:
        id:
          type: integer
        name:
          type: string
        user:
          type: object
          description: The user currently on call. Absent when nobody is.
          additionalProperties: true
          properties:
            email:
              type: string

Last updated

Was this helpful?