Log job errors every 5 minutes

Recipe ToolsMarketingWorkatoDeveloper Tool

What it does

When the clock triggers every 5 minutes, this automation lists all jobs and checks their history for errors. It records failed jobs to a lookup table so someone can review what went wrong.

Who it's for

Operations teams who need to track job failures and keep a record of errors without manual checks.

How teams use this

Track job failures in a log

Monitor all jobs every 5 minutes and record any failed runs in a lookup table. The team reviews the log to spot patterns and fix broken jobs before they impact production work.

Alert the team when errors spike

Add a Slack notification step that sends a message when the error count exceeds a threshold. Include a condition to check the list size and only notify if failures are above normal levels.

Focus on critical jobs only

Retarget the automation to monitor only jobs tagged as critical or production-facing. Filter the job list before checking history so the team sees only what matters most.

How it works

  1. Run every 5 minutes. The automation starts on a 5-minute schedule to continuously monitor job health across all workflows.
  2. List all jobs. Retrieve the full list of jobs from the Workato App so each one can be checked for errors and failures.
  3. Search job history for errors. For each job, search the history to find any failed runs and gather details about what went wrong.
  4. Log failed jobs to lookup table. Add each failed job to the lookup table as a batch so someone can review the error log and take action.
  5. Stop if no errors found. End the automation if the error list is empty so no unnecessary entries are logged to the table.