File sources let you bring data into Whatagraph that doesn't have a native integration, such as an internal export, an accounting report, or a DSP report. Whatagraph detects the columns from your first file and keeps updating the same source whenever a newer file arrives, so your reports never need to be reconnected.
Upload a file
Use this method when you have a file on your computer and want to start reporting on it right away.
Step 1. Go to Data sources in the left navigation and click "+ Connect new source".
Step 2. Search for File sources and select it.
Step 3. Enter a Source name.
Step 4. Leave Delivery method set to "Upload a file".
Step 5. Click "Choose file" and select your file. Whatagraph accepts CSV, TSV, TXT, and XLSX files.
Step 6. If your column headers are not in the first row, or your Excel file has more than one worksheet, expand File options. Set the Header row, and enter the Excel worksheet name.
Step 7. Click "Connect source". Whatagraph reads the file in the background and detects the columns. Once processing finishes, the columns are available as metrics and dimensions in your widgets.
Important: Whatagraph detects the delimiter automatically (comma, semicolon, tab, or pipe). If it cannot determine which one your file uses, the upload is rejected, and you are prompted to choose one.
Update a source with a newer file
When your data changes, upload the new version to the same source instead of creating another one. Every report and widget that uses the source shows the new data.
Step 1. Open the file source from the Data sources page.
Step 2. Under Upload next file, click "Choose file" and select the new version.
Step 3. Click "Upload".
Each new file replaces the previous dataset, so it must contain all the data you want to report on, not just the latest rows. If you upload the same file twice, Whatagraph shows "Already imported. No data changed."
Important: The new file must have the same columns as the first one. If a column is added, removed, or renamed, the file is rejected with the message "The file columns changed," and your existing data stays in place.
Connect an SFTP server
Use SFTP when another system drops files on a server, and you want Whatagraph to pick them up automatically.
Step 1. Go to Data sources, click "+ Connect new source", and select File sources.
Step 2. Enter a Source name and set Delivery method to "SFTP".
Step 3. Fill in Host, Port, and Username.
Step 4. Enter your Password, or paste an SSH private key instead. If the key has a passphrase, enter it in the Password field.
Step 5. Paste the Host key fingerprint from your SFTP provider. It starts with SHA256:.
Step 6. Enter the Remote file path, for example /exports/*.csv. The wildcard matches every file with that extension in the folder.
Step 7. Choose how often Whatagraph looks for new files under Check for updates: every 15 minutes, hourly, every 6 hours, or daily.
Step 8. Make sure Automatic checks enabled is ticked, then click "Connect source".
Important: Whatagraph only picks up files that were last modified more than a minute ago, so a file that is still being written is not imported half-finished.
Forward files by email
Use email delivery for reports that a platform sends on a schedule, such as accounting, programmatic, or DSP reports. Whatagraph gives the source its own email address and imports any CSV or Excel attachment sent to it.
Step 1. Go to Data sources, click "+ Connect new source", and select File sources.
Step 2. Enter a Source name and set Delivery method to "Email attachments".
Step 3. Under Allowed sender addresses, enter the address that sends the files. Separate several addresses with commas. If you forward the files yourself, enter your own address.
Step 4. Click "Connect source".
Step 5. Copy the address shown under Forward attachments to.
Step 6. In the platform that sends the report, set that address as the recipient. For a report that arrives in your inbox, create a forwarding rule to that address instead.
Files sent from an address that is not on the allowed list are not imported. To change the list later, open the source, go to Email delivery, edit the addresses, and click "Save senders".
Tip: If the address ends up in the wrong place, click "Replace email address" in Email delivery. Deliveries to the old address stop working immediately.
What are the file limits?
Limit | Value |
File size | 32 MB |
Rows | 100,000 |
Columns | 256 |
Formats | CSV, TSV, TXT, XLSX |
Every column needs a unique, non-empty header. Excel files cannot contain formulas, so paste the values before uploading.
Why was my file rejected?
A rejected file never changes your existing data. Whatagraph keeps the last valid version and shows the reason, which is usually one of these:
The file columns changed. The headers no longer match the first file. Restore the original headers and upload again.
A formula in an Excel cell. Replace the formula with its value.
Choose a worksheet. Your workbook has several worksheets. Enter the sheet name under File options.
A row has the wrong number of fields. A row has more or fewer values than the header. This often comes from an unclosed quote.
A number column contains text. A column that holds numbers contains a value that Whatagraph could not read as a number.
The file exceeds the limit. Split the file or remove columns you do not need.













