
Overview
The File Upload source lets you import data by uploading a file directly from your computer. The platform parses the file and extracts fields for mapping.Supported File Formats
The platform automatically detects the file format. The following formats are supported:| Format | Extension(s) | Description |
|---|---|---|
| CSV | .csv, .tsv, .txt | Comma-separated values. Delimiter is auto-detected (comma, semicolon, tab, pipe). |
| JSON | .json | Standard JSON files with a root array or object. |
| NDJSON | .ndjson, .jsonl | Newline-delimited JSON (one JSON object per line). |
| XML | .xml | XML files — the root element path is auto-detected. |
| Parquet | .parquet | Apache Parquet columnar format. |
| Avro | .avro | Apache Avro serialization format. |
| XLSX | .xlsx | Microsoft Excel files. |
Compressed files (
.gz, .zip) are automatically decompressed before parsing.PGP-encrypted files cannot be uploaded directly via the File Upload source because format detection runs at upload time, before a decryption key can be provided. To import PGP-encrypted files, use URL, FTP/SFTP, S3, or GCS instead. See the PGP Decryption guide for details.
Upload via the UI
The easiest way to create a file-upload datasource is through the platform interface.Upload your file
Drag and drop your file into the upload area, or click to open the file browser and select a file from your computer. The platform automatically detects the file format and text encoding.
Configure field mapping
Once the file is parsed, fields are extracted and displayed. Configure the field mapping to define how data should be imported.
Upload via the API
You can also create and update file-upload datasources programmatically using the Reelevant API. This is a multi-step process:Authenticate
Obtain an access token via the authentication endpoint:Use the returned
access_token in subsequent requests.Create a datasource
Create a new datasource of type The response contains the datasource
worker:id (a 24-character hex string) which is needed for subsequent steps.Upload the file
Upload your data file using the upload endpoint. The file must be sent as The response returns the file source options (including
multipart/form-data:bucket, path, format, and textEncoding) that you need for the next step.Configure sources (configure_sources step)
Submit the
configure_sources step with the file options returned by the upload:Configure fields (configure_fields step)
After configuring sources, configure the field mapping. Use the fields extracted from the sample to define which fields to import:
Update via FTP / SFTP
When a file-upload datasource is created, Reelevant automatically generates FTP and SFTP credentials. Your systems can push updated files to the hosted endpoint, and the datasource will automatically re-process the latest file.Retrieving Credentials
Get the upload password
Retrieve the SFTP/FTP password for your datasource via the API:The response contains the
password field.SFTP with SSH Key-Pair Authentication
Instead of using a password, you can configure your datasource to authenticate via an SSH key pair. Once a public key is configured, password authentication is disabled for that datasource — only key-based auth will work.Generate an SSH key pair
If you don’t already have one, generate a key pair:This creates
sftp-key (private key) and sftp-key.pub (public key).Register the public key on the datasource
Use the
patch step to set the sftpPublicKey field on your datasource:Pushing a File
Once you have credentials (password or SSH key), upload a file using any standard FTP or SFTP client:- SFTP (password)
- SFTP (SSH key)
- FTP
- Host:
ftp.reelevant.com - Port:
8022 - Username:
<datasource_id> - Password:
<password from API>
The FTP/SFTP endpoint only accepts file uploads (
STOR / write operations). You cannot delete or rename files on the server.