Log scheduled messages with dynamic datapill patterns

Recipe Tools

What it does

When a scheduled interval triggers, this automation logs a message to the Job report. The datapill is wrapped in a regex pattern using #{} and () syntax to capture the value dynamically.

Who it's for

Engineering teams who need to log scheduled events with dynamic values in job reports.

How teams use this

Monitor scheduled job execution

Log when a scheduled task runs at set intervals so the Job report shows execution history with dynamic values captured in the regex pattern.

Track interval-based events with patterns

Use the datapill pattern to log specific values from each scheduled run, making it easier to audit and debug recurring automation tasks.

Add multiple datapills to logs

Extend the pattern to include multiple datapills in a single log entry by wrapping each one in #{} and () syntax for richer job report data.

How it works

  1. Run on a specified interval. Clock triggers this automation at the scheduled interval you set, starting the workflow at that moment.
  2. Log message with datapill pattern. Log a message to the Job report where the datapill is wrapped in #{} and () to create a regex pattern like /#{(pill)}/ that captures the value.