Notify when a job fails and retry automatically
Recipe ToolsMarketing
What it does
When a job fails in specified integrations, this automation checks the error message and decides whether to retry immediately or wait. Someone receives email notification of the failure and the recovery step taken.
Who it's for
Engineering teams who monitor integrations and need to know when jobs fail and how they are handled.
How teams use this
Automatically retry failed jobs
When a job fails with a 500 or 429 error, this automation retries it without manual intervention. The team gets notified of the failure and the automatic recovery step.
Escalate persistent failures to ops
Extend this automation to check if a job has failed more than once in an hour, then route those alerts to an operations channel. Only jobs that fail repeatedly trigger the escalation.
Monitor integrations across environments
Retarget this automation to monitor integrations in staging and production separately, sending notifications to different team channels. The logic and retry behavior remain the same.
How it works
- Receive notification of job failure. Workato App sends a real-time notification when a job fails in the specified integrations, including the error message and details.
- Check for unidentified errors. If the error message contains 500, this automation identifies an unidentified error and reruns the specified jobs in batch mode immediately.
- Handle rate limiting errors. If the error message contains 429, Clock pauses for the specified length of time, then Workato App reruns the specified jobs in batch mode.
- Send email notification. Email is sent with details of the job failure, the error type detected, and the retry step taken so the team stays informed.