automate.onAccountUnhealthy fires when Automate.ax can’t refresh a connected account’s credential or the account fails a health check. Use it to send account failures to your own alerting, because triggers that depend on a broken account stop producing events without failing a run.
automations/alert-on-broken-account.automation.ts
PROVIDER_UNAVAILABLE code and checks the account again within 10 minutes.
To watch another organization, pass a static Automate.ax binding with account. That organization API key needs account:read.
Trigger data
Organization admins also get an email that lists the affected automations and links to Connected Accounts. See Integration accounts for account status and how to reconnect.