automations/list-disabled-automations.automation.ts
Choose the organization
No connection is required for the current Automate.ax organization. When you omitaccount, actions use the active execution’s runtime token and organization identity.
To manage a different organization, create an organization API key with automate org apikey create, then connect it with automate accounts. The account represents exactly one Automate.ax organization, and its key never appears in automation code or signals. Use automateAccount("name") for a named binding, then pass { account: "name" } as an action’s second argument.
Event triggers use the deploying project’s organization when you omit account, so they need no connection for that organization. To watch another organization, select a static organization API-key binding with account. The selected automation or project must belong to the resulting organization identity.
Grant required permissions
The runtime-token path is limited to the permissions used by this integration:project:read, project:update, deployment:create, deployment:read, and deployment:cancel. For an explicit connected account, planning records the least permission needed by each action or trigger and deployment authorization rejects an API key that lacks it. Automation, execution, and action-attempt triggers require project:read; deployment triggers require deployment:read.
Execution and action-attempt triggers do not deliver back to the automation whose work produced the event. Their payloads expose durable logical attempt state, never worker delivery IDs or queue retry details.
Exports
automatecontains the packaged Automate.ax actions and triggers.automateAccount("name")selects a named Automate.ax connection.getAutomateApicreates the authenticated Automate.ax API helper for a custom account-backed action.
Triggers
- On Automate.ax automation state changed
- On Automate.ax automation enabled
- On Automate.ax automation disabled
- On Automate.ax deployment event
- On Automate.ax deployment awaiting authorization
- On Automate.ax deployment succeeded
- On Automate.ax deployment failed
- On Automate.ax deployment cancelled
- On Automate.ax execution event
- On Automate.ax execution settled
- On Automate.ax execution failed
- On Automate.ax action attempt event
- On Automate.ax action retry scheduled
- On Automate.ax action failed
- On Automate.ax action indeterminate