Create array of numbers every 5 minutes

Recipe ToolsMarketingData ParserUtilities

What it does

When the clock triggers every 5 minutes, this automation logs messages and parses a JSON document. It creates a variable called testarray so the numeric data is ready for downstream steps.

Who it's for

Engineering teams who need to generate and structure numeric data on a recurring schedule.

How teams use this

Generate test data for integration testing

Run the automation every 5 minutes to create fresh numeric arrays that feed into integration tests. The job report logs confirm each cycle completed successfully.

Feed metrics to a monitoring dashboard

Retarget the automation to send the testarray variable to a metrics platform instead of just logging it. The 5-minute cadence keeps the dashboard current with numeric data.

Filter array values by a threshold

Extend the automation to add a condition that only creates testarray when the parsed numbers meet a minimum value. Include a filter step after parsing to check each element.

How it works

  1. Trigger every 5 minutes. The automation runs on a 5-minute interval to generate and process the array data consistently.
  2. Parse the JSON document. Json Parser extracts and structures the numeric values from the JSON so they populate the array correctly.
  3. Store numbers in testarray. Create a variable called testarray to hold the parsed numbers so they are available for use in later steps.