automate.onActionAttemptEvent emits for running, retrying, succeeded, failed, and indeterminate logical attempt transitions.
automations/watch-action-attempts.automation.ts
action, attempt, execution, automation, project, organization, transitionedAt, and nullable failure. Action data includes name, slot, status, replay safety, and maximum attempts. Attempt data includes its one-based logical ordinal, status, start and completion times, and nullable retry time.
automation accepts an imported automation descriptor, exact ID, or unique deployed description. When account is omitted, the trigger uses the deploying project’s organization. An explicit static Automate.ax binding requires project:read and can watch another organization. The trigger never exposes worker delivery IDs or queue retry data, and it does not deliver to the automation whose action produced the event.