Process CSV files with Ruby on schedule
Recipe ToolsMarketingDeveloper Tool
What it does
When the clock triggers every 5 minutes, this automation runs Ruby code to parse a CSV file beyond standard limits. The parsed output is logged to the job report for review.
Who it's for
Engineering teams who need to process CSV files larger than built-in parsing tools support.
How teams use this
Parse large CSV files regularly
Process CSV files larger than 50k rows every 5 minutes using Ruby, and log results to the job report. The team gets automated processing without opening files manually.
Handle custom CSV formats
Add Ruby logic to parse CSV files with non-standard delimiters, quoted fields, or multi-line rows. The schedule and logging stay the same, only the code changes.
Send parsed data downstream
After parsing the CSV with Ruby, filter and route the output to a database or data warehouse instead of just logging it. This includes database connection and insert logic.
How it works
- Run on a 5-minute schedule. The automation starts every 5 minutes to process CSV data at regular intervals without manual intervention.
- Parse CSV with Ruby code. Workato Custom Code runs Ruby logic that parses the CSV file, handling rows beyond the 50k limit that standard tools cannot process.
- Log results to job report. Write the parsed CSV data to the job report so the results are visible and auditable for review by the team.