Send job status checks via REST to Workato Service

Recipe ToolsDeveloper ToolAPI Integration

What it does

When a new call arrives for the job summary check, this automation sends a REST request to ping the job status. It returns the response immediately if the status code indicates an error, or evaluates the result status and returns accordingly.

Who it's for

Operations teams who monitor job execution and need real-time status validation without manual checks.

How teams use this

Monitor job execution in real time

Call the job summary check endpoint to get immediate status validation. The automation handles error codes and success states so the caller receives the right response every time.

Alert on job failures

Extend this automation to send a notification when the result status does not equal success. Add a Slack or email step after the final return to notify the team of job failures.

Route to different handlers by status

Retarget this automation to route calls to different endpoints based on the job status. The same check logic applies, but the response handling changes per environment or job type.

How it works

  1. Receive a new job summary call. A real-time call arrives for the job summary check, initiating this automation to validate the job status.
  2. Ping the job status via REST. Send a REST request to check the current job status and receive the response with status code and result details from the endpoint.
  3. Return the response to the caller. If the status code is 400 or higher, return the error response immediately. Otherwise, check if the result status equals success and return the appropriate response.