Process JSON arrays on a schedule with Clock
Recipe ToolsMarketingData ParserUtilities
What it does
When 500 minutes pass, this automation parses a JSON document and loops through each item in an array. It accumulates all values to a Currency list so results are collected in one place.
Who it's for
Data and analytics teams who need to process JSON arrays on a schedule without manual intervention.
Apps used
- Scheduler by Workato
- JSON tools by Workato
- Workato List
How teams use this
Process scheduled JSON data feeds
Parse incoming JSON every 500 minutes and accumulate array items into a Currency list for reporting. The schedule keeps data current without manual runs.
Aggregate financial transactions hourly
Loop through transaction items in a JSON array every 500 minutes and build a Currency list for reconciliation. Finance teams get updated totals on schedule.
Filter items before accumulating to list
Add a condition inside the loop to only accumulate items that meet specific criteria, such as a minimum amount or status. This requires a conditional check before the accumulation step.
How it works
- Start on a 500 minute schedule. This automation runs every 500 minutes so the JSON processing happens at regular intervals without someone having to start it manually.
- Parse the JSON document. Json Parser extracts the JSON data and identifies the array so each item can be processed individually in the loop that follows.
- Loop through each array item. Repeat the accumulation step for every item in the array so nothing is skipped and all values are processed before the automation ends.
- Accumulate items to Currency list. Collect each item value into a single Currency list as the loop runs, so all results are available when the automation finishes.