Sync SFTP CSV files to Knack inventory records
File TransferData ParserDatabase
What it does
When a new or updated file appears in an SFTP directory, this automation downloads and parses the CSV. For each row, it searches Knack for a matching inventory number and creates or updates the record accordingly.
Who it's for
Operations teams who sync inventory data from SFTP to Knack without manual uploads.
Apps used
How teams use this
Sync daily inventory uploads to Knack
Drop a CSV file into the SFTP directory each morning and the automation creates new inventory records and updates existing ones in Knack. No manual data entry is needed.
Route inventory by warehouse location
Add a warehouse location filter to the CSV Parser so each location's inventory syncs to its own Knack workspace or table before the search step runs.
Alert teams when inventory thresholds are met
Include a condition after the Knack update to check if stock falls below a threshold, then notify the procurement team in Slack or email.
How it works
- Monitor SFTP directory for files. Watch an SFTP server directory for new or updated files. When one arrives, the automation starts and downloads the file contents to process.
- Parse the CSV into rows. The CSV Parser extracts each line from the file so the automation can process inventory records one at a time in the next steps.
- Search Knack for the inventory number. Look up each inventory number in Knack to decide whether to create a new record or update an existing one based on what is found.
- Create or update the Knack record. If the inventory number does not exist, create a new record in Knack. If it exists, update that record with the CSV data from the file.