Log JSON values from a schedule
Recipe ToolsMarketingData ParserUtilitiesDeveloper ToolAPI Integration
What it does
When the clock triggers every 5 minutes, this automation parses a JSON document and extracts matching entries. The job report logs each step so someone can verify what was collected.
Who it's for
Data and analytics teams who need to pull specific values from JSON on a regular schedule.
How teams use this
Monitor API responses for errors
Extract error messages from a JSON API response every 5 minutes and log them to a report. The team sees patterns without manual checks.
Collect transaction data for reconciliation
Pull all transactions from a JSON feed and batch them into a list for accounting review. Only the source JSON changes if a new system is added.
Filter entries by status before logging
Add a condition to extract only entries where status equals a specific value, then log the filtered list. This requires a status field check in the extraction loop.
How it works
- Run every 5 minutes. The clock triggers this automation to run on a 5-minute interval so data extraction happens regularly without manual intervention.
- Parse the JSON document. Json Parser reads the JSON document to access the data structure and prepare the values for extraction and logging.
- Extract matching entries into a list. Py Eval loops through the parsed JSON and collects all values from a specific column that match the criteria into a single list.
- Log results to job report. Write the extraction summary to the job report so someone can verify what was pulled and when the extraction ran.