Triggered Automations
Create a triggered automation (state + changeset filter trees)
client.triggeredAutomations.create("message" | "action" | "event" | 6 moreautomationObjectType, TriggeredAutomationCreateParams { teamId, kind, name, 13 more } params, RequestOptionsoptions?): TriggeredAutomation { kind, name, id, 11 more }
POST/v2/prism/{teamId}/{automationObjectType}/triggered_automations
List triggered automations for an owner
client.triggeredAutomations.list("message" | "action" | "event" | 6 moreautomationObjectType, TriggeredAutomationListParams { teamId, cursor, kind, 3 more } params?, RequestOptionsoptions?): TriggeredAutomationListResponse { data, has_more, next_cursor }
GET/v2/prism/{teamId}/{automationObjectType}/triggered_automations
Read a triggered automation
client.triggeredAutomations.get(stringautomationID, TriggeredAutomationGetParams { teamId, automationObjectType } params, RequestOptionsoptions?): TriggeredAutomation { kind, name, id, 11 more }
GET/v2/prism/{teamId}/{automationObjectType}/triggered_automations/{automationId}
Replace a triggered automation (idempotent full write of the whole tree)
client.triggeredAutomations.update(stringautomationID, TriggeredAutomationUpdateParams { teamId, automationObjectType, kind, 14 more } params, RequestOptionsoptions?): TriggeredAutomation { kind, name, id, 11 more }
PUT/v2/prism/{teamId}/{automationObjectType}/triggered_automations/{automationId}
Delete a triggered automation and its filter trees
client.triggeredAutomations.delete(stringautomationID, TriggeredAutomationDeleteParams { teamId, automationObjectType } params, RequestOptionsoptions?): void
DELETE/v2/prism/{teamId}/{automationObjectType}/triggered_automations/{automationId}