Notify Slack on callable events and errors

Recipe ToolsDeveloper ToolAPI Integration

What it does

When there is a new call to a callable event, this automation publishes a message to an event topic and sends a web request. If an error occurs, it retries once, then publishes an error message to a separate topic so someone knows what happened.

Who it's for

Engineering teams who need visibility into callable event execution and error handling without manual monitoring.

How teams use this

Monitor callable events in real time

Track when the callable event is invoked and watch for errors without logging into the platform. The event topics feed into Slack channels so the team stays informed.

Route errors to dedicated Slack channel

Send error messages to a separate event topic that connects to a Slack channel for incident response. Normal calls go to one topic and failures go to another.

Add escalation for persistent failures

Include a condition to escalate errors to an on-call engineer after the second failure. Only errors that persist after retries trigger the escalation notification.

How it works

  1. Listen for callable event. Monitor for a new call to the callable event in real time so the automation responds immediately when invoked.
  2. Publish success to event topic. Send a message to mytopics/topic1 via Workato Pub Sub so downstream systems and Slack channels receive notification of the successful call.
  3. Send web request. Make a web request via Rest to complete the integration step. If this fails, the error handler takes over and retries once.
  4. Publish error to errors topic. After one retry attempt, publish a message to mytopics/errors via Workato Pub Sub so someone is notified that the callable event encountered a persistent error.