Export filtered JSON data to CSV
Recipe ToolsData ParserDatabase
What it does
When a scheduled time arrives, this automation parses JSON source data and filters records by field value. It builds a CSV file from only the matching records so someone can export clean data without manual work.
Who it's for
Data and analytics teams who need to filter nested JSON data and convert it to CSV format.
How teams use this
Export product inventory by category
Filter a nested JSON inventory list to show only items in a specific category, then convert to CSV for a spreadsheet. The team gets a clean export without opening the source system.
Send filtered customer data to sales
Parse customer JSON records, filter by region or status, and generate a CSV that sales can import into their CRM. Only the matching records appear in the file.
Add multiple filter conditions to the export
Extend the filter logic to check more than one field value, such as category equals fruit and price is above a threshold. The CSV includes only records that meet all conditions.
How it works
- Run on a schedule. This automation starts at a specified interval, such as daily or weekly, to process and convert the source data.
- Parse the JSON source data. Json Parser reads the nested list data and prepares it for filtering and transformation into a structured format.
- Filter records by field value. Loop through each record in Workato Smart List, check if a field equals a target value such as fruit, and add matching records to a filtered list.
- Convert the filtered list to CSV. Transform the filtered records into a CSV file with only the relevant fields so the data is ready to download or send.