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

map

Reference for the map variable in action placeholders and conditions.

This page describes the map variable: field-mapping results, one of the variables you can use in {{ }} placeholders and conditions when you customize an action's YAML definition. It is available in steps, in templated settings (such as a webhook body) and in inbound. Start with Actions → Custom behavior for how the definition works.

Root map (outbound and inbound, with different shapes). Absent when empty, so map.x == nil is a valid check.

openapi: 3.1.0
info:
  title: ilert action context - map
  version: 1.0.0
  description: >-
    Root `map` (outbound and inbound, with different shapes). Absent when
    empty, so `map.x == nil` is a valid check.
components:
  schemas:
    OutboundMap:
      type: object
      description: >-
        Field-mapping results that the template publishes by name (`mapField`)
        instead of writing them into a request body.
      additionalProperties: true
      examples:
        - priority: "2"
    InboundMap:
      type: object
      description: >-
        Inverted value maps for reading callbacks: for each mapped ilert field
        (last path segment), external value to ilert value. Ambiguous inverses
        are dropped.
      additionalProperties:
        type: object
        additionalProperties:
          type: string
      examples:
        - status:
            "To Do": PENDING
            "In Progress": ACCEPTED
            Done: RESOLVED

Last updated

Was this helpful?