Extract and log JSON keys every 5 minutes
Recipe ToolsMarketingData ParserUtilitiesDeveloper Tool
What it does
When the clock triggers every 5 minutes, this automation parses a JSON document and extracts its keys. The keys are logged to the job report so someone can monitor the JSON structure over time.
Who it's for
Engineering teams who need to track JSON payload changes on a regular schedule.
How teams use this
Monitor JSON payload structure changes
Track what keys appear in a JSON document every 5 minutes and log them to the job report. This helps catch unexpected changes to the payload format without manual inspection.
Validate incoming API data regularly
Run this automation on a schedule to extract and log keys from an API response. The job report becomes a record of whether the API structure stays consistent over time.
Alert when new keys appear
Extend this automation to check if the extracted keys match a known list, and only log when new keys are found. This requires adding a condition to filter for unexpected keys.
How it works
- Run on a 5-minute schedule. The automation starts every 5 minutes to process and monitor the JSON document structure.
- Parse the JSON document. Json Parser reads the actual payload and extracts all keys so the structure can be analyzed and logged.
- Extract keys using custom code. Custom code runs to get all keys from the parsed JSON so the structure is visible for monitoring purposes.
- Log keys to job report. The extracted keys are logged to the job report for monitoring and audit purposes so changes are tracked.