Generate and accumulate JSON options every 5 minutes
Recipe ToolsMarketingData ParserUtilities
What it does
When the clock triggers every 5 minutes, this automation parses a JSON document and loops through each item. It accumulates all items into a list and logs the result to the job report.
Who it's for
Data and analytics teams who need to extract and collect JSON data on a regular schedule.
Apps used
How teams use this
Monitor JSON data on a schedule
Run this automation every 5 minutes to keep a fresh list of all options from a JSON source. The accumulated data stays current without manual intervention.
Feed options to another system
Collect parsed JSON options into AllOptions and pass that list to another app for processing. Only the destination system needs to change to use the accumulated data.
Filter options by a condition
Add a condition inside the loop to check each item against a rule before adding it to AllOptions. Only matching items are accumulated, so the list contains only what the team needs.
How it works
- Start on a 5-minute schedule. This automation runs every 5 minutes so the JSON data extraction and accumulation happens at regular intervals without manual intervention.
- Parse the JSON document. Json Parser reads the JSON document and extracts the options field so each item can be processed individually in the loop.
- Loop through each option. For each item in the options list, this automation repeats the next step to handle them one at a time and build the complete collection.
- Accumulate items to AllOptions. Each item is added to the AllOptions list so all parsed data is collected in one place for verification and downstream use.
- Log results to job report. A message is written to the job report so someone can verify the accumulated options and check for errors or missing data.