title: Message Automation
type: object
x-tags:
  - Models
description: Merchant-owned trigger messages and ordered steps. The stable share URL opens WhatsApp with the
  first phrase prefilled; matching incoming messages can also be typed directly. No QR image is generated by
  this API.
required:
  - uuid
  - name
  - url
  - trigger_messages
  - steps
  - is_archived
  - supported_params
  - statistics
  - created_at
  - updated_at
additionalProperties: false
properties:
  uuid:
    type: string
    format: uuid
    readOnly: true
  name:
    type: string
    minLength: 1
    maxLength: 255
    example: Menu enquiries
  url:
    type: string
    format: uri
    readOnly: true
    description: Stable public share URL. Content edits and reordering triggers keep this URL unchanged.
    example: https://links.igloox.co/11111111-1111-4111-8111-111111111111
  trigger_messages:
    $ref: ./MessageAutomationTriggerMessages.yaml
  steps:
    type: array
    minItems: 1
    maxItems: 10
    items:
      $ref: ./MessageAutomationStep.yaml
  is_archived:
    type: boolean
    description: Archived automations stop public redirects and new replies but retain their phrase reservations
      and statistics.
  supported_params:
    type: array
    uniqueItems: true
    readOnly: true
    description: The authoritative automation-text placeholder list, also available before an automation is created
      as capabilities.message_automations.supported_params on the merchant response. Includes merchant values and
      '{{sender_profile_name}}' from the incoming WhatsApp message, with N/A for a missing or blank profile name.
      Other customer and transaction placeholders are unsupported. Headers, button labels and URLs remain static.
    items:
      $ref: ./MessageTemplate.yaml#/properties/supported_params/items
  statistics:
    $ref: ./MessageAutomationTotals.yaml
    readOnly: true
    description: Lifetime totals, including activity before archival.
  created_at:
    type: string
    format: date-time
    readOnly: true
  updated_at:
    type: string
    format: date-time
    readOnly: true
