Set up SFTP exports

Overview

Available on Ramp Plus. See Ramp Plus overview for plan details.

Beta. This feature is currently in Beta.

An SFTP export delivers a CSV of your Ramp records to your SFTP folder on a schedule. You set up each export in five steps: choose the data, shape the file, set the delivery, choose email notifications, and review.

New to SFTP? Start with SFTP overview.

Before you set up an SFTP export

Step 1: Choose data for the SFTP export

From SFTP exports, select Create export. If your business doesn't have any SFTP exports or imports yet, select Set up an export instead. Enter an Export name, then choose a dataset. A sample of the dataset's rows appears on the right.

DatasetIncludes
Ready transactionsCleared card transactions that are ready to sync and haven't been synced
Pending transactionsCleared card transactions that aren't ready to sync yet
Ready reimbursementsReimbursements that are ready to sync and haven't been synced
Pending reimbursementsReimbursements that aren't ready to sync yet
Ready billsBills that are ready to sync and haven't been synced
Ready bill paymentsCleared vendor payments that are ready to sync
Ready split bill paymentsCleared vendor payments that are ready to sync, with batch payments split by bill
Purchase order line itemsEvery line of approved purchase orders created in Ramp or through the API, in any status
Item receipt line itemsEvery received line of item receipts created in Ramp or through the API

Ready datasets include records that are ready to sync, and pending datasets include records that aren't ready yet. Transaction and reimbursement files have one row per accounting split, so a split record appears as several rows with the same ID. Bill and bill payment files have journal lines, with debit and credit rows for each bill or payment. Purchase orders imported from your ERP aren't included in the purchase order dataset.

SFTP exports don't mark records as synced. A ready record keeps appearing in each new file until it's synced or marked as synced in Ramp, so use the record IDs in the file to skip records your system has already imported.

Step 2: Shape the SFTP export file

Change the data to match what your system expects. The sample updates as you go.

Step 3: Set the SFTP export delivery schedule

Choose a Schedule: On demand, Daily, Weekdays, Weekly, Monthly, N times per month, Every N hours, or Custom cron. Times are in Eastern Time (ET).

For a scheduled export, Turn on schedule is on by default, so runs start after you save. If you turn it off, the export only runs when you run it yourself, and you can turn the schedule on later from the export. If you choose On demand, the export has no schedule; after you save, run it yourself. See Run an SFTP export now.

Scheduled files are delivered to from_ramp/[export folder]/outputs/. The export folder comes from your export name: lowercase, with spaces replaced by hyphens and most punctuation removed. Hyphens and underscores are kept. For example, an export named AP Export delivers to from_ramp/ap-export/outputs/. The exact folder appears under the file destination before you save. The folder is set when you save, and it can't be changed later, even if you rename the export.

Step 4: Choose SFTP export email notifications

Email notifications are off by default. To turn them on, choose Success, Failure, or Both in Send email for, then add Recipients. Select Preview email to see the emails. See Monitor SFTP exports for what each email includes.

Step 5: Review and create the SFTP export

Check the summary, select Preview file to see the file, then select Create export.

Run an SFTP export now

To get a file without waiting for the schedule, open the export from SFTP exports, select the More actions menu, then Run now. You can run an export whether its schedule is on or off.

Files from Run now go to a different folder than scheduled files: from_ramp/[export name]/manual/, using the export's current name with spaces and slashes replaced by underscores. For example, an export named AP Export delivers manual runs to from_ramp/AP_Export/manual/, and AP/AR Export delivers to from_ramp/AP_AR_Export/manual/.

Where Ramp delivers SFTP export files

Each scheduled run delivers one file to the export's outputs folder, named with the export's current name (lowercase and hyphenated, up to 40 characters), the scheduled run time in UTC, and a run reference. If you rename an export, new filenames use the new name, but files still go to the original folder. If no records match, the file only has a header row, so you can tell the run happened.