Export JSON keys on a schedule
Recipe ToolsMarketingDeveloper Tool
What it does
When a scheduled trigger fires every 5 minutes, this automation extracts keys from a JSON object. The keys are logged to the job report so someone can review the results.
Who it's for
Engineering teams who parse JSON data regularly and need to track extracted keys.
How teams use this
Monitor JSON structure over time
Extract and log keys every 5 minutes to track when a JSON object's structure changes. The job report becomes a history of what fields exist at each run.
Validate API response fields
Parse keys from an API response on a schedule to verify the expected fields are present. Add a condition to check for missing or unexpected keys and alert the team.
Route keys to another system
Extract JSON keys every 5 minutes and send them to another tool for processing. Include a connection to the downstream system so it stays in sync with the latest structure.
How it works
- Run every 5 minutes. This automation starts on a schedule every 5 minutes so JSON parsing happens regularly without manual work.
- Extract keys from JSON. Execute ruby code in Workato Custom Code that reads a JSON object and pulls out all the keys for the next step.
- Log keys to job report. Write the extracted keys to the job report in Workato Custom Code so someone can see what was found each run.