Send scheduled messages to Pub Sub every 5 minutes

Recipe ToolsMarketing

What it does

When the clock triggers every 5 minutes, this automation sends a message to the test Event topic in Pub Sub. Other workflows can subscribe to that topic and respond to the message.

Who it's for

Engineering teams who need to coordinate workflows across multiple automations using event-driven architecture.

How teams use this

Coordinate scheduled tasks across workflows

Send a heartbeat message every 5 minutes so dependent workflows know to check for updates or run their own logic. Multiple automations can subscribe to the same topic and stay in sync.

Refresh data on a schedule

Send a refresh signal to downstream workflows that sync data from external systems. Each subscriber can pull the latest records without needing separate scheduled triggers.

Filter messages by time window

Include a condition that only sends the message when a specific time window is active or a data source is available. This reduces noise and ensures subscribers only respond when the message is relevant.

How it works

  1. Start every 5 minutes. The clock fires automatically every 5 minutes to begin this automation and send the scheduled message.
  2. Send message to test Event topic. A message is sent to the test Event topic in Pub Sub so any subscribed workflows receive it and can respond to the event.