Sync CSV and JSON data on a schedule
Recipe ToolsMarketingData ParserUtilities
What it does
When a scheduled time arrives, this automation parses a CSV file and processes each row as JSON. It accumulates the parsed items to a list and logs the results to the job report.
Who it's for
Data and analytics teams who need to transform and batch-process CSV and JSON files on a regular schedule.
How teams use this
Batch transform CSV to JSON nightly
Schedule this automation to run each night, parse a CSV export from your system, and convert each row to JSON format. The parsed items are logged so you can audit the transformation.
Process data imports from a partner
Run this automation on a weekly schedule to ingest a CSV file from a partner, parse it to JSON, and accumulate the records. Logs confirm receipt and processing for compliance.
Add filtering by data quality rules
Extend this automation to check each parsed JSON item against validation rules before accumulating it to the list. Only items that pass the condition are logged and retained.
How it works
- Run on a specified interval. This automation starts at the scheduled time you set in Clock, such as daily or weekly.
- Parse the CSV file. Read and parse the CSV data into structured rows using Csv Parser so each line can be processed individually in the next steps.
- Parse each row as JSON. For each CSV row, parse it as a JSON document using Json Parser and accumulate the results to a list for tracking and logging.
- Log results to the job report. Record a summary message to the job report so you can verify the batch processed correctly and see how many items were accumulated.