Set up SFTP imports
Overview
Available on Ramp Plus. See Ramp Plus overview for plan details.
Beta. This feature is currently in Beta.
An SFTP import brings CSV files from your system into Ramp. Your system uploads a file to a folder on Ramp's SFTP server, and Ramp picks it up and applies each row, such as adding people or updating purchase orders.
New to SFTP? Start with SFTP overview.
Before you set up an SFTP import
- Set up your SFTP connection so your system can upload files. See Set up your SFTP connection.
- You need to be an Owner or Admin to create, edit, turn on or off, or delete imports. IT Admins can manage the SFTP connection and view imports, but can't change them.
- Find out how the system that sends your files names its columns, so you can match them to the columns Ramp expects.
SFTP import types
You can set up one import of each type.
| Import type | What it does |
|---|---|
| People | Add, update, or deactivate people |
| Purchase orders | Create, update, or delete purchase orders and their line items |
| Item receipts | Record items received against purchase order lines |
| Bill payments | Bring in payments made on bills |
| Vendor updates | Update details on existing vendors |
| Accounting field options | Add, update, or deactivate accounting field options |
| Accounting sync | Report the sync status of records from your ERP |
| Accounting UI filters | Replace the rules that filter accounting field options |
| Cross-charge matrix | Load rows for the cross-charge approval matrix |
| Cross-category filters | Create or delete rules that filter one field's options by another |
| Delegate approvers | Set delegate approvers for people |
| Approval matrix | Add or update rows in a custom records matrix |
Accounting UI filters and Cross-charge matrix imports need setup details from Ramp. Each file must be named with the ID of the matrix it updates, followed by .csv, and the import guide in Ramp doesn't show that ID. Contact Ramp Support before you set up either type.
Create an SFTP import
- From SFTP imports, select Create import. If your business doesn't have any SFTP exports or imports yet, select Set up an import instead.
- Choose an import type. A type that's already set up shows Already configured.
- Enter an Import name.
- Check the Folder name. It can use lowercase letters, numbers, hyphens, and underscores, and it can't match the folder of another import or export. Your system uploads files to
/to_ramp/[folder name]/. - Leave Turn on import on to start importing files after you save. If you turn it off, Ramp skips the files it finds in the folder while the import is off.
- Select Create import.
The right side of the page shows where files go and the file format for the type you chose.
If Ramp already set up this type of import for your business, creating it here replaces that setup and its folder.
Check an SFTP import file before you send it
Select Check my file in SFTP imports, choose the import type, and choose your CSV. Ramp lists the issues to fix, with the row and column for each one.
The check runs in your browser and doesn't upload or import anything. Ramp checks the file again when it processes it, so a file that passes can still have rows that fail.
The check accepts files with up to 1,000 rows. To check a larger file, use a smaller sample of it. This limit applies only to the check, not to the files you import.
Send files to an SFTP import
Upload each file to the import's folder, /to_ramp/[folder name]/. Files uploaded directly to /to_ramp/ aren't imported. To find the path, open the import and copy Deliver files to.
Ramp checks for new files about every minute and processes each file as its own run. You can't schedule imports or set the order files run in.
After Ramp processes a file's rows, it moves the file out of /to_ramp/ and adds files under /from_ramp/[folder name]/, each with the same name as your file:
| Folder | Contains |
|---|---|
processed | The file you sent |
outputs | The results of the run. For Bill payments and Accounting sync, this report lists both the rows that passed and the rows that failed |
errors | A report of the rows that failed, for the other import types |
If Ramp rejects a whole file or can't process it, the file can stay in /to_ramp/, and there may be no report. Check the run's failure message in integration monitoring. See Monitor SFTP import runs.
Uploading a file with the same name as an earlier one starts a new run. Give each file a unique name so you can match each report to its run. The exception is Accounting UI filters and Cross-charge matrix files, which must always keep the required file name.
Turn off, edit, or delete an SFTP import
Open the import from SFTP imports.
- Turn off an import: Select the More actions menu, then Turn off import. Ramp skips the files it finds while the import is off and doesn't process them later, even after you turn it back on. Send those files again.
- Turn on an import: Select Turn on import.
- Edit an import: Select Edit import to change the name, folder, or whether it's on. You can't change the import type. If you change the folder, update the system that sends your files.
- Delete an import: Select the More actions menu, then Delete import. Files sent to its folder are no longer imported, and records already imported stay in Ramp.
Monitor SFTP import runs
Each file is one run in integration monitoring, under the SFTP Imports action. Select the action to open its run list, then select a run to see its status and failure message. Imports don't send email notifications.
A run fails when any row in the file fails:
- Some rows failed: Ramp imported the rows that passed. Find the failed rows in the run's report under
/from_ramp/[folder name]/. The report isn't a file you can send back, so fix those rows in your original file and send a corrected file. - Bill payments: Send only the payments that failed. If the file includes a payment that Ramp already imported, that row fails as a duplicate and the run fails again.
- Accounting UI filters: Each file replaces all existing rules. Always send the complete set of rules, not only the rows you fixed.
- The whole file was rejected: Nothing was imported. This happens when a required column is missing, the file isn't UTF-8, or the file has too many rows. Fix the file and send it again.
There's no retry action. To run a file again, upload it again. If a run fails with a message that tells you to contact Ramp, contact Ramp Support.