Combine multiple CSV files into one collection
Recipe ToolsMarketingData ParserUtilitiesDatabase
What it does
When a scheduled time arrives, this automation reads multiple CSV files and combines them into a single collection. Someone can then query that merged collection to work with all the data together.
Who it's for
Data and analytics teams who need to consolidate CSV files on a schedule without manual work.
How teams use this
Consolidate daily sales and inventory data
Merge CSV exports from two systems every 5 minutes so a dashboard or report always has the latest combined view. The team sees one source of truth instead of checking two files.
Combine HR and payroll records
Pull employee data from two CSV sources on schedule and store them together in a collection. HR teams can query one place for both datasets without exporting and pasting manually.
Add a third CSV file to the merge
Include an additional Csv Parser step and add that list to the collection so three files are combined instead of two. Only the parsing and merge steps change.
How it works
- Run on a schedule. This automation starts every 5 minutes so CSV files are merged regularly without someone having to start it.
- Parse the first CSV file. Read the first CSV file with Csv Parser and convert it into a list that can be stored in the collection.
- Parse the second CSV file. Read the second CSV file with Csv Parser and convert it into a list so it can be combined with the first.
- Merge lists into one collection. Combine both parsed CSV lists into a single collection with Workato Smart List that holds all rows from both files.
- Query the merged collection. Access the combined collection with Workato Smart List so downstream processes or reports can work with the complete dataset.