Generate CSV from scheduled JSON parsing
Recipe ToolsMarketingData Parser
What it does
When a scheduled interval arrives, this automation parses a JSON document and maps it to CSV format. Someone receives a log message in the job report so they know the file was created.
Who it's for
Data and analytics teams who need to convert JSON data to CSV on a regular schedule.
Apps used
How teams use this
Export invoice data to CSV daily
Run this automation each morning to convert overnight JSON exports into CSV files for accounting review. The schedule stays consistent and the team gets the same format every day.
Route CSV output to a data warehouse
Change the final step to send the CSV to a data warehouse instead of the job report. The parsing and mapping logic remains the same and only the destination changes.
Filter invoices by amount before export
Add a condition after parsing to only include invoice line items above a minimum threshold. The CSV will contain only the filtered records and the schedule stays the same.
How it works
- Run on a specified interval. This automation starts at the scheduled time you set, beginning the JSON parsing and CSV generation process.
- Parse the JSON document. Json Parser reads and extracts data from the JSON file so it can be transformed into the CSV structure for each invoice line item.
- Map data to CSV format. The mapper converts the parsed JSON into CSV columns using the common data model, then accumulates each invoice line item to a list.
- Log completion to job report. A message is sent to the job report confirming the CSV file was generated and is ready for download or next steps.