Sync CSV data sources and get unique values
Recipe ToolsDatabase
What it does
When a scheduled time arrives, this automation loads two CSV files into a collection. It runs a SQL query to extract only the distinct values, so someone gets a merged dataset with duplicates removed.
Who it's for
Data and analytics teams who need to deduplicate and combine CSV files on a schedule.
How teams use this
Deduplicate customer lists from two systems
Merge customer data exported from two different platforms each week, extract unique records by email or ID, and get a clean list for import into the primary system.
Compare product inventory across warehouses
Combine inventory CSVs from multiple warehouse systems on a schedule, identify distinct SKUs, and surface items that exist in only one location or both.
Filter by a specific column value
Add a condition to the SQL query so only distinct rows matching a status or category are returned, such as active customers or in-stock items only.
How it works
- Run on a specified interval. This automation starts at the scheduled time someone sets, such as daily or weekly.
- Load CSV files into collection. Read CSV file 1 and CSV file 2 using Workato Smart List, then add all rows from both files into a single collection so they can be queried together.
- Query for distinct values. Run a SQL query on the collection to return only unique rows, removing any duplicates that appear in both files or within either file.