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

last

Reference for the last variable in action placeholders and conditions.

This page describes the last variable: the most recent response, 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 inbound, not in templated settings (such as a webhook body) (such as a webhook body). Start with Actions → The 'steps' section for how the definition works.

Root last: the most recent response. Outbound, it is the last response of the current step; absent before the step's first request. In expect.condition, referenceWrite and authoredId it is the response that just arrived. Inbound, it is the most recent hydrate read.

openapi: 3.1.0
info:
  title: ilert action context - last
  version: 1.0.0
  description: >-
    Root `last`: the most recent response. Outbound, it is the last response
    of the current step; absent before the step's first request. In
    `expect.condition`, `referenceWrite` and `authoredId` it is the response
    that just arrived. Inbound, it is the most recent hydrate read.
components:
  schemas:
    Response:
      type: object
      required: [body]
      description: A recorded response. Headers are not exposed.
      properties:
        status:
          type: integer
          description: HTTP status. Absent for SES and EventBridge sends.
        body:
          description: >-
            Parsed JSON when the response is JSON, otherwise the raw text
            (truncated). For SES `{messageId}`, for EventBridge `{eventId}`.

Last updated

Was this helpful?