Deprecated

Deprecated automationIds and workflowEntityIds filters on trigger_events

šŸ·ļø API version: 2025-04

Starting in API version 2025-04, the automationIds and workflowEntityIds input fields of TriggerEventsFiltersInput, the filters argument of the trigger_events query, are deprecated. Both still work, but new integrations should not use them. Their replacements, automation_ids and workflow_entity_ids, take [ID!] instead of [Int!] and are available starting in API version 2027-01.

Migration notes

  • Replace automationIds with automation_ids and workflowEntityIds with workflow_entity_ids in the filters argument of trigger_events.
  • The replacement fields take a list of ID values instead of a list of Int values.
  • The replacement fields are not part of the schema in versions before 2027-01. Until you move to 2027-01 or later, keep using the deprecated fields.
  • The schema does not say what happens when an old field and its replacement are sent together. Send only one of them.

Before (deprecated):

query {
  trigger_events(filters: { automationIds: [123] }) {
    triggerEvents {
      eventKind
      eventState
    }
  }
}

After (2027-01 and later):

query {
  trigger_events(filters: { automation_ids: ["123"] }) {
    triggerEvents {
      eventKind
      eventState
    }
  }
}