Log custom field keys from JSON every 5 minutes

Recipe ToolsMarketingData ParserUtilitiesDeveloper Tool

What it does

When the clock triggers every 5 minutes, this automation parses a JSON document and runs Ruby code to extract the custom field key. The result is logged to the job report for monitoring.

Who it's for

Engineering teams who need to track custom field keys from JSON data on a schedule.

How teams use this

Monitor custom field keys on schedule

Extract and log the custom field key every 5 minutes without manual intervention. The job report shows each value so someone can verify the data is correct.

Alert when the field key changes

Extend this automation to check if the logged custom field key differs from the previous run. Add a condition to only log when the value changes so someone is notified of updates.

Export keys to a data warehouse

Retarget this automation to send the custom field key to a data warehouse instead of logging it. The schedule and extraction logic stay the same.

How it works

  1. Run every 5 minutes. The Clock triggers this automation on a 5-minute interval so the custom field key is checked regularly.
  2. Parse the JSON document. The Json Parser extracts data from the JSON document so the custom field key can be accessed in the next step.
  3. Run Ruby code to extract the key. Workato Custom Code executes Ruby code that retrieves the custom field key from the parsed JSON data.
  4. Log the result to the job report. The extracted custom field key is written to the job report so the result is visible and auditable.