Identify maximum value and key from JSON
Recipe ToolsMarketingData ParserUtilities
What it does
When a scheduled trigger fires every 5 minutes, this automation parses JSON data and identifies the highest value. It stores the maximum value and its corresponding key in variables for downstream use.
Who it's for
Data and analytics teams who need to extract peak metrics from JSON datasets without manual review.
How teams use this
Monitor peak sales performance metrics
Extract the highest revenue or deal size from a JSON report every 5 minutes and store the result. Sales operations teams can then use that maximum value and its associated key for dashboards or alerts.
Track maximum API response time
Parse JSON logs to find the slowest endpoint response and its name every 5 minutes. Engineering teams can then investigate performance bottlenecks based on the key that corresponds to the peak latency.
Identify top customer spend by account
Add a filter condition to only include customers above a spending threshold before finding the maximum. Finance teams can then focus on high-value accounts and their keys for targeted outreach.
How it works
- Run every 5 minutes. The automation starts on a schedule, triggering every 5 minutes to check for new data in the JSON source.
- Parse JSON and find maximum. Json Parser extracts all key-value pairs from the JSON document and compares values to identify the highest one and its corresponding key.
- Store maximum value and key. Json Parser saves the maximum value and its associated key into variables so downstream steps can reference or route based on these results.