Sync inventory from SFTP files to Knack
File TransferData ParserDatabase
What it does
When a new or updated file lands in an SFTP directory, this automation downloads and parses it. For each row, it searches Knack for a matching inventory number, then creates the record if missing or updates it if found.
Who it's for
Operations teams who keep inventory data current in Knack by syncing SFTP file uploads without manual entry.
Apps used
How teams use this
Sync daily inventory exports to Knack
Drop a CSV export from your inventory system into the SFTP folder each morning. The automation parses it and creates or updates every item in Knack so the database stays current without manual data entry.
Route asset updates to a separate Knack table
Point the automation at a different SFTP directory and Knack table so assets and inventory use separate workflows. The steps remain the same and only the source folder and destination table change.
Filter rows by status before syncing to Knack
Add a condition after parsing so only rows with active status are sent to Knack. Inactive items remain in the file but do not create or update records in the database.
How it works
- Monitor SFTP directory for new files. Watch an SFTP directory for new or updated files. When one arrives, the automation downloads the file contents to process.
- Parse CSV file into individual rows. The CSV Parser extracts and parses the file so each line becomes a separate record ready to sync into Knack.
- Search Knack for matching inventory number. For each row, search Knack to check if a record with that inventory number already exists in the database.
- Create new record or update existing one. If no record exists, Knack creates it with the row data. If the record exists, Knack updates it with the new information from the file.