Organize JSON keys with Collections on a schedule
Recipe ToolsData ParserDatabase
What it does
When a specified interval triggers, this automation parses a JSON document and creates sorted lists. Someone can then query those lists alphabetically or numerically in either direction without manual effort.
Who it's for
Data and analytics teams who need to organize JSON data by key in different sort orders.
How teams use this
Organize customer data alphabetically
Parse a JSON export of customer records and sort them by name in ascending order. The sorted list is ready to query whenever the team needs an alphabetical view without manual sorting.
Sort transaction amounts numerically
Extract transaction data from JSON and create lists sorted by amount in both ascending and descending order. Accounting teams can query the highest or lowest transactions on demand.
Add custom sort logic to Collections
Extend this automation to include additional sort criteria beyond alphabetical and numerical, such as date-based or category-based sorting. Set up extra queries in Collections to filter by those new conditions.
How it works
- Run on a specified interval. This automation runs on the schedule you set, such as daily or weekly, so the sorted lists stay current.
- Parse the JSON document. Json Parser extracts and prepares the JSON data so it can be organized into lists by key.
- Create sorted lists in Collections. Workato Smart List builds four lists from the parsed JSON: alphabetically ascending, alphabetically descending, numerically ascending, and numerically descending.
- Query the sorted lists. Access any of the four sorted lists from Collections whenever someone needs the data in a specific order.