# Account Source: https://help.csvbox.io/account Answers to common questions about CSVbox orders, billing, subscription renewals, plan changes, and import quotas. Find answers to common questions about your CSVbox account, billing, and subscription plans. ## Who processes CSVbox orders? Our online reseller [Paddle.com](https://paddle.com/) handles our order process. Paddle is the Merchant of Record for all our orders. If you have any questions about order processing, reach out to us or to [Paddle](mailto:help@paddle.com). ## Will my subscription automatically renew? Yes, every subscription plan renews automatically. If you don't want to be billed, cancel your subscription before the expiration date. ## What will happen if I upgrade or downgrade to a different plan? If you upgrade to a more expensive plan, you get a prorated discount for the period you've already used on your existing plan. If you downgrade to a less expensive plan, the lower plan is activated on the expiry date of your previous plan. ## What will happen if I cancel my subscription? If you cancel your subscription, it remains active until its expiration date but isn't renewed automatically. ## Why has my subscription been canceled? Your subscription can be canceled for one of the following reasons: * You canceled it yourself on the platform. * Too many payments were declined, in which case our payment system cancels your subscription automatically. ## What happens when I run out of the monthly quota of imports? We send you an email notification when your monthly usage hits 80% and 100%, so you have enough time to react and adapt your plan. ## Converting a yearly subscription into a monthly subscription You can't convert your yearly subscription to a monthly one yourself. [Contact us](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur) and we'll do it for you. # Teams Source: https://help.csvbox.io/account/teams Organize and control access to CSVbox by adding team members. Invite additional members of your team to your CSVbox dashboard from the [Team](https://app.csvbox.io/user/team) page. When you invite a new team member, you're asked what role they serve in your organization. CSVbox limits dashboard functionality based on a user's role. An admin in your team can change any user's role at any time. ## Roles and access The roles and the dashboard areas each one can access (at a broad level) are: | Page | Super Admin | Admin | Tech | Finance | | - | :-: | :-: | :-: | :-: | | Home | Yes | Yes | Yes | Yes | | Sheets | Yes | Yes | Yes | No | | Imports | Yes | Yes | Yes | No | | Plans | Yes | Yes | No | Yes | | Settings | Yes | Yes | Yes | No | | Teams | Yes | Yes | Yes | Yes | Each account has one super admin. The super admin can't be changed. > [!NOTE] > > The maximum number of team members you can add depends on your [plan](https://csvbox.io/#pricing). # Advanced Installation Source: https://help.csvbox.io/advanced-installation Additional importer options and features for dynamic columns, custom validation, data transforms, and API automation. These guides cover additional importer options and features. Use them to extend a sheet at run time, add custom validation and transformation logic, and automate imports through the API. > **[Dynamic Columns](/advanced-installation/dynamic-columns)** > > Add new columns to the sheet at run time. > **[Virtual Columns](/sheet-settings/virtual-columns)** > > Create new columns by applying custom data transformation logic. > **[Unmapped & Ignored Columns](/sheet-settings/import-steps/map-columns)** > > Accept columns not included in the sheet template, or let users drop columns from the import. > **[Import Links](/advanced-installation/import-links)** > > Accept files from your users without a website or an app. > **[Validation Functions](/sheet-settings/validation-functions)** > > Implement advanced validations using JavaScript functions. > **[Server Side Validation](/advanced-installation/server-side-validation)** > > Validate data at your server and report errors back for correction and re-upload. > **[Data Transforms](/sheet-settings/data-transforms)** > > Bulk edit the dataset before pushing it to your system. > **[REST File API](/advanced-installation/rest-file-api)** > > Automate CSV submissions via API. > **[Environment Variables](/advanced-installation/environment-variables)** > > Variables to configure the importer environment. > **[Auth API](/advanced-installation/auth-api)** > > Authenticate API requests to CSVbox using a secure header-based scheme. > **[Sheet API](/advanced-installation/sheet-api)** > > Programmatically create and manage CSVbox sheets and their column configurations through the API. > **[MCP Server](/advanced-installation/mcp-server)** > > Configure importers by prompting Claude, Cursor, or any MCP client instead of hand-writing schema JSON. > **[If / Else Builder](/advanced-installation/if-else-builder)** > > Add conditional validations and data transforms to a sheet without writing JavaScript. # Auth API Source: https://help.csvbox.io/advanced-installation/auth-api Authenticate CSVbox API requests with a header-based scheme that validates both your API Key and Secret API Key. CSVbox requires two authentication headers, `x-csvbox-api-key` and `x-csvbox-secret-api-key`, for all protected API requests. > [!WARNING] > > * Always send requests over **HTTPS**. > * Never include keys in query parameters or expose them in browser-side code. > * Store keys securely in your server environment. ## Finding your keys **1. Log in to the dashboard** Log in to the [CSVbox Dashboard](https://app.csvbox.io/). **2. Open the API Keys tab** Click your profile name → **Profile** → **API Keys** tab. **3. Copy your keys** Copy your API and Secret keys. **4. Regenerate keys if needed** If keys are missing or compromised, click **Regenerate Key**. ## Authentication flow 1. The client sends a request to a protected endpoint with both headers. 2. CSVbox validates that: * The API key exists and is active. * The Secret key matches the same account. 3. If valid, CSVbox returns `200 OK` and the requested data. 4. If invalid, CSVbox returns an appropriate error code. ## Verify credentials API Verify your credentials with this endpoint. ```text theme={"dark"} POST https://api.csvbox.io/1.1/auth ``` ### Headers | Name | Value | | - | - | | `content-type` | `application/json` | | `x-csvbox-api-key` | `` | | `x-csvbox-secret-api-key` | `` | ### Body | Name | Type | Description | | - | - | - | | `name` | string | Name of the user | | `age` | number | Age of the user | ### Response **200 OK** ```json 200 OK theme={"dark"} { "message": "successfully authenticated", "data": { "name": "John Doe", "email": "abc@xyz.com", "profile_photo_url": "" } } ``` ### Error responses | Status | Error | Example | | - | - | - | | **400 Bad Request** | Missing or malformed headers | `{ "errors": "bad_request" }` | | **401 Unauthorized** | Invalid credentials | `{ "errors": "invalid_credentials" }` | | **403 Forbidden** | Account lacks permission | `{ "errors": "forbidden"}` | | **429 Too Many Requests** | Rate limit exceeded | `{ "errors": "rate_limited"}` | ### Example requests ```javascript cURL theme={"dark"} curl -i -X GET "https://api.csvbox.io/1.1/auth" \ -H "Accept: application/json" \ -H "x-csvbox-api-key: " \ -H "x-csvbox-secret-api-key: " ``` ```javascript jQuery (for testing) theme={"dark"} $.ajax({ url: "https://api.csvbox.io/1.1/auth", headers: { "x-csvbox-api-key": "", "x-csvbox-secret-api-key": "" }, success: (data) => console.log("Authenticated:", data), error: (xhr) => console.error("Error:", xhr.status, xhr.responseJSON) }); ``` ```php PHP theme={"dark"} [!CAUTION] > > Never expose your secret keys in browser-side code. ## Security best practices * Use **HTTPS (TLS)** exclusively. * Send keys in **headers**, never in URLs. * Mask secret fields in your UI (`type="password"`). * Don't log raw keys. Mask them (for example, `****abcd`). * Rotate and revoke keys regularly from the dashboard. * Store credentials as environment variables: ```bash theme={"dark"} CSVBOX_API_KEY=your_api_key CSVBOX_SECRET_API_KEY=your_secret_key ``` * For browser apps, always proxy API requests through your backend. ## FAQ > **Can I send only the API key?** > > No. Both headers are required for authentication. > **Can I use query parameters for keys?** > > No. Query-based authentication is disabled for security reasons. > **Where should I store my keys?** > > Store them server-side in environment variables or a secrets manager. > **I lost my secret key. What now?** > > Regenerate it from the **API Keys** page. ## Troubleshooting & support If authentication fails: 1. Verify the exact header names (`x-csvbox-api-key`, `x-csvbox-secret-api-key`). 2. Make sure your account and keys are active. 3. Confirm you're using **HTTPS**. 4. If it still fails, contact [support](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur) with your request ID or timestamp. ## Summary | Topic | Details | | - | - | | Method | Header-based (API Key + Secret Key) | | Headers | `x-csvbox-api-key`, `x-csvbox-secret-api-key` | | Protocol | HTTPS only | | Auth type | Server-to-server | | Test endpoint | `GET https://api.csvbox.io/1.1/auth` | > [!NOTE] > > Use this endpoint to verify your integration before making any other CSVbox API calls. # Dynamic Columns Source: https://help.csvbox.io/advanced-installation/dynamic-columns Add new columns to the sheet at run time through the installation code. Sometimes you can't use a fixed template to collect data, because the columns in the data model depend on the end user's preferences or other criteria. For these cases, CSVbox lets you add unique **dynamic columns** to each import at run time. ## Basic installation Configure dynamic columns in the installation code. Here's a basic configuration that adds 2 dynamic columns, `qualification` and `experience`. **Javascript** Pass the dynamic columns you want to add as an array input parameter to the `setDynamicColumns()` method while initializing the importer. ```javascript theme={"dark"} importer.setDynamicColumns([ { "column_name" : "qualification" }, { "column_name": "experience" } ]) ``` Basic installation steps are available [here](/getting-started/2-install-code). **React** Pass the dynamic columns as an object to the `dynamicColumns` property of the `CSVBoxButton` component. ```javascript theme={"dark"} dynamicColumns={[ { "column_name" : "qualification" }, { "column_name": "experience" } ]} ``` Basic installation steps are available [here](/getting-started/2-install-code). **Angular** Add `[dynamicColumns]="dynamicColumns"` to the existing template. ```typescript theme={"dark"} @Component({ selector: 'app-root', template: ` Import ` }) ``` Then pass the dynamic columns as an object to the `dynamicColumns` property of the AppComponent. Example: ```javascript theme={"dark"} dynamicColumns=[ { column_name : "qualification" }, { column_name: "experience" } ] ``` Basic installation steps are available [here](/getting-started/2-install-code). **Vuejs** Add `:dynamicColumns="dynamicColumns"` to the existing template. ```html theme={"dark"} ``` Pass the dynamic columns as an object to the `dynamicColumns` property of the `CSVBoxButton` component. Example: ```javascript theme={"dark"} dynamicColumns: [ { column_name : "qualification" }, { column_name: "experience" } ] ``` Basic installation steps are available [here](/getting-started/2-install-code). Dynamic columns are visible in the importer along with the other regular columns. ## Advanced configuration Configure dynamic columns further by passing additional `: ` pairs to the array input parameter of the `setDynamicColumns()` method. Here is an example illustrating more configuration options. **Javascript** ```javascript theme={"dark"} importer.setDynamicColumns([ { "column_name" : "qualification", "display_label": "Highest Qualification", "info_hint": "What is your highest educational degree", "matching_keywords": "degree, education", "type": "text", "validators": { "min_length": 2, "max_length": 50 }, "default_value": "Masters", "position": 2, "required": true }, { "column_name": "experience", "display_label": "Work Experience", "info_hint": "Years of work experience", "matching_keywords": "", "type": "number", "validators": { "min_value": 0, "max_value": 100 }, "position": 4, "required": false }, { "column_name": "gender", "display_label": "Gender", "info_hint": "", "matching_keywords": "", "type": "list", "validators": { "values": [ {"value": "m", "display_label": "male"}, {"value": "f", "display_label": "female"} ], "case_sensitive": false }, "required": true } ]) ``` **React** ```javascript theme={"dark"} dynamicColumns={[ { "column_name" : "qualification", "display_label": "Highest Qualification", "info_hint": "What is your highest educational degree", "matching_keywords": "degree, education", "type": "text", "validators": { "min_length": 2, "max_length": 50 }, "default_value": "Masters", "position": 2, "required": true }, { "column_name": "experience", "display_label": "Work Experience", "info_hint": "Years of work experience", "matching_keywords": "", "type": "number", "validators": { "min_value": 0, "max_value": 100 }, "position": 4, "required": false }, { "column_name": "gender", "display_label": "Gender", "info_hint": "", "matching_keywords": "", "type": "list", "validators": { "values": [ {"value": "m", "display_label": "male"}, {"value": "f", "display_label": "female"} ], "case_sensitive": false }, "required": true } ]} ``` **Angular** ```javascript theme={"dark"} dynamicColumns=[ { column_name: "qualification", display_label: "Highest Qualification", info_hint: "What is your highest educational degree", matching_keywords: "degree, education", type: "text", validators: { min_length: 2, max_length: 50 }, default_value: "Masters", position: 2, required: true }, { column_name: "experience", display_label: "Work Experience", info_hint: "Years of work experience", matching_keywords: "", type: "number", validators: { min_value: 0, max_value: 100 }, position: 4, required: false }, { column_name: "gender", display_label: "Gender", info_hint: "", matching_keywords: "", type: "list", validators: { values: [ {value: "m", display_label: "male"}, {value: "f", display_label: "female"} ], case_sensitive: false }, required: true } ]; ``` **Vuejs** ```javascript theme={"dark"} dynamicColumns: [ { column_name: "qualification", display_label: "Highest Qualification", info_hint: "What is your highest educational degree", matching_keywords: "degree, education", type: "text", validators: { min_length: 2, max_length: 50 }, default_value: "Masters", position: 2, required: true }, { column_name: "experience", display_label: "Work Experience", info_hint: "Years of work experience", matching_keywords: "", type: "number", validators: { min_value: 0, max_value: 100 }, position: 4, required: false }, { column_name: "gender", display_label: "Gender", info_hint: "", matching_keywords: "", type: "list", validators: { values: [ {value: "m", display_label: "male"}, {value: "f", display_label: "female"} ], case_sensitive: false }, required: true } ] ``` > [!NOTE] > > `column_name` is the only mandatory key for adding a dynamic column. ### Configuration options | Key | Description | | - | - | | [column\_name](/sheet-settings/columns#column-name) \* | The column name that is pushed to the data destination. | | [display\_label](/sheet-settings/columns#display-label) | The user-friendly column label that users see in the importer. | | [info\_hint](/sheet-settings/columns#info-hint) | Help tooltips displayed when users hover the mouse over the Display Label (or click it) in the importer. | | [matching\_keywords](/sheet-settings/columns#matching-keywords) | Comma-separated set of keywords used as alternative matching options to help users match column names automatically. | | [type](/sheet-settings/columns#column-type) | The data type of the incoming data. Possible values are: **text**, **number**, **email**, **date**, **boolean**, **regex**, **ip**, **url**, **credit\_card**, **phone\_number**, **currency**, **list**, **dependent\_list**, **dynamic\_list**, **dependent\_dynamic\_list**, **multiselect\_list**, and **multiselect\_dynamic\_list**. | | [validators](/advanced-installation/dynamic-columns#validator-options) | The validation rules for the data, based on the column type. Validator options are listed below. | | [default\_value](/sheet-settings/columns#default-value) | A default filler value for the column in case the incoming data is blank. | | [required](/sheet-settings/columns#required) | Indicates whether a column is mandatory. | | [position](/advanced-installation/dynamic-columns#column-position) | The display index of the column. Starts from 1. | | [read\_only](/sheet-settings/columns#read-only) | If set to **true**, users can't edit the data in this column. The default value is **false**. | ### Validator options
Column TypeValidatorsExample
text
  1. **min\_length**
  2. **max\_length**
"min\_length": 2,"max\_length": 50
number
  1. **min\_value**
  2. **max\_value**
  3. **number\_type**\ **-** Valid values: "any", "integer"\ \- Default: "any"
  4. **allow\_commas**\ **-** Valid values: true, false\ \- Default: false
  5. **excel\_value**\ \- Valid values: "raw", "formatted"\ \- Default: "formatted"
"min\_value": -2,"max\_value": 100,\ "number\_type": "integer",\ "allow\_commas": true,\ "excel\_value": "raw"
email-
date
  1. **format**
"format": \["MM/DD/YYYY", "MM.DD.YYYY", "MM-DD-YYYY"]
time
  1. **format**
"format": \["**h:mm:ss**","**hh:mm:ss**"]
boolean-
regex
  1. **expression**
  2. **error\_message**
"expression": "^\[\w-\\.]+@(\[\w-]+\\.)+\[\w-]\{2,4}\$",\ "error\_message": "Invalid format"*Note: The special characters in the expression need to be escaped. You may use a tool like* [*this* ](https://www.freeformatter.com/javascript-escape.html#ad-output)*for escaping.*
ip
  1. **version**
"version": “ipv4”
url-
credit\_card-
phone\_number
  1. **country\_code**
"country\_code": "de"
currency
  1. **symbol**
  2. **require\_symbol**
  3. **allow\_space\_after\_symbol**
  4. **symbol\_after\_digits**
  5. **allow\_negatives**
  6. **parens\_for\_negatives**
  7. **negative\_sign\_before\_digits**
  8. **negative\_sign\_after\_digits**
  9. **thousands\_separator**
  10. **decimal\_separator**
  11. **allow\_decimal**
  12. **require\_decimal**
  13. **digits\_after\_decimal**
  14. **allow\_space\_after\_digits**
**Note:** The array `digits_after_decimal` is filled with the exact number of digits allowed, not a range. For example, a range of 1 to 3 will be given as \[1, 2, 3].
"symbol": "\$", "require\_symbol": false,"allow\_space\_after\_symbol": false, "symbol\_after\_digits": false, "allow\_negatives": true, "parens\_for\_negatives": false, "negative\_sign\_before\_digits": false,"negative\_sign\_after\_digits": false,"thousands\_separator": ",", "decimal\_separator": ".", "allow\_decimal": true, "require\_decimal": false, "digits\_after\_decimal": 2, "allow\_space\_after\_digits": false
list
  1. **values**
    • **value**
    • **display\_label** (optional)
    • **dependents** (optional)
      • **value**
      • **display\_label**
  2. **case\_sensitive**
  3. **other\_values** (Optional. Default is false)
  4. **accept\_list\_values**\ (Optional. Default is false)
"values": \[ \{"value": "USA", "display\_label": "USA", "dependents": \[ \{"value": "ny", "display\_label": "New York"}, \{"value": "ch", "display\_label": "Chicago"}, \{"value": "se", "display\_label": "Seattle"}, \{"value": "mi", "display\_label": "Miami"} ]}, \{"value": "Canada", "display\_label": "Canada", "dependents": \[ \{"value": "to", "display\_label": "Toronto"}, \{"value": "va", "display\_label": "Vancouver"}\ ]}],"case\_sensitive": false,\ "other\_values": false,\ "accept\_list\_values": true
dependent\_list
  1. **primary\_column**
"primary\_column": "countries"
dynamic\_list
  1. **source\_url**
  2. **request\_method**
  3. **request\_headers**
  4. **custom\_user\_attributes** (Optional. Default is true)
  5. **other\_values** (Optional. Default is false)
"source\_url": "[https://api.myapp.com/countries](https://api.myapp.com/countries)",\ "request\_method": "POST","request\_headers": \[\{"key": "Content-Type", "value": "application/json"},\{"key": "X-Access-Token", "value": "71ab1d73a4d1319b260e9a0sdbdbc1c"}],\ custom\_user\_attributes: true,\ "other\_values": false
dependent\_dynamic\_list
  1. **primary\_column**
"primary\_column": "countries"
multiselect\_list
  1. **values**
  2. **delimiter** (Optional. Default is comma ",")
  3. **case\_sensitive**
  4. **other\_values** (Optional. Default is false)
"values": \["Red", "Green", "Blue"],"delimiter": ".",\ "case\_sensitive": false,\ "other\_values": false
multiselect\_dynamic\_list
  1. **source\_url**
  2. **request\_method**
  3. **request\_headers**
  4. **delimiter** (Optional. Default is comma ",")
  5. **other\_values** (Optional. Default is false)
"source\_url": "[https://api.myapp.com/colors](https://api.myapp.com/colors)",\ "request\_method": "POST","request\_headers": \[\{"key": "Content-Type", "value": "application/json"},\{"key": "X-Access-Token", "value": "71ab1d73a4d1319b260e9a0sdbdbc1c"}],\ "delimiter": ".",\ "other\_values": false
### Column position By default, dynamic columns are displayed after the regular columns. The `position` parameter re-orders the dynamic columns so they display before or in between the regular columns. The `position` value starts from 1, which indicates the first position in the final column list. It is an optional parameter when defining dynamic columns. ## Receiving dynamic data Data from dynamic columns is available in the data destinations along with the data from the regular columns. Currently, dynamic columns are supported only by the following destinations: * [None](/destinations#none) * [API/Webhook](/destinations#api--webhook) * [Test API](/destinations#test-api) * [Amazon S3](/destinations#amazon-s3) * [Google Cloud Storage](/destinations/google-cloud-storage) ### API/Webhook data destination In the API response JSON object, the dynamic data appears inside the `_dynamic_data` object, as shown below. The `_dynamic_data` object is visible only if dynamic columns are configured for the import. In the example below, check lines 12 and 31. ```json theme={"dark"} [ { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 1, "row_data": { "Name": "TP-Link TL-WN822N Wireless N300 High Gain USB Adapter", "SKU": "AS-100221", "Price": "33.00", "Quantity": "3", "_dynamic_data":{ "qualification": "MBA", "experience": "3" } }, "custom_fields": { "user_id": "1002" } }, { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 2, "row_data":{ "Name": "EPower Technology EP-600PM Power Supply 600W ATX12V 2.3 Single 120mm Cooling Fan Bare", "SKU": "AS-103824", "Price": "95.35", "Quantity": "8", "_dynamic_data":{ "qualification": "MA", "experience": "6" } }, "custom_fields": { "user_id": "1002" } }, ] ``` ### S3 data destination In the AWS S3 file store, dynamic columns are added as new columns in the uploaded file. ### Google Cloud Storage data destination In Google Cloud Storage, dynamic columns are added as new columns in the CSV file, or as extra keys on every object in the JSON file. # Environment Variables Source: https://help.csvbox.io/advanced-installation/environment-variables Pass dynamic values at importer initialization and reference them in your sheet settings and JavaScript code. Environment variables are dynamic values you define during importer initialization and then access in the sheet configuration. Use them to configure the environment of your importer. The values you pass at initialization replace the placeholders referenced in the sheet settings with double curly braces. ## Defining environment variables **1. Create the environment object** Create an object named `environment`. **2. Add your variables** Add the variables to this object in `: ` format. **3. Pass the object to the importer** Pass the `environment` object as a parameter to the importer initialization function. **Javascript** Pass the `environment` object to the `CSVBoxImporter` function: ```javascript theme={"dark"} ``` **React** > [!WARNING] > > Minimum version 1.1.11 of the `@csvbox/react` library is required to use this feature. Pass environment variables as an object to the `environment` property of the `CSVBoxButton` component. ```jsx theme={"dark"} { if(result){ console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code }else{ console.log("fail"); //custom code } }} render={(launch, isLoading)=>{ return ; }} > Import ``` **Angular** > [!WARNING] > > Minimum version 1.1.12 of the `@csvbox/angular` library is required to use this feature. Pass environment variables as an object to the `environment` property of the `AppComponent`. ```javascript theme={"dark"} @Component({ selector: 'app-root', template: ` Import ` }) export class AppComponent { title = 'example'; licenseKey = 'YOUR_LICENSE_KEY_HERE'; user = { user_id: 'default123' }; environment = { env_name: 'staging', base_url: "https://staging.mydomain.com", authorized_domain: "https://staging.myapp.com", user_id: "default123" }; imported(result: boolean, data: any) { if(result) { console.log("Sheet uploaded successfully"); console.log(data.row_success + " rows uploaded"); }else{ console.log("There was some problem uploading the sheet"); } } } ``` **Vuejs** > [!WARNING] > > Minimum version 1.1.8 of the `@csvbox/vuejs` library is required to use this feature. Minimum version 1.1.5 of the `@csvbox/vuejs3` library is required to use this feature. Pass environment variables as an object to the `environment` property of the `CSVBoxButton` component. ```javascript theme={"dark"} ``` > [!WARNING] > > Environment variable names must not contain spaces or special characters other than `_` (underscore). `env_name` is a CSVbox reserved keyword that tags the environment. Each import is categorized by its value: pass values such as `'production'`, `'staging'`, or `'local'`. If you don't pass a value, `env_name` defaults to `'default'`. You can filter individual imports by `env_name` in the CSVbox admin dashboard. ![Filter via Environment on the Import page](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/env.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=17ac363b6f06a72da1fc413e4e48b121) Filter via Environment on the Import page ## Accessing the variables Environment variable values replace all the environment placeholders in the sheet settings. Define a placeholder with double curly brackets: `{{ environment_variable_name }}`. For example, to reference an environment variable named `base_url`, wrap the variable name in double curly braces: `{{base_url}}/route-endpoint` Using environment variables in the webhook URL lets you adjust the webhook route to the specific environment. ![Defining Environment Placeholder](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/env-placeholder.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=e9b493383bb55a4fe809a4d642930268) Defining Environment Placeholder Beyond defining the environment, these variables can configure the importer dynamically based on end users or any other system parameters. For example, define an environment variable `user_id` and pass it to the webhook URL to configure the URL per end user. ![user\_id environment variable in the webhook URL](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/user-id.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=c109ea7ddaeaa3b9f0c8d07d6fc1c898) user\_id env variable You can also access environment variables in [Validation Functions](/sheet-settings/validation-functions), [Virtual Columns](/sheet-settings/virtual-columns), and [Data Transforms](/sheet-settings/data-transforms) JavaScript code. ```javascript theme={"dark"} // Usage if(csvbox.environment["user_id"] && csvbox.environment["user_id"] == "abc123") { // code } ``` ## Encrypting environment variables You can encrypt environment variables with the [AES Everywhere library](https://github.com/mervick/aes-everywhere) to protect sensitive data. ### AES Everywhere library The AES Everywhere library provides a simple, effective way to encrypt and decrypt data with the Advanced Encryption Standard (AES) algorithm. It supports many platforms and programming languages, which makes it a versatile choice for securing environment variables. CSVbox supports multiple encryption schemes for securing sensitive importer data at rest. Choose the mode that best fits your security or compliance requirements. ### Supported encryption types | Encryption mode | Notes | | - | - | | AES-256-CBC (legacy) | Still supported, but recommended to move to newer CBC/GCM variants. | | Updated AES-256-CBC | Improved IV handling and hardened padding logic. Recommended if you prefer CBC mode. | | AES-256-GCM | **Most secure**. Provides authenticity + integrity via GCM tags. Recommended for all new installs. | ### Steps **1. Install the library** Install the [AES Everywhere library](https://github.com/mervick/aes-everywhere) in your app. **2. Open the encryption key settings** In your app admin dashboard, go to **Account Menu** → **API Keys** page → **Encryption Key** section. **3. Choose the encryption settings** Select the **Encryption Type** and **Encryption Mode**. **4. Generate an encryption key** Generate a secure encryption key. **5. Encrypt the environment variables** Use your encryption key and the AES Everywhere library to encrypt the environment variables. > [!NOTE] > > Encrypt all the required environment variables in one single object. Here is an example in JavaScript: ```javascript theme={"dark"} const AES = require('aes-everywhere'); const secretKey = 'your-encryption-key'; const originalValue = { base_url: "https://staging.mydomain.com", authorized_domain: "https://staging.myapp.com", user_id: "default123" }; const encryptedValue = AES.encrypt(JSON.stringify(originalValue), secretKey); console.log(`Encrypted Value: ${encryptedValue}`); //encrypted value: U2FsdGVkX192dXI7yHGs/4Ed+xEC3ejXFINKO6Hufnc= ``` **6. Pass the encrypted value** Add the encrypted value to the `environment` object, under the `env_encrypted` key. ```javascript Javascript theme={"dark"} let importer = new CSVBoxImporter("YOUR_LICENSE_KEY_HERE", {}, callback, { lazy: true, environment: { env_name: 'staging', //encrypted values below env_encrypted: "U2FsdGVkX192dXI7yHGs/4Ed+xEC3ejXFINKO6Hufnc=", module_id: 234234 } }); ``` The CSVbox importer decrypts the environment variables with the same AES Everywhere library. # If/Else Builder Source: https://help.csvbox.io/advanced-installation/if-else-builder Add conditional validations and data transforms to a sheet without writing JavaScript. The **If / Else Builder** lets you add conditional logic to an importer without writing JavaScript. You describe a rule in plain terms (*IF these conditions are true, THEN do this, ELSE IF ..., ELSE ...*) and CSVbox converts it into a validation or a data transformation that runs on every imported file. Use it to: * Fill in or standardize values based on other columns (*"If Country is US, set Currency to USD"*) * Remove rows you don't want imported (*"If Email is empty, delete the row"*) * Show users a clear error on the exact cell that is wrong (*"If Age is less than 18, flag an error on Age"*) The builder is available in two features: | Feature | Purpose | Actions available in the builder | | - | - | - | | [Data Transforms](/sheet-settings/data-transforms) | Changes values in the file | **Set**, **Clear**, **Delete row** | | [Validation Functions](/sheet-settings/validation-functions) | Checks values and reports problems | **Flag error on** | ## How to use it **1. Open the section** Go to the edit sheet page and open the **Validation Functions** or **Data Transforms** section. **2. Add or edit a function** Add a new function, or edit an existing one, and give it a name. **3. Switch to Visual mode** Switch the editor from **Code** to **Visual**. **4. Build your rule** Build your rule. **5. Save the function** Click **Save**. > [!NOTE] > > Code mode remains available for anything the builder cannot express. See [Visual vs. Code mode](#visual-vs-code-mode). ## How a rule is structured A rule is a list of **branches**, checked from top to bottom. Only the first branch whose conditions are true runs. The remaining branches are skipped. ```text theme={"dark"} IF THEN ELSE IF THEN (optional, can repeat) ELSE THEN (optional, must be last) ``` | Branch | Conditions | How many | Position | | - | - | - | - | | **IF** | Required | Exactly one | Always first | | **ELSE IF** | Required | Any number | After IF, before ELSE | | **ELSE** | None. Runs when nothing above matched | At most one | Always last | * A rule can have a maximum of **10 branches** (IF + ELSE IFs + ELSE). A counter above the builder shows `n / 10 branches`. * Once an **ELSE** exists, both **Add Else If** and **Add Else** are disabled, because nothing can follow ELSE. * Branches other than the first can be removed with the **×** at the top-right of the branch. The first IF branch cannot be removed. * Every branch needs at least one action. Every IF / ELSE IF branch needs at least one condition. Removing the last condition or action simply leaves a fresh blank one. ## Conditions A condition compares a **column** to a **value**: ```text theme={"dark"} [ Column ] [ Operator ] [ Value ] ``` Click **Add Condition** to add more conditions to a branch. Extra conditions have an **×** to remove them. ### Operators | Operator | Is true when | Needs a value? | | - | - | - | | `equals` | The cell exactly equals the value | Yes | | `not equals` | The cell does not equal the value | Yes | | `>` | The cell, read as a number, is greater than the value | Yes | | `<` | The cell, read as a number, is less than the value | Yes | | `>=` | The cell, read as a number, is greater than or equal to the value | Yes | | `<=` | The cell, read as a number, is less than or equal to the value | Yes | | `contains` | The cell contains the value anywhere in the text | Yes | | `does not contain` | The cell does not contain the value | Yes | | `starts with` | The cell begins with the value | Yes | | `ends with` | The cell ends with the value | Yes | | `is empty` | The cell is blank (or only spaces) | No | | `is not empty` | The cell has some content | No | ### Text comparisons and Match case For `equals`, `not equals`, `contains`, `does not contain`, `starts with`, and `ends with`: * By default the comparison is **not case-sensitive** and leading/trailing spaces in the cell are ignored. `" us "`, `"US"`, and `"us"` all equal `us`. * Tick **Match case** on a condition to compare exactly as typed, including capitalization and spaces. * The **Match case** checkbox only appears for these operators, because it has no effect on the others. ### Number comparisons For `>`, `<`, `>=`, and `<=`: * The cell and the value are both read as numbers. * Plain numbers (`42`, `3.5`, `-7`) work as expected. * Text that does not start with a number (for example, `n/a` or `$1,200`) is not a number, so the condition is **false**. * Text that starts with digits is read up to the first non-numeric character (`12abc` is read as `12`, `1,200` is read as `1`). > [!WARNING] > > If your data contains thousands separators or currency symbols, clean those values first with a Data Transform before comparing them as numbers. ### Blank checks `is empty` and `is not empty` ignore surrounding spaces, so a cell containing only spaces counts as empty. They do not need a value. > [!NOTE] > > A comparison value cannot be left blank on the other operators. To test for blanks, use `is empty` or `is not empty`. ### Combining conditions with AND / OR When a branch has two or more conditions, choose how to combine them with the **Match with** dropdown: | Choice | The branch matches when | | - | - | | **AND** | **All** conditions are true | | **OR** | **At least one** condition is true | The choice applies to **every** condition in that branch. The dropdown appears once, before the second condition, and later separators just show the chosen word. You cannot mix AND and OR inside one branch. To express something like *(A AND B) OR C*, split it into two branches with the same action: ```text theme={"dark"} IF A AND B THEN Set Tier = "Gold" ELSE IF C THEN Set Tier = "Gold" ``` ## Actions Actions are the THEN part of a branch. Click **Add Action** to perform several actions when a branch matches. Extra actions have an **×** to remove them. ### In a Data Transform | Action | What it does | Fields | | - | - | - | | **Set** | Writes a value into a column | Column, value | | **Clear** | Empties a column's cell | Column | | **Delete row** | Removes the whole row from the import | None | * **Set** requires a value. To blank a cell, use **Clear** instead. * **Delete row** removes the row regardless of any other actions in the same branch. It applies to **Row** rules only. See [Scope](#scope-row-vs-column). * If two actions in the same matching branch set the same column, the later one wins. ### In a Validation Function | Action | What it does | Fields | | - | - | - | | **Flag error on** | Marks a cell as invalid and shows your message to the user | Column, error message | * The error message is required and is shown exactly as you type it, so make it clear and actionable. * A branch can flag several columns at once by adding more actions. * Flagged cells are reported to the user during the review step so they can fix the data. ## Scope: Row vs. Column Each rule has a **scope**, chosen with the Row / Column selector next to the builder. | Scope | Behavior | Typical use | | - | - | - | | **Row** | The rule runs once for each row and sees that row's cells | Almost everything: defaults, standardizing values, removing rows, cell-level errors | | **Column** | The rule runs down the data row by row, with the full set of columns available, and returns results per column. Validation errors include the row number | Rules that are applied uniformly across a column | * **Delete row** is only meaningful in Row scope. It does nothing in Column scope. * Switching scope after building a rule keeps your rule and just changes how it is applied. * If you are unsure, use **Row**. ## How conditions read data * Conditions always look at the **original** values of the row, not values that earlier actions have set. * Within a single rule, a **Set** in one branch never affects the conditions of another branch. Because only one branch runs anyway, this rarely matters, but it does mean you cannot write *"set A, then check A"* in one rule. * To act on a changed value, create a **second** transform function. Functions run in sequence. ## Example rules ### Data Transform examples **Set a default value** Fill in a value when the cell is blank. ```text theme={"dark"} IF Currency is empty THEN Set Currency = "USD" ``` **Standardize values** Because comparisons ignore case by default, both `Y` and `y` are matched by the first branch. ```text theme={"dark"} IF Status equals "Y" THEN Set Status = "Active" ELSE IF Status equals "N" THEN Set Status = "Inactive" ELSE THEN Set Status = "Unknown" ``` **Remove unwanted rows** Set **Match with** to **OR**. ```text theme={"dark"} IF Email is empty OR Email contains "test@" THEN Delete row ``` **Multiple conditions** Run several actions when all conditions are true. ```text theme={"dark"} IF Country equals "US" AND Order Total >= 1000 THEN Set Shipping = "Free" Set Priority = "High" ELSE THEN Set Shipping = "Standard" ``` **Clear dependent data** Empty a cell that no longer applies. ```text theme={"dark"} IF Subscribed equals "No" THEN Clear Subscription Plan ``` **Tiered rules** Order matters: put the most specific (highest) threshold first, because only the first match runs. ```text theme={"dark"} IF Order Total >= 5000 THEN Set Tier = "Platinum" ELSE IF Order Total >= 1000 THEN Set Tier = "Gold" ELSE IF Order Total >= 100 THEN Set Tier = "Silver" ELSE THEN Set Tier = "Standard" ``` ### Validation Function examples **Basic validation** Flag a cell that fails a simple check. ```text theme={"dark"} IF Age < 18 THEN Flag error on Age: "Customer must be 18 or older" ``` **Cross-column validation** Make a column mandatory based on the value in another column. ```text theme={"dark"} IF Payment Method equals "Card" AND Card Number is empty THEN Flag error on Card Number: "Card number is required for card payments" ``` **Several errors from one condition** Flag more than one column from the same branch. ```text theme={"dark"} IF Shipping Type equals "Express" AND Phone is empty THEN Flag error on Phone: "Phone number is required for express shipping" Flag error on Shipping Type: "Express shipping needs a contact number" ``` ## Saving and error checking * Required fields are checked when you click **Save**. Anything missing is outlined in red with a message under that row, and the first problem is scrolled into view. After the first save attempt the checks update live as you type. * The rule is verified again on the server before it is stored. If something invalid gets through (for example, an unsupported combination), you see a message listing what is wrong. * Function names are required. The builder checks this at the same time. * In the list of functions, each visual rule is shown as a one-line summary, for example, `IF Country == 'US' → Set Currency = 'USD'; ELSE → Set Currency = 'EUR'`. Long summaries and long values are shortened with `…` (80 characters overall). ## Visual vs. Code mode Every function has a **builder mode**: | Mode | When to use it | | - | - | | **Visual** | Rules that fit IF / ELSE IF / ELSE with the operators above. Easiest to read and maintain | | **Code** | Anything more advanced: loops, regular expressions, string manipulation, lookups, calling helper logic | * When you save a visual rule, CSVbox generates JavaScript from it automatically and stores both the visual definition and the generated code. * The generated code is marked with a comment: *"Generated by the If/Then builder — edits here will be overwritten."* * If you need to customize the logic beyond the builder, copy the generated code into a new function in Code mode and keep it separate from the visual rule. > [!WARNING] > > Changes made to the generated code are **replaced** the next time the visual rule is saved. ## Best practices * **Start with the most specific rule.** Only the first matching branch runs, so order branches from narrowest to broadest. * **Always consider an ELSE.** It catches everything the other branches did not, which is useful for defaults and for flagging unexpected values. * **Use a Validation Function for "should be" and a Data Transform for "make it".** Do not silently rewrite data that a user should correct themselves. * **Keep each rule focused.** Several small functions are easier to understand than one rule with ten branches. * **Use clear error messages.** Say what is wrong and what a valid value looks like. * **Test with a small file** containing a row for each branch, including edge cases (empty cells, extra spaces, different capitalization). ## Troubleshooting | What you see | Cause | Fix | | - | - | - | | `Select a column.` | A condition or action has no column chosen | Choose a column in the highlighted row | | `Enter a value, or choose "is empty" to check for blanks.` | A comparison value was left blank | Type a value, or switch the operator to `is empty` or `is not empty` | | `Enter a value, or choose "Clear" to blank the cell.` | A **Set** action has no value | Type a value, or change the action to **Clear** | | `Error message is required.` | A **Flag error on** action has no message | Write the message users should see | | `The … field is required.` | The function name is empty | Enter a name | | **Add Else If** / **Add Else** are grayed out | An ELSE already exists, or the 10-branch limit is reached | Remove a branch, or merge rules | | A branch never runs | An earlier branch matches the same rows | Reorder branches so the more specific rule is first | | A Match case rule does not match | Different capitalization or stray spaces in the data | Untick **Match case**, or clean the data first | | A number comparison is never true | The cell is not numeric (`$1,200`, `n/a`) | Clean the value with a Data Transform before comparing | | Edits to the generated code disappeared | The visual rule was saved again | Move custom logic to a Code mode function | # Import Links Source: https://help.csvbox.io/advanced-installation/import-links Share a no-code import link to accept spreadsheet files from your users without a website or an app. Import Links let you accept files from your users without a website or an app. Create an import page in a few clicks and share the link with your users, with no code required. It's an alternative to the import button that you set up by adding the integration code. ## Find the import link After you create a sheet, go to the **Code** tab on the **Edit Sheet** page. The sheet's import link appears below the integration code. It looks like this: ```javascript theme={"dark"} https://app.csvbox.io/upload/2gzJa5YO3QPLYK6Bj7Qmq5bpbFqXno?user_id=default123 ``` Share this link with your users to start collecting spreadsheets. ## Referencing the user in the import links Configure the query parameters in the link to identify users and match them with their imports. Add up to 5 query parameters with custom user attributes that identify the users in your platform. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `&key=value` format. For example: ```javascript theme={"dark"} https://app.csvbox.io/upload/2gzJa5YO3QPLYK6Bj7Qmq5bpbFqXno?user_id=1a2b3c4d5e6f&team_id=sales2&isAuthenticated=true&permissionLevel=admin&email=abc@example.com ``` ## Activating import links Activate or deactivate import links in the sheet settings: go to the **Sheet Edit** page → **Options** tab → **Import Links**, and select **Activate** or **Deactivate** in the dropdown. ![Import Links dropdown in the sheet Options tab](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/import-links-activation.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=10dd18849c473e374e6741dbaf487bfb) Activate Import Links If import links are deactivated, users see a **File imports disabled** message instead of the importer. # CSVbox MCP Server Source: https://help.csvbox.io/advanced-installation/mcp-server Create, validate, and update CSVbox sheets from any MCP client, such as Claude Desktop, Cursor, or VS Code, using plain-language prompts. The CSVbox MCP server exposes importer sheet management as tools that any [Model Context Protocol](https://modelcontextprotocol.io/) client can call directly. Claude Desktop, Cursor, Windsurf, Roo Code, Cline, and VS Code all work identically over one stdio transport. Instead of hand-writing JSON against the CSVbox REST API, describe the importer you want in plain language and let your AI client create, validate, and push a compliant CSVbox schema for you. | Property | Value | | - | - | | **Package** | `@csvbox/mcp-server` | | **Executable** | `csvbox-mcp-server` | | **Transport** | stdio | | **Tools / Prompts** | 9 tools · 2 prompts | | **Requires** | Node.js ≥ 18 | | **License** | MIT | | **Source** | [github.com/csvbox-io/csvbox-mcp-server](https://github.com/csvbox-io/csvbox-mcp-server) | | **Package registry** | [npmjs.com/package/@csvbox/mcp-server](https://www.npmjs.com/package/@csvbox/mcp-server) | > [!NOTE] > > CSVbox handles the CSV/XLSX import widget your app embeds. This server handles the *configuration* side: the importer sheet that defines columns, validation, destinations, and webhooks. ## Installation No local install is required. Every supported client can run the server directly with `npx`: ```json theme={"dark"} { "mcpServers": { "csvbox": { "command": "npx", "args": ["-y", "--package=@csvbox/mcp-server", "csvbox-mcp-server"], "env": { "CSVBOX_API_KEY": "your_api_key", "CSVBOX_API_SECRET": "your_api_secret" } } } } ``` Or install it locally: ```bash theme={"dark"} npm install @csvbox/mcp-server ``` The config block above is identical across clients. Only the file it goes in changes: | Client | Config file | | - | - | | Claude Desktop | Claude Desktop MCP settings | | Cursor | `~/.cursor/mcp.json` (or per-project `.cursor/mcp.json`) | | Windsurf | `~/.codeium/windsurf/mcp_config.json` | | Roo Code | `mcp_settings.json` | | Cline | `cline_mcp_settings.json` | | VS Code | `.vscode/mcp.json`. The top-level key is `"servers"`, not `"mcpServers"`. | ### Environment variables | Variable | Required for | | - | - | | `CSVBOX_API_KEY` | All CSVbox API-backed tools | | `CSVBOX_API_SECRET` | All CSVbox API-backed tools | | `ANTHROPIC_API_KEY` | Server-side schema generation using Claude models | | `OPENAI_API_KEY` | Server-side schema generation using OpenAI models | | `LLM_PROVIDER` | Disambiguates when both LLM keys are set | | `LLM_MODEL` | Overrides the default model. Recommended for 100+ column schemas. | > [!NOTE] > > `CSVBOX_API_KEY` and `CSVBOX_API_SECRET` are only required for the API-backed tools (`create_sheet`, `update_sheet`, `patch_sheet`, `create_importer_from_prompt`, `submit_file`). `validate_schema` and `generate_import_code` run with no credentials at all. You don't need an LLM API key to use the server. Without one, the `create_csvbox_sheet` and `csvbox_sheet_functions` prompts hand schema generation to your AI client's own model, for free and with no server-side key. ## Tools | Tool | Purpose | API call | | - | - | - | | `create_sheet` | Create a CSVbox sheet | `POST /1.1/sheet` | | `update_sheet` | Replace an existing sheet (PUT semantics) | `PUT /1.1/sheet/{key}` | | `patch_sheet` | Partially update a sheet (merge semantics) | `PATCH /1.1/sheet/{key}` | | `generate_sheet_json` | Natural-language prompt → complete sheet JSON | LLM only, no API call | | `create_importer_from_prompt` | Prompt → validate → create, in one call | `POST /1.1/sheet` | | `generate_import_code` | Integration snippet for vanilla-js / React / Vue / Angular | None | | `generate_sheet_functions` | Prompt → virtual columns, validation functions, data transforms | LLM only, no API call | | `validate_schema` | Local schema validation against CSVbox's rules | None | | `submit_file` | Submit a file for import, by URL or direct upload | `POST /1.1/file` | > [!NOTE] > > There are no `get_sheet` or `list_sheet` tools. The CSVbox API itself has no GET or LIST endpoints for sheets. ### update\_sheet vs. patch\_sheet | | `update_sheet` (PUT) | `patch_sheet` (PATCH) | | - | - | - | | Collection sent | **Authoritative**: items not named are deleted | **Merged**: items not named are untouched | | `"virtual_columns": []` | Deletes all existing virtual columns | No-op | | Key omitted entirely | Untouched | Untouched | | `_delete: true` on an item | Not valid | Removes that one item, leaves the rest | Default to `patch_sheet` for incremental changes. Validate with the matching `mode` (`create`, `put`, or `patch`) before applying. ### submit\_file Calls `POST /1.1/file` with either a `public_file_url` or a base64-encoded upload. The base64 payload is decoded server-side into a true `multipart/form-data` part before it reaches CSVbox. It is never sent to CSVbox as base64 text. ## MCP prompts Two prompts hand schema generation to your AI client's own model instead of the server's. This is useful when no server-side LLM key is configured. | Prompt | Purpose | | - | - | | `create_csvbox_sheet` | Guides the client's LLM to build a complete CSVbox sheet, key-free | | `csvbox_sheet_functions` | Guides the client's LLM to author virtual columns, validation functions, and data transforms, key-free | ## Prompt-to-sheet generation `generate_sheet_json` and `create_importer_from_prompt` turn a free-form request into a complete sheet: title, columns, destinations, webhooks, security settings, and steps. Only real data fields become columns. Destination, domain, region, and file-type settings are routed to their own config sections and never mistaken for columns. ### Generation tiers Generation resolves through three tiers, in order: 1. **Server LLM**: if `ANTHROPIC_API_KEY` or `OPENAI_API_KEY` is set, the server calls the model directly. Usage is billed to your own API key. 2. **MCP prompt**: with no server key, the host client (Cursor, Claude Desktop, Cline, etc.) runs generation with its own model, then calls `validate_schema` and `create_sheet`. Free. 3. **None**: with no LLM anywhere, the server returns a structured error pointing at the MCP prompt. The CSVbox API is never called. ### Extraction vs. expansion mode * **Extraction mode** (default): the prompt names concrete fields, for example *"columns name, email, phone"*, and only those become columns. Nothing is invented. * **Expansion mode**: triggered by a named business module, a request for a "comprehensive" schema, or an explicit column-count floor. Each module (for example, *Suppliers*) expands into realistic, prefixed columns (`supplier_id`, `supplier_gstin`, …), with every name kept globally unique. For 100+ column schemas, override the default cheap model (`claude-haiku-4-5` / `gpt-4o-mini`) with a stronger one via `LLM_MODEL`. Oversized output is flagged `TRUNCATED` rather than silently truncated or mis-parsed, and the CSVbox API is not called in that case. ### Column type mapping Field names and requested types are mapped to CSVbox column types automatically: | Field pattern | Column type | Validators | | - | - | - | | Dropdown / status / fixed category | `list` | `values: [...]` | | Percentage | `number` | `min_value: 0`, `max_value: 100` | | Quantity / cost / age (positive) | `number` | `min_value: 0` | | Email | `email` | — | | Phone / mobile | `phone_number` | — | | URL / website | `url` | — | | Price / salary / amount | `currency` | — | | Date fields | `date` | `format: "YYYY-MM-DD"` | | Boolean / `is_*` | `boolean` | — | | GST / GSTIN / tax id | `regex` | GSTIN pattern | | Indian PIN code | `regex` | `^[1-9][0-9]{5}$` | ### Supported column types `text` · `number` · `email` · `date` · `time` · `boolean` · `regex` · `ip` · `url` · `credit_card` · `phone_number` · `currency` · `list` · `dependent_list` · `dynamic_list` · `dependent_dynamic_list` · `multiselect_list` · `multiselect_dynamic_list` ## Function collections Beyond the core sheet properties, CSVbox accepts three collections whose items carry a `js_code` string that CSVbox executes **during a real import**: | Collection | Identified by | Max items | `js_code` must | | - | - | - | - | | `virtual_columns` | `column_name` | 20 | Return the computed cell value | | `validation_functions` | `function_name` | 10 | Return an array of error strings (`[]` = valid) | | `data_transforms` | `transform_name` | 10 | Mutate the `csvbox` object and return it | Inside `js_code`, the `csvbox` object exposes `row`, `column`, `virtual`, `user`, `import`, and `environment`. A virtual column reads `csvbox.row.` (one row, a scalar). A column-scoped function reads `csvbox.column.` (the whole column, an array). The two are not interchangeable. > [!WARNING] > > The MCP server never executes `js_code`. Here it's an opaque, unreviewed string that only runs later inside CSVbox. Read generated code before applying it with `patch_sheet`. ### Third-party scripts An item may load up to five third-party scripts, restricted to a fixed CDN allowlist: ```json theme={"dark"} { "url": "https://cdn.jsdelivr.net/npm/dayjs@1.11.10/dayjs.min.js", "globals": ["dayjs"], "integrity": "sha384-..." } ``` Allowed hosts: `cdn.jsdelivr.net`, `unpkg.com`, `cdnjs.cloudflare.com`. HTTPS only, `.js`/`.mjs` path, and no query string, fragment, userinfo, or port. > [!WARNING] > > A dependency without an `integrity` digest can change under your users at any time. `validate_schema` warns when one is missing. ## FAQ > **Do I need an LLM API key to use it?** > > No. Without one, the `create_csvbox_sheet` and `csvbox_sheet_functions` prompts hand generation to the host client's own model, for free and with no server-side key required. > **What's the difference between update\_sheet and patch\_sheet?** > > `update_sheet` is a destructive PUT: anything not named in a collection gets deleted. `patch_sheet` merges and supports a per-item `_delete` flag. Default to `patch_sheet` for incremental changes. > **Is the generated js\_code executed by the MCP server?** > > No. It's treated as an opaque string and only runs later, inside CSVbox, during a real import. Read it before applying it with `patch_sheet`. > **How many tools does it expose?** > > Nine tools and two MCP prompts. There's no `get_sheet` or `list_sheet`, because the CSVbox API itself has no GET or LIST endpoints for sheets. > **How do I install it?** > > Run `npm install @csvbox/mcp-server`, or point any MCP client at `npx --package=@csvbox/mcp-server csvbox-mcp-server` with no local install at all. > **Can it submit files directly, not just configure the importer?** > > Yes. `submit_file` calls `POST /1.1/file` with either a public file URL or a base64 upload, decoded server-side into true multipart binary before it reaches CSVbox. ## Resources MIT licensed · `@csvbox/mcp-server` · [Source on GitHub](https://github.com/csvbox-io/csvbox-mcp-server) · [npm](https://www.npmjs.com/package/@csvbox/mcp-server) · [csvbox.io](https://csvbox.io/) · [modelcontextprotocol.io](https://modelcontextprotocol.io/) # REST File API Source: https://help.csvbox.io/advanced-installation/rest-file-api Submit spreadsheet files to CSVbox programmatically with the REST File API. The File API lets you accept spreadsheet files programmatically, as an alternative to users uploading files manually through the CSVbox importer. Files submitted through the REST File API are pushed to the data destination set up in the CSVbox dashboard. ## Simple File API request ```javascript theme={"dark"} curl --location --request POST 'https://api.csvbox.io/1.1/file' \ --header 'x-csvbox-api-key: CSBxRLHgIZv3bqMlrJiVKXhKwtcHSv' \ --header 'Content-Type: application/json' \ --data-raw '{ "import": { "public_file_url": "https://some-domain.com/file/3434as.csv", "sheet_license_key": "jhkjsahjkhkjhkjhkjasdasd", "user": { "user_id": "1a2b3c4d5e6f" }, "options": { "has_header": 1 } } }' ``` After the data is pushed to the destination, the [import complete webhook](/getting-started/3-receive-data#import-complete-webhook) can be triggered as configured in the sheet settings. > [!WARNING] > > Spreadsheet data submitted through the File API is not [validated](/dashboard-settings/validations) against the rules configured in the sheet settings. The importer attempts to push the data directly to the destination in raw form. ## Authentication All REST File API queries require a valid API key. You can find the API key on the **Accounts** page in the CSVbox dashboard. Include your API key as an `x-csvbox-api-key` header on all API queries. ## Endpoint Submits a spreadsheet file. ```text theme={"dark"} POST https://api.csvbox.io/1.1/file ``` ### Headers | Name | Type | Required | Description | | - | - | - | - | | `x-csvbox-api-key` | String | Yes | API Key | | `content-type` | String | Yes | `application/json` | ### Request body | Name | Type | Required | Description | | - | - | - | - | | `import.public_file_url` | String | Yes | The public URL of the spreadsheet that is to be submitted. | | `import.file_sheet_name` | String | No | Worksheet name in case of a file having multiple tabs. | | `import.sheet_license_key` | String | Yes | Sheet license key | | `import` | Object | Yes | Import file data | | `import.user` | Object | No | Object [referencing the user](/getting-started/2-install-code#referencing-the-user) | | `import.options` | Object | No | Object [referencing the import options](/advanced-installation/rest-file-api#options) | | `import.dynamic_columns` | Object | No | Object [referencing dynamic columns](/advanced-installation/dynamic-columns) | > [!WARNING] > > The columns in the file must be in the same order as configured in the sheet template, and the column names must match exactly. To have the importer auto-map the columns, set `options.auto_map` to `true`. ### Response **200 OK**: File submitted. ```javascript 200 OK theme={"dark"} HTTP/1.1 200 OK { "import_id": 79418895, "license_key":"jhkjsahjkhkjhkjhkjasdasd", "sheet_id": 575, "sheet_name": "Products Import", "destination_type": "webhook", "import_starttime": 87987897897, "custom_fields": { "user_id": "1a2b3c4d5e6f", "team_id": "sales2", "permissionLevel": "admin" }, "options": { "max_rows": 150, "has_header": 1, "auto_map": true }, "dynamic_columns": [ { "column_name": "qualification", "display_label": "Highest Qualification", "info_hint": "What is your highest educational degree", "matching_keywords": "degree, education", "type": "text", "validators": { "min_length": 2, "max_length": 50 }, "required": true }, { "column_name": "experience", "display_label": "Work Experience", "info_hint": "Years of work experience", "matching_keywords": "", "type": "number", "validators": { "min_value": 0, "max_value": 100 }, "required": false } ] } ``` ### Example request ```javascript cURL theme={"dark"} curl --location --request POST 'https://api.csvbox.io/1.1/file' \ --header 'x-csvbox-api-key: CSBxRLHgIZv3bqMlrJiVKXhKwtcHSv' \ --header 'Content-Type: application/json' \ --data-raw '{ "import": { "public_file_url": "https://some-domain.com/admin/download-csv/UXOR2MphpEu2sSAIISpY7AKmOIzAKygLNy8eviEr", "sheet_license_key": "jhkjsahjkhkjhkjhkjasdasd", "user": { "user_id": "1a2b3c4d5e6f", "team_id": "sales2", "permissionLevel": "admin" }, "options": { "max_rows": 150, "has_header": 1, "auto_map": true }, "dynamic_columns": [ { "column_name": "qualification", "display_label": "HighestQualification", "info_hint": "Whatisyourhighesteducationaldegree", "matching_keywords": "degree, education", "type": "text", "validators": { "min_length": 2, "max_length": 50 }, "required": true }, { "column_name": "experience", "display_label": "WorkExperience", "info_hint": "Yearsofworkexperience", "matching_keywords": "", "type": "number", "validators": { "min_value": 0, "max_value": 100 }, "required": false } ] } }' ``` ```javascript jQuery theme={"dark"} var settings = { "url": "https://api.csvbox.io/1.1/file", "method": "POST", "timeout": 0, "headers": { "x-csvbox-api-key": "CSBxRLHgIZv3bqMlrJiVKXhKwtcHSv", "Content-Type": "application/json" }, "data": "{\r\n \"import\": {\r\n \"public_file_url\": \"https://some-domain.com/admin/download-csv/UXOR2MphpEu2sSAIISpY7AKmOIzAKygLNy8eviEr\",\r\n \"sheet_license_key\": \"jhkjsahjkhkjhkjhkjasdasd\",\r\n \"user\": {\r\n \"user_id\": \"1a2b3c4d5e6f\",\r\n \"team_id\": \"sales2\",\r\n \"permissionLevel\": \"admin\"\r\n },\r\n \"options\": {\r\n \"max_rows\": 150,\r\n \"has_header\": \"1\"\r\n },\r\n \"dynamic_columns\": [\r\n {\r\n \"column_name\": \"qualification\",\r\n \"display_label\": \"HighestQualification\",\r\n \"info_hint\": \"Whatisyourhighesteducationaldegree\",\r\n \"matching_keywords\": \"degree, education\",\r\n \"type\": \"text\",\r\n \"validators\": {\r\n \"min_length\": 2,\r\n \"max_length\": 50\r\n },\r\n \"required\": true\r\n },\r\n {\r\n \"column_name\": \"experience\",\r\n \"display_label\": \"WorkExperience\",\r\n \"info_hint\": \"Yearsofworkexperience\",\r\n \"matching_keywords\": \"\",\r\n \"type\": \"number\",\r\n \"validators\": {\r\n \"min_value\": 0,\r\n \"max_value\": 100\r\n },\r\n \"required\": false\r\n }\r\n ]\r\n }\r\n}", }; $.ajax(settings).done(function (response) { console.log(response); }); ``` ```php PHP theme={"dark"} 'https://api.csvbox.io/1.1/file', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'{ "import": { "public_file_url": "https://some-domain.com/admin/download-csv/UXOR2MphpEu2sSAIISpY7AKmOIzAKygLNy8eviEr", "sheet_license_key": "jhkjsahjkhkjhkjhkjasdasd", "user": { "user_id": "1a2b3c4d5e6f", "team_id": "sales2", "permissionLevel": "admin" }, "options": { "max_rows": 150, "has_header": 1 }, "dynamic_columns": [ { "column_name": "qualification", "display_label": "HighestQualification", "info_hint": "Whatisyourhighesteducationaldegree", "matching_keywords": "degree, education", "type": "text", "validators": { "min_length": 2, "max_length": 50 }, "required": true }, { "column_name": "experience", "display_label": "WorkExperience", "info_hint": "Yearsofworkexperience", "matching_keywords": "", "type": "number", "validators": { "min_value": 0, "max_value": 100 }, "required": false } ] } }', CURLOPT_HTTPHEADER => array( 'x-csvbox-api-key: CSBxRLHgIZv3bqMlrJiVKXhKwtcHSv', 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; ``` ```javascript NodeJS theme={"dark"} var axios = require('axios'); var data = '{\r\n "import": {\r\n "public_file_url": "https://some-domain.com/admin/download-csv/UXOR2MphpEu2sSAIISpY7AKmOIzAKygLNy8eviEr",\r\n "sheet_license_key": "jhkjsahjkhkjhkjhkjasdasd",\r\n "user": {\r\n "user_id": "1a2b3c4d5e6f",\r\n "team_id": "sales2",\r\n "permissionLevel": "admin"\r\n },\r\n "options": {\r\n "max_rows": 150,\r\n "has_header": "1"\r\n },\r\n "dynamic_columns": [\r\n {\r\n "column_name": "qualification",\r\n "display_label": "HighestQualification",\r\n "info_hint": "Whatisyourhighesteducationaldegree",\r\n "matching_keywords": "degree, education",\r\n "type": "text",\r\n "validators": {\r\n "min_length": 2,\r\n "max_length": 50\r\n },\r\n "required": true\r\n },\r\n {\r\n "column_name": "experience",\r\n "display_label": "WorkExperience",\r\n "info_hint": "Yearsofworkexperience",\r\n "matching_keywords": "",\r\n "type": "number",\r\n "validators": {\r\n "min_value": 0,\r\n "max_value": 100\r\n },\r\n "required": false\r\n }\r\n ]\r\n }\r\n}'; var config = { method: 'post', url: 'https://api.csvbox.io/1.1/file', headers: { 'x-csvbox-api-key': 'CSBxRLHgIZv3bqMlrJiVKXhKwtcHSv', 'Content-Type': 'application/json' }, data : data }; axios(config) .then(function (response) { console.log(JSON.stringify(response.data)); }) .catch(function (error) { console.log(error); }); ``` ## Direct file upload As an alternative to providing a public file URL, you can upload the file contents directly. Instead of `import.public_file_url`, use the following body parameter. ### Request body | Name | Type | Required | Description | | - | - | - | - | | `import.file` | String | Yes | The contents of the file to be imported. | > [!NOTE] > > Send the file with the `multipart/form-data` content type. ### Example request ```javascript cURL theme={"dark"} curl --location --request POST 'https://api.csvbox.io/1.1/file' \ --header 'x-csvbox-api-key: CSBxRLHgIZv3bqMlrJiVKXhKwtcHSv' \ --header 'Content-Type: multipart/form-data' \ -F 'import={ "sheet_license_key": "jhkjsahjkhkjhkjhkjasdasd", "user": { "user_id": "1a2b3c4d5e6f" }, "options": { "max_rows": 150, "has_header": 1 } }' \ -F 'file=@/path/to/your/file.csv' ``` ## Rate limits The REST File API supports a limit of 30 requests per minute. This allotment replenishes at a rate of 2 requests per second. Past the limit, the API returns a `429 Too Many Requests` error. All REST API responses include the `x-csvbox-file-api-call-limit` header, which shows how many requests the client has made and the total number allowed per minute. A `429` response also includes a `retry-after` header with the number of seconds to wait before retrying your query. ## Status and error codes All API queries return HTTP status codes that tell you more about the response. ### 401 Unauthorized The client doesn't have the correct authentication credentials. ``` HTTP/1.1 401 Unauthorized { "errors": "[API] Invalid API key or access token." } ``` ### 402 Import Limit Reached The monthly import limit for the account plan is reached. Upgrade the plan to increase the import limit. ``` HTTP/1.1 402 Import Limit Reached { "errors": "The account has exceeded the import limit." } ``` ### 403 Forbidden The server is refusing to respond. This is typically caused by the File API being disabled. ``` HTTP/1.1 403 Access Denied { "errors": "User does not have access." } ``` ### 404 Not Found The referenced sheet was not found. ``` HTTP/1.1 404 Not Found { "errors": "Sheet not found." } ``` ### 422 Unprocessable File The request body contains file errors. Typical causes are an incorrect file path, invalid file permissions, an incorrect file format, a corrupt file, or a file size that's too large. ``` HTTP/1.1 422 Unprocessable File { "errors": "Invalid file format." } ``` ### 429 Too Many Requests The client has exceeded the [rate limit](/advanced-installation/rest-file-api#rate-limits). ``` HTTP/1.1 429 Too Many Requests { "errors": "API Rate limit reached. Reduce request rates to resume uninterrupted service." } ``` ### 5xx errors An internal error occurred in CSVbox. Report such errors to our team. ``` HTTP/1.1 500 Internal Server Error { "errors": "An unexpected error occurred." } ``` ## Options The following additional configuration options are available with the File API. ### max\_rows * **Type**: Integer * **Default**: Null * **Description**: The maximum number of rows to import. ### has\_header * **Type**: Boolean * **Default**: `0` * **Description**: Specify whether the file contains a header row. Acceptable values are `0` (no header) and `1` (has a header row). ### auto\_map * **Type**: Boolean * **Default**: `false` * **Description**: Enable automatic column mapping in cases where an exact match is not found. # Server-Side Validation Source: https://help.csvbox.io/advanced-installation/server-side-validation Validate submitted data at your server and report errors back to users for correction and re-upload. Server-side validation checks incoming data against your own business rules on your server, then relays any errors back to the importer. The check can be as simple as verifying that a user ID exists in your database, or something more complex that involves custom logic. Users then fix the errors and re-submit the data. ## How it works ![Server-side validation flow between the importer and your API](https://mintcdn.com/csvbox-io/uXP6QLcxo36EECZb/images/external-validation-1.png?fit=max\&auto=format\&n=uXP6QLcxo36EECZb\&q=85\&s=594e2a3ff3cd0d2843c6e548bd64f53f) Server Side Validation **1. Activate server-side validation in the sheet settings** Go to **Edit Sheet** → **Destination** tab → enable **Server Side Validation**. ![Server Side Validation toggle in the Destination tab](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/server-side-button.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=f56c16bf81dbbdfe597ff61879701700) Activate Server Side Validation > [!WARNING] > > The External Validation option is available only for the [API data destination](/destinations#api--webhook). **2. Users upload and submit the spreadsheet** Users upload the spreadsheet, map columns, verify data, and then submit. **3. The importer pushes the data to your API endpoint** The importer sends the spreadsheet data via `POST` requests with JSON values to the API endpoint you configured. The request schema is available [here](/destinations/api-webhook#sample-json-post-to-your-api). **4. Your app processes and validates the data** Your app validates the data against your business rules: * **Validation succeeds (no errors found)**: your API returns a `200` HTTP response code, and the user sees the success screen. * **Validation fails (one or more errors found)**: your API returns a `211` HTTP response code along with the validation errors in JSON format. See the [error response format](/advanced-installation/server-side-validation#error-types). > [!WARNING] > > Your API must return the `211` HTTP response status code to tell the CSVbox importer that there are one or more server-side validation errors. > > To view the results screen, configure the CSVbox Results Page settings: go to **Sheet Settings** → **Display** → **Results Page** and set **Closing the import dialog box** to **Do not close on import complete**. ![Results Page setting set to Do not close on import complete](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/do-not-close.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=fbac9fe16426d22b510b04b68a63e6e6) **5. Users see the validation fail screen** If there are one or more server-side validation errors, users see the fail screen with a button to view the errors. **6. Users view the validation errors** Clicking the **Errors** button takes users to the Verify Data screen with all the server-side errors displayed. **7. Users fix the errors and re-submit the data** On re-submit, the process repeats: the importer pushes the data to your API endpoint via `POST` requests and looks for errors in the response. > [!NOTE] > > Each re-submit is treated as a fresh import with a new `Import_Id`. To let users re-submit all the rows (instead of only the error rows), select the **All Rows** option as shown below: ![All Rows re-submit option](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/ssv.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=0814776dbe1dcf918d2e4726732d7fb8) Re-submit All Rows ## Error types CSVbox server-side validation supports the following error types: * **table**: Shows high-level or common errors that apply to the entire upload. Renders as a dismissible alert above the grid. * **row**: Shows errors that apply to a whole row, not a specific cell. Renders as a red badge on the row number; clicking it opens a pop-up with the message. * **column**: Shows validation errors that apply to an entire column. Use these when the issue is with the column itself rather than with any individual row or cell. * **cell**: The previous behavior; highlights an individual cell with an inline message. This documentation refers to these as "cell errors." ### UI behavior * **Table errors** appear in a prominent alert banner above the grid until dismissed or replaced by a subsequent validation run. * **Row errors** highlight the row index with a red badge. Clicking the badge opens a pop-over containing your `message`. * **Column errors** highlight the column name with a red badge. Clicking the badge opens a pop-over containing your `message`. * **Cell errors** continue to highlight individual cells with inline messages as before. ### When to use each type * **table**: Missing required columns, inconsistent file format, duplicate file, or any condition that makes the whole dataset invalid. * **row**: Cross-field checks within the same row (for example, "End Date must be after Start Date"), referential issues that aren't tied to a single column, or row-level business rules. * **column**: Issues that apply to a full column rather than to one cell or row (for example, an invalid column name, or a required column with an incorrect format or configuration). * **cell**: Format, length, or pattern errors, disallowed values, or any validation that is clearly attributable to one column. ## Response format JSON CSVbox expects the validation endpoint to return an array of error objects. ### Fields | Parameter | Type | Description | | - | - | - | | `type` | string | `"table"`, `"row"`, `"column"`, or `"cell"`. Defaults to `"cell"`. (Optional) | | `row_id` | integer | The row number of the error. Starts with 1. (Required for `row` and `cell`) | | `column` | string | The CSVbox [column name](/sheet-settings/columns#column-name) (the field you mapped), not the user's original header. It is case-sensitive. (Required for `column` and `cell`) | | `message` | string | String to display to the user. Basic HTML line breaks like `
` are supported. | ### Example payload ```json theme={"dark"} [ { "type": "table", "message": "Missing address.
Missing department.
Resubmit." }, { "type": "cell", "row_id": 1, "column": "employee_id", "message": "Invalid Emp ID" }, { "row_id": 2, "column": "dept", "message": "Department does not exist" }, { "row_id": 3, "column": "employee_name", "message": "Employee's name has changed" }, { "type": "row", "row_id": 3, "message": "Cannot add this row" }, { "type": "column", "column": "employee_id", "message": "Invalid column name" } ] ``` You can mix **table**, **row**, **column**, and **cell** errors in the same response. ## Additional attributes in the client data object When **Server-Side Validation (SSV)** is enabled, the data object received at the client (after submission) includes additional attributes that help you handle validation states programmatically. | Attribute | Description | | - | - | | `ssv_enabled` | Indicates whether Server-Side Validation is active for the current sheet. | | `ssv_fail` | Set to **true** only when the server returns a **211 response code**, meaning the import failed due to SSV errors. | | `ssv_row_fail` | Number of rows that failed during server-side validation. | | `ssv_table_error` | True if a table-level validation error was returned by the server. | Use these attributes to detect and respond to validation outcomes directly from your client application, for example by displaying custom messages, logging failed rows, or triggering retry logic. ### Example response object ```json theme={"dark"} { destination_type: "apiwebhook", env_name: "default", import_description: "", import_endtime: 1762774689, import_id: 12859532, import_starttime: 1762774686, import_status: "success", original_filename: "emp.csv", raw_file: "https://app.csvbox.io/download-rawfile/1-FIIeyMflK9OvAX1EMjncCTlMasuG5Vil35LQNHAQ", row_count: 5, row_fail: 0, row_success: 5, sheet_id: 1058, sheet_name: "Customer onboarding", ssv_enabled: 1, ssv_fail: 1, ssv_row_fail: 3, ssv_table_error: 1 } ``` In this example: * `ssv_enabled` confirms that SSV is active. * `ssv_fail` is `true` because the server responded with a **211** code. * `ssv_row_fail` specifies the number of failed rows. * `ssv_table_error` is `false`, meaning the issue was at the row level rather than a table-level error. # Sheet API Source: https://help.csvbox.io/advanced-installation/sheet-api Create and manage CSVbox sheets and their column configurations programmatically. The Sheet API lets you create and manage CSVbox sheets and their column configurations programmatically, instead of only through the dashboard. ## Authentication All Sheet API requests require both of these headers. You can find the keys on the **API Keys** page of the CSVbox dashboard. For more details, see the [Auth API](/advanced-installation/auth-api) page. | Header | Value | | - | - | | `x-csvbox-api-key` | Your API key | | `x-csvbox-secret-api-key` | Your secret API key | > [!WARNING] > > Never expose your secret key in browser-side code. Call the Sheet API from your backend. ## Checkbox display for Boolean columns To show a Boolean column as a checkbox on the **Verify Data** step, set `render_as_checkbox` in the column's `validators`: ```json theme={"dark"} { "column_name": "Is Active", "data_type": "Boolean", "validators": { "render_as_checkbox": true } } ``` The setting is returned when you get a sheet, so you can read a sheet and send it back without losing it. The values `"false"`, `"0"`, and `"off"` count as off. `required` is always set to `false` for a checkbox column, even if you send `true`. See [Display as checkbox](/dashboard-settings/validations#display-as-checkbox) for how values are converted. ## Endpoints > **[List sheets](/advanced-installation/sheet-api/list-sheets)** > > `GET /1.1/sheet` > **[Get a sheet](/advanced-installation/sheet-api/get-sheet)** > > `GET /1.1/sheet/{sheet_license_key}` > **[Create a sheet](/advanced-installation/sheet-api/create-sheet)** > > `POST /1.1/sheet` > **[Replace a sheet](/advanced-installation/sheet-api/replace-sheet)** > > `PUT /1.1/sheet/{sheet_license_key}` > **[Update a sheet](/advanced-installation/sheet-api/update-sheet)** > > `PATCH /1.1/sheet/{sheet_license_key}` # Create a sheet Source: https://help.csvbox.io/advanced-installation/sheet-api/create-sheet POST /1.1/sheet Creates a new sheet importer. # Get a sheet Source: https://help.csvbox.io/advanced-installation/sheet-api/get-sheet GET /1.1/sheet/{sheet_license_key} Fetches a single sheet owned by the authenticated API user, looked up by sheet_id or slug (sheet_license_key). # List sheets Source: https://help.csvbox.io/advanced-installation/sheet-api/list-sheets GET /1.1/sheet Returns a paginated list of sheets owned by the authenticated API user. # Replace a sheet Source: https://help.csvbox.io/advanced-installation/sheet-api/replace-sheet PUT /1.1/sheet/{sheet_license_key} Fully updates an existing sheet. All provided fields will overwrite existing values. # Update a sheet Source: https://help.csvbox.io/advanced-installation/sheet-api/update-sheet PATCH /1.1/sheet/{sheet_license_key} Partially updates an existing sheet. Only provided fields will be updated. Fields not included will remain unchanged. # Changelog Source: https://help.csvbox.io/change-log A record of all notable changes made to the application. This page lists notable CSVbox releases, newest first. Each entry links to the documentation for the feature it adds or changes. **October 2026** Google Cloud Storage destination, Security update, Checkbox display for Boolean columns, Sheet Tags, smart date and number formats, If / Else Builder ### Google Cloud Storage destination **Added**: [Google Cloud Storage](/destinations/google-cloud-storage) as a data destination. Send every import to a bucket in your own Google Cloud Storage as a single CSV or JSON file. Connect with a service account JSON key, choose a bucket, optional folder path and file name, and use **Test Connection** to confirm access before saving. ### Security update: PHP dependency vulnerability fixed **October 22, 2026 · 10:00 AM IST** We've fixed a security vulnerability in the PHP framework and libraries that run the CSVBox platform. We updated the affected components to patched versions and deployed them across the platform. * **No action needed.** Your importers, API keys, and destination settings are unchanged and keep working as before. * **No impact found.** We found no sign that this vulnerability was exploited. If you have questions about this update, contact us at [info@csvbox.io](mailto:info@csvbox.io). ### Checkbox display for Boolean columns **Added**: [Display as checkbox](/dashboard-settings/validations#display-as-checkbox) for Boolean columns. Turn on **Display as checkbox** for a Boolean column to show a checkbox in each cell on the Verify Data screen. Every value is converted to `true` or `false` before it is sent to your destination, so the column never shows a validation error. Also available in the Sheet API as `render_as_checkbox`. ### Sheet Tags **Added**: [Sheet Tags](/dashboard-settings/sheet-tags). Attach color-coded tags to your sheets to group them, and filter the Sheets page by one or more tags. Add tags with **+ Tag** on any sheet, and manage them from the **Tags** page. Tags are kept per account and are not copied when a sheet is copied to another team or account. ### Smart date and number formats **Added**: [Smart Date and Number Formats](/dashboard-settings/smart-date-and-number-formats). CSVbox now converts dates and numbers written in different regional formats into the format your column expects, and asks the user once when a value such as `04/05/2024` or `1,234` could be read two ways. Turn it on with **Date correction?** under **Import Steps** → **Verify Data**. ### If / Else Builder **Added**: [If / Else Builder](/advanced-installation/if-else-builder). Build Validation Functions and Data Transforms visually with IF / ELSE IF / ELSE rules, without writing JavaScript. **September 2026** MCP server, importer GET APIs, and 11 new column types ### MCP server **Added**: CSVbox now ships an MCP server. Configure importers by prompting Claude, Cursor, or any MCP client instead of hand-writing schema JSON. ### Importer GET APIs **Added**: GET APIs to retrieve a list of importers and view the complete configuration of a specific importer, with sensitive credentials excluded. ### 11 new column types **Added**: 11 new column types give you more options for validating and normalizing imported data, including **Percentage, IANA Timezone, UPC, EAN, UUID, Domain, Currency Code, Country Code A2, Country Code A3, IMEI, and JSON**. **August 2026** 2M-row files, review table enhancements, AI sheet generation, and more ### Files with up to 2M rows **Added**: CSVbox can now handle files with **up to 2M rows**, making it easier to import and process high-volume datasets without splitting them into smaller batches. ### Spreadsheet review table enhancements **Added**: Column sorting (3-state cycle with numeric-aware ordering), advanced filtering (value/condition operators with multi-column logic), right-click context menus for cells/columns/rows, and full undo/redo support (up to 50 steps). ### Sorting in the upload table **Added**: Sorting support in the upload table. Table rendering was reworked to handle sorted views correctly. ### AI sheet generation **Added**: A new AI-powered feature that lets you **generate a CSVbox sheet and define its columns** simply by describing your requirements. ### Column logic via Sheet API **Added**: Create, update, and manage Validation Functions, Virtual Columns, and Data Transforms via the Sheet API. **July 2026** PDF metadata extraction, Bulk AI Transform, and import UI improvements ### PDF metadata extraction **Added**: Automatically extract metadata fields from uploaded PDF documents. ### Bulk AI Transform **Added**: Run AI-powered transformations across your data in bulk with a single click. ### Trim whitespace for List columns **Updated**: Trim-whitespace support now works on list-type columns, including dynamic columns. ### Improved table and header detection **Updated**: Enhanced OCR header matching, more reliable table merging, and improved text wrapping for wide columns. ### Cleaner upload view **Updated**: Refreshed the upload modal UI with truncated long column names and tooltips for better readability. **June 2026** Neon, OpenAPI, and Xero destinations, Sheets API, and new automation integrations ### Neon destination **Added**: [Neon](https://neon.tech) as a data destination. Push imported data directly to Neon serverless Postgres databases, with built-in credentials management and connection handling. ### OpenAPI destination **Added**: [OpenAPI](/destinations/openapi) specification support as an upload destination type. Point CSVbox to an OpenAPI/Swagger spec URL and it automatically routes import data to your API endpoints. ### Secret key for Sheet API authorization **Added**: Secret key + API key combination for Sheet API authorization, adding an extra layer of security for embedding and API access. ### REST API auto mapping priority **Improved**: REST API `auto_map` now matches columns using the same priority order as the frontend importer: `display_label` first, then `column_name`, then matching keywords. ### Make, Pabbly, and IFTTT integrations **Added**: * CSVbox as an in-app integration in [Make](https://make.com). * CSVbox as an app in [Pabbly](https://www.pabbly.com). * CSVbox as an app in [IFTTT](https://ifttt.com). ### Xero destination **Added**: [Xero](https://www.xero.com/) as a data destination. Automatically push imported data to Xero with secure authentication and simplified connection setup. ### Sheets API **New**: [Sheets API](/advanced-installation/sheet-api). You can now create and manage importer sheets programmatically instead of only through the dashboard. **May 2026** AI Function Generator, split large CSV imports, and AI document import ### AI Function Generator **New**: [AI Function Generator](/dashboard-settings/ai-function-generator). Generate validation functions, virtual columns, data transforms, and regex patterns using plain-language prompts. Describe what you want, and CSVbox generates compatible JavaScript or regex logic automatically. ### Split large CSV file imports **New**: [Split Large CSV File Imports](/dashboard-settings/split-large-csv). CSVbox can now automatically split large CSV files into smaller parts during import for improved reliability and browser performance. Multipart uploads reuse the same column mappings across all parts and are grouped together in the Imports dashboard for easier tracking. ### AI document import **New**: [AI Document Import](/dashboard-settings/ai-document-import) (PDFs, Images & DOCX). You can now import data from PDFs, images, and documents using AI-powered table extraction. **April 2026** Import Analytics and column-level server-side validation errors ### Import Analytics **Added**: [Import Analytics](/dashboard-settings/import-analytics). Get visibility into your import flow with built-in analytics. Track each step, from file upload and header selection to mapping, validation, and final submission. Identify drop-offs, measure completion rates, and uncover top errors so you can improve onboarding and reduce failed imports. Available for Pro plans and higher. ### Column errors in server-side validation **New**: [Server-Side Validation](/advanced-installation/server-side-validation) supports the **column** error type. **February 2026** Sheet import and export, bulk mapping actions, and AI auto column mapping ### Sheet import and export **Added**: Sheet import and export functionality. You can now export sheets from one CSVbox account and import them into another (or duplicate within the same account). * Securely copy sheets using a Sheet License Key and Export Key * Entire sheet configuration is duplicated automatically * Imported sheets receive a new unique license key * Perfect for staging → production workflows and template reuse * More information [here](/dashboard-settings/sheet-options-1#sheet-import--export) ### Bulk actions on the column mapping screen Added **Bulk Actions** to the Column Mapping screen, allowing users to reset all mappings or mark all columns as ignored in a single action. ![Bulk Actions menu on the Column Mapping screen](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-3.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6e1814a495c743204774fb21a0d41fef) ### AI-powered auto column mapping Introduced **AI-powered auto column mapping** within Bulk Actions to automatically map file columns to template fields. **January 2026** Reusable importer styling CSS and richer import metadata ### Download and reuse importer styling **Added**: Custom styling Download and Upload functionality. You can now download your customized importer styling as a CSS file and upload it to another importer to instantly apply the same design. Perfect for maintaining consistent branding across multiple sheets, with no re-styling required. More info [here](/sheet-settings/display#download--reuse-importer-styling-css). ### Import metadata in the admin dashboard **Updated**: The Import screen in the admin dashboard now displays additional metadata for individual imports. **December 2025** New encryption options, UI enhancements, new destinations, quick actions, and new languages ### Environment variable encryption options **Added**: Support for AES-256-GCM and improved AES-CBC (V2) encryption options in Environment Variables for enhanced data security. More information [here](/advanced-installation/environment-variables#encrypting-environment-variables). ### UI enhancements Made several small UI tweaks to make the importer sleeker and more user-friendly. For example, the row filter dropdown (All / Error rows) is now a modern toggle switch, and the search box has been condensed into a search icon that expands on click. ### Pipedream, n8n, and Softr destinations **Added**: * [Pipedream](/destinations/pipedream) as a data destination. * [n8n](/destinations/n8n) as a data destination. * [Softr](/destinations/softr) as a data destination. ### Improved list selection **Improved**: We've added a new **Replace all similar cells** button for **List-type columns**. This allows you to replace **all cells with the same value as the currently selected cell** in one click. Perfect for quickly fixing repeated invalid values and speeding up data verification. ### Quick actions for validation errors **Added**: You can now take faster action on validation errors using the new **Quick Actions** button in the message bar. This provides one-click options to delete all invalid values, replace empty cells, or find and replace values, making it quicker to fix errors without navigating through individual cells. ### New languages **Added**: Newly supported languages include: * Bulgarian (`bg`) * Czech (`cs`) * Hungarian (`hu`) * Ukrainian (`uk`) **November 2025** Supabase and Google BigQuery destinations, Chinese languages, and more ### Supabase destination **Added**: [Supabase](/destinations/supabase) as a data destination. ### Chinese languages Newly supported languages include: * Chinese (Simplified) - `zh-CN` * Chinese (Traditional) - `zh-TW` ### Hide Cancel button **Added**: **Hide Cancel Button** option to hide the Cancel button located at the bottom-right corner of the importer. More information [here](/dashboard-settings/sheet-options-1#hide-cancel-button). ### Server-side validation attributes in the client data **Added**: New client-side attributes (`ssv_enabled`, `ssv_fail`, `ssv_row_fail`, `ssv_table_error`) are now included in the response object when Server-Side Validation is enabled. More information [here](/advanced-installation/server-side-validation#additional-attributes-in-the-client-data-object). ### Google BigQuery destination **Added**: [Google BigQuery](/destinations/google-bigquery) as a data destination. ### Execution time for Data Transforms **Added**: [Execution Time](/sheet-settings/data-transforms#execution-time) option to Data Transforms. You can now choose to run each transform **before** or **after** the Data Validation stage. ![Execution Time option in Data Transforms](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/data-transforms-1.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=bbc18ff87a0b901322b652cb4df07ea1) **09 October 2025** ### Accepted file types Added a new feature allowing users to select accepted file types for uploads. Choose between **CSV**, **XLS**, and **XLSX** formats in your sheet settings. ![Accepted file types setting with CSV, XLS, and XLSX options](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-37.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=16d9ed21fd2241e202703b98a44c0875) **25 September 2025** ### Language support **Added**: We've expanded CSVbox's multilingual capabilities. Newly supported languages include: * Hindi (`hi`) * Bahasa Malaysia (Malay) (`ms`) * Russian (`ru`) * Vietnamese (`vi`) * Korean (`ko`) * Bahasa Indonesia (`id`) * Egyptian Arabic (`ar-EG`) * Urdu (`ur`) **08 September 2025** ### Table and row errors in server-side validation **New**: [Server-Side Validation](/advanced-installation/server-side-validation) supports **table** and **row** error types. **UX**: Table errors render in an alert banner above the grid. Row errors appear as a badge on the row number with a pop-over on click. **API**: You can mix `table`, `row`, and `cell` errors in one response. `type` is optional and defaults to `cell`. **No breaking changes.** **28 August 2025** ### Default header row Added an option to set the default row on the header selection screen. You can now choose which row is pre-selected on the Header Selection step. Also available as an installation parameter: [`default_header_row`](/getting-started/2-install-code#default_header_row). ![Default header row setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-7.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=8959c1f8740a61e6027f5eaac724a98f) **14 August 2025** ### Test API destination Added [**Test API**](/destinations#test-api) destination. It sends spreadsheet data to a unique [`webhooks.csvbox.io`](https://webhooks.csvbox.io/) URL (testing-only). **17 July 2025** ### Custom error messages for regex dynamic columns Added support for custom error messages (via `error_message` validator) for [regex type dynamic columns](/advanced-installation/dynamic-columns#validator-options). ### Excel values for number dynamic columns You can now use the `excel_value` validator with number-type dynamic columns to control whether to import **raw** or **formatted** values from Excel. **16 July 2025** ### Environment variable support for APIs You can now use environment variables in: 1. Dynamic List API 2. Multi-select Dynamic List API 3. Success Message API 4. Failed Message API 5. Custom headers for all the above This makes it easier to manage configuration across environments. ![Environment variables used in an API URL](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sleekshot-1.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=e371c307b7829fd0803a5bd391d17aae) **08 July 2025** ### Dark themes The importer now supports **dark** and **custom dark** themes for a better user experience. ### Theme installation option Added a [`theme`](/getting-started/2-install-code#theme) selection option in the installation code for applying the theme at runtime. **12 June 2025** ### Excel value formatting options Added **Excel Value Formatting Options**. Choose how numeric values are imported: * **Formatted**: As shown in Excel (e.g., "\$1,200.00", "15%"). * **RAW**: Strips formatting for clean numbers (e.g., 1200, 0.15). Ideal for better control in calculations and validations. More info [here](/dashboard-settings/validations#number). **20 May 2025** ### MongoDB destination Added MongoDB as a data destination. **29 April 2025** ### AI bulk transformations Introduced **AI Bulk Transformations**, allowing users to apply AI-driven changes to uploaded data using natural language prompts, all directly in the importer. Supports multi-language input, column-level modifications, and ensures complete privacy with no external data sharing. More information [here](/dashboard-settings/ai-bulk-transforms). **17 April 2025** ### Default table view Introduced a setting to choose the default table view on the Verify Data screen. Users can now select between "Show all rows" and "Show invalid rows only." ![Default table view setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sleekshot-3.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=f631a50b49d2094561b5aa2c5e50dcfa) ### Default number of rows Added a configuration option to set the default number of rows displayed on the Verify Data screen. ![Default number of rows setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-10.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=c7416c6d87846a4c60fc6c11c0263516) **14 April 2025** ### Unmapped column property **Introduced the `column.isUnmapped` property** in the [`csvbox.columns`](/sheet-settings/data-transforms#csvboxcolumns) object to identify Unmapped Columns. This is now available in Data Transforms and Validation Functions. ### Unmapped columns in server-side validation Added support for Unmapped Columns in Server-Side Validation, allowing validation errors to be shown for Unmapped Columns. **07 April 2025** ### Add columns via CSV Added support for bulk adding columns using a sample CSV file. More info [here](/dashboard-settings/add-columns-via-csv). **26 March 2025** ### Dynamic column property **Introduced the `column.isDynamic` property** in the [`csvbox.columns`](/sheet-settings/data-transforms#csvboxcolumns) object to identify Dynamic Columns. This is now available in Data Transforms and Validation Functions. ### Restrict adding rows Introduced a new configuration option to restrict adding new rows on the Verify Data screen. ![Adding rows option](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sleekshot-4.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=fbc66c0ba8251c3e09183222456c62a2) Adding rows option **21 March 2025** ### OpenAI added as a subprocessor Added OpenAI to the list of [subprocessors](/legal/gdpr/data-processing-addendum#sub-processors) in the [DPA](/legal/gdpr/data-processing-addendum). **Why is OpenAI added as a subprocessor?** CSVbox leverages OpenAI's industry-leading AI capabilities to enhance functionality within the importer app. As we build new AI-powered features, OpenAI has been included as a subprocessor. **20 March 2025** ### Zero template columns Added support for file submissions without requiring predefined template columns. Check out [Zero Template Column](/dashboard-settings/sheet-options-1#zero-template-columns) functionality. **17 March 2025** ### Expanded styling options Expanded styling options with customizable colors, fonts, and layout sizes, allowing for a more consistent and professional appearance. ![Importer styling options](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/styling.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=6713764a02149d3d190c033b91eb1135) **12 March 2025** ### Mapping choices Added [Mapping Choices](/dashboard-settings/sheet-options-1#mapping-choice), an option for customers to map file columns to template fields or template fields to file columns. **11 February 2025** ### Environment variables in column logic Support for [Environment Variables](/advanced-installation/environment-variables) is now available in [Validation Functions](/sheet-settings/validation-functions#csvboxenvironment), [Data Transforms](/sheet-settings/data-transforms#csvboxenvironment), and [Virtual Columns](/sheet-settings/virtual-columns#csvboxenvironment). **24 January 2025** ### File delete policy moved to sheet settings Relocated the [File Delete Policy](/dashboard-settings/sheet-options-1#file-delete-policy) from account-level settings to sheet-level settings. **14 January 2025** ### Columns object Introduced the [`csvbox.columns`](/sheet-settings/data-transforms#csvboxcolumns) object for use in Data Transforms and Validation Functions. **06 January 2025** ### Auto mapping in the REST File API Added the [`auto_map`](/advanced-installation/rest-file-api#request-body) attribute to the REST File API to activate automatic column mapping during file submission. **03 December 2024** ### Faster imports Optimized the code to improve import performance 2x. **14 November 2024** ### Data Transforms Introduced Data Transforms, enabling a new method for bulk editing datasets before pushing them to your app. Learn more here: [Data Transforms Guide](/sheet-settings/data-transforms). **23 October 2024** ### Admin panel UI refresh Refined the CSVbox admin panel UI for a more intuitive and streamlined experience. **16 October 2024** ### Hide the file upload box Added the option to hide the File Upload Box for cases where only the Copy-Paste data option is mandatory. ### List values and display labels For List-type columns, introduced the ability to accept **list values** interchangeably with **display labels**. **07 October 2024** ### Importer UI improvements Introduced several UI improvements to the importer, including a confirmation prompt when closing the import process. ### Toggle Virtual Columns and Validation Functions Added toggle functionality to enable or disable Virtual Columns and Validation Functions. **19 September 2024** ### Show unmapped columns Added the option to show [Unmapped Columns](/sheet-settings/import-steps/map-columns) on the Validation Screen. ![Show Unmapped Columns](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/show-unmapped-columns.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=4aa05e008a503d8bb45451fee0697ee5) Show Unmapped Columns **28 August 2024** ### Direct file upload in the REST File API Updated the [REST File API](/advanced-installation/rest-file-api) to enable direct uploading of file contents. Check the [`import.file`](/advanced-installation/rest-file-api#direct-file-upload) body param. **19 August 2024** ### Slovak language Added support for the Slovak language. **06 August 2024** ### Read-only columns Added the functionality to make columns [**Read Only**](/sheet-settings/columns#read-only). **01 August 2024** ### Import description End users can now input a file/import description before uploading the file. More info [here](/dashboard-settings/sheet-options-1#import-description). **26 July 2024** ### Turkish language Added support for the Turkish language. **02 July 2024** ### Password-protected files **Importer enhancement**: The importer now handles password-protected files more effectively. Users receive a message indicating that password-protected files cannot be read. **24 June 2024** ### Redirect URL You can now provide a URL to redirect the page after the import is completed successfully. ![Redirect URL](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/redirect-url.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=fe9163c5cc0e909e8b642b06a51eeefe) Redirect URL **18 June 2024** ### Two-factor authentication Two-Factor Authentication (2FA) is now available for all CSVbox users. This new feature is a part of our ongoing efforts to enhance security when accessing our platform. To activate 2FA, log in to your CSVbox account → go to the **Accounts** page → click the **Enable 2-factor Authentication** button and follow the instructions. **14 June 2024** ### Pre-load the importer from a file Added [`upload_file_url`](/getting-started/2-install-code#upload_file_url) and [`upload_file_worksheet_name`](/getting-started/2-install-code#upload_file_worksheet_name) options to pre-load the importer with data from a file. **10 June 2024** ### Encrypted environment variables You can now encrypt environment variables using the [AES Everywhere library](https://github.com/mervick/aes-everywhere) to protect sensitive data. More info [here](/advanced-installation/environment-variables#encrypting-environment-variables). **06 June 2024** ### Accept other values in List columns Updated the List Type Column validation to include the **Accept Other Values** option. ![List Column Validation](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-32.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=0d4f769541c2a5f1f6ab557b2e8077e9) List Column Validation Selecting the **Accept Other Values** option allows users to input values that are not found in the predefined list of acceptable values. This option is also available for the Dynamic List, Multi-Select List, and Dynamic Multi-Select List column types. **27 May 2024** ### Minimum rows Added the [`min_rows`](/getting-started/2-install-code#min_rows) config option to enforce a minimum number of rows uploaded in a single sheet. ### Default delimiter for manual data entry Added an option to configure a default delimiter for manual data entry. ![Default delimiter](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/default-delimiter.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=94418eed2245800dee1186d45e21eda9) Default delimiter **20 May 2024** ### Environment variables You can now add [**Environment Variables**](/advanced-installation/environment-variables) to define different environments (such as 'production', 'staging', 'local') and pass dynamic values to the importer. **28 April 2024** ### JSON files to S3 You can now send JSON formatted files directly to S3, in addition to the CSV format files that were already sendable. ![JSON file type option for the S3 destination](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/json-type.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6f66ff941c1beb05faeb00051c1ccfdf) **01 April 2024** ### Text search Added search functionality to quickly find text in the uploaded sheet. It can be turned off via the admin dashboard. **19 March 2024** ### Find and replace Added functionality to find and replace text in the uploaded data. **13 March 2024** ### Ignore columns by default A new option was added to allow the default selection of columns as [Ignored Columns](/sheet-settings/import-steps/map-columns). ![Default selection of columns as ignored](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/ignore-cols-default-selection.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=1f7e14a496d67991fc015829a5e99396) **4 March 2024** ### Azure Blob Storage destination Added Azure Blob Storage as a data destination. **21 Feb 2024** ### Custom file names for Google Sheets Added Google Sheets to the [`target_file_name`](/getting-started/2-install-code#target_file_name) option. You can now provide custom file names for each new import in Google Sheets. ### Custom user attributes in the Dynamic List API New option to append [custom user attributes](/getting-started/2-install-code#referencing-the-user) to the [Dynamic List API](/dashboard-settings/validations#dynamic-list). This helps to identify the user in your app and generate custom list options. ![Custom User Attributes](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/custom.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=b54502c4fee2b7d03664384530a13154) Custom User Attributes **12 Feb 2024** ### Skip the data validation screen Added an option to skip the Data Validation screen if no errors are found. ![Option to skip the Data Validation screen](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/skip-verify.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=b990ae0115ff6546c0a3bfd3733f94cf) **02 Feb 2024** ### Personal plan discontinued The \$9 Personal Plan has been discontinued. Existing subscribers to this plan will remain on their current subscription. **18 Jan 2024** ### API keys page Added a new page for API keys. Each team has one common set of API and Secret keys. Only the Super Admin can generate/regenerate the keys. Admin and Tech roles can view the keys. ### Airtable personal access tokens Updated the Airtable integration to move from the older API key based authentication to the newer Personal Access Token based authentication. **20 December 2023** ### Speed and security improvements * Added optimizations to improve speed. * Fixed vulnerabilities as per the external pen testing report. **27 November 2023** ### Resubmit all rows in server-side validation Improvements added to [Server-Side Validation](/advanced-installation/server-side-validation) functionality. To allow users to re-submit all the rows again (instead of error rows only), we have added the **All Rows** option as shown below: ![All Rows option for server-side validation resubmission](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/ssv.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=0814776dbe1dcf918d2e4726732d7fb8) **06 November 2023** ### Multiple teams Updated the Teams feature to allow users to be part of multiple teams. **20 October 2023** ### Skip the FTP header row Added an option to skip pushing the header row to the FTP data destination. **13 October 2023** ### SOC 2 Type 2 certification It is official! CSVbox is now SOC 2 Type 2 certified. [Read more](https://csvbox.io/soc-2-type-2). **05 October 2023** ### Allow commas in Number columns Added the **Allow Commas** option to the **Number** type column. ![Allow Commas](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/commas.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=fe56fdd8de824f59f5fcc531e3319c82) Allow Commas **25 September 2023** ### No headers option Added an option **No headers in the sheet** on the Header Row selection page. **22 September 2023** ### Target file name Added the [`target_file_name`](/getting-started/2-install-code#target_file_name) option to control the name of the file that gets pushed to the end destination. **20 September 2023** ### Dynamic columns in Validation Functions Added dynamic column support to Validation Functions. **12 September 2023** ### Validation Functions Added [Validation Functions](/sheet-settings/validation-functions). Code your custom validation logic in JavaScript. **11 September 2023** ### Worksheet selection Added support for [worksheet selection](/dashboard-settings/sheet-options-1#worksheet-selection) in Excel files. **06 September 2023** ### Team members Deployed the functionality to add multiple [team members](/account/teams) to the CSVbox account. **29 August 2023** ### Max rows options Added new options, `max_rows_allow_submit` and `max_rows_custom_message`, for [`max_rows`](/getting-started/2-install-code#max_rows) validation. **02 August 2023** ### Currency column type Added [Currency](/dashboard-settings/validations#currency) Column Type validation. **12 July 2023** ### Raw columns object Added the `raw_columns` object to the Import [Complete Webhook](/getting-started/3-receive-data#import-complete-webhook) and the [Data at Client](/getting-started/3-receive-data#data-on-the-client-side). This object contains all the column headers found in the raw spreadsheet file uploaded by the user. **07 July 2023** ### Dynamic sample template Added [`sample_template_url`](/getting-started/2-install-code#sample_template_url) and [`sample_template_button_text`](/getting-started/2-install-code#sample_template_button_text) configuration options. With these, you can now configure a dynamic sample template file for each user. **27 June 2023** ### Ignored columns Added [Ignored columns](/sheet-settings/import-steps/map-columns), which allow users to skip columns for data submission. **16 June 2023** ### Infrastructure changes and bug fixes * Infrastructure changes * Bug fixes **15 May 2023** ### Hide the copy-paste option Added functionality to hide the copy-paste data option. ### Skip the invalid data confirmation Added an option to skip the confirmation message when accepting invalid data. ### Performance improvements * UI enhancements to improve the speed of the admin dashboard. * Enabled multiple importers on the same page for the Bubble plugin. * Performance improvements across all destinations. **12 April 2023** ### Row highlighting A few UI enhancements. Now the entire row gets highlighted when there is a validation issue in any one cell. **06 April 2023** ### Private Mode Added [Private Mode](/destinations/private-mode) for data processing. **27 Mar 2023** ### Server-side validation (beta) Added [Server-Side Validation](/advanced-installation/server-side-validation) (Beta) feature. **09 Mar 2023** ### Danish language Added the Danish language to the importer. **06 Mar 2023** ### Sequential or parallel webhooks Added an option to select between Sequential and Parallel sending of data via webhooks. More info [here](/destinations#request-type). **27 Feb 2023** ### New Google Sheets sheet per upload Option to add a new sheet in Google Sheets for each file upload. ![Option to add a new Google Sheets sheet for each upload](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/gsheet.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=846e4b3f0a3b92e303e00b8017148d89) **17 Feb 2023** ### onLoadStart event Added the importer event [onLoadStart](/getting-started/2-install-code#onloadstart). It gets triggered when the importer iFrame starts loading. **14 Feb 2023** ### Airtable upsert Added [Upsert](/destinations#2-upsert) operation for Airtable. **09 Feb 2023** ### Disable user keyword mapping Option to disable [user keywords](/sheet-settings/columns#matching-keywords) based column mapping. ![Option to disable user keyword based column mapping](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/keywords.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6432cdd44ea67204baa19e67b4ffc614) **06 Feb 2023** ### Dynamic column position Added the [`position`](/advanced-installation/dynamic-columns#column-position) parameter to control the display order of the dynamic columns. **24 Jan 2023** ### Lazy load Added the [Lazy Load](/getting-started/2-install-code#lazy-load) option for importer initialization. ### Multi-level dependent lists Added multiple-level List-Dependent List validations. ### Other improvements * Added info icons on the Column Mapping page. * Updated email validation to accept special characters. * Fixed bugs, improved notifications, and made minor UI changes to the admin section. **04 Jan 2023** ### Japanese language Added the Japanese language to the importer. **29 Dec 2022** ### Skip column mapping on exact match Added an option to skip the Column Mapping screen if there is an exact match of columns. ![Option to skip the Column Mapping screen](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/map-col-skip.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=ff03fdfb0646bf228967aa7740acd3ab) **26 Dec 2022** ### More multi-select delimiters Added support for delimiters such as "." and "|" for [Multi-select List](/dashboard-settings/validations#multi-select-list) and [Dynamic Multi-select List](/dashboard-settings/validations#dynamic-multi-select-list) column types. **18 Dec 2022** ### Slovenian language Added the Slovenian language. ### Multilingual help text Added the option to provide help text in multiple languages. ![Help text language options](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/language-options.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=a013c587f3d40c10371beeb8b69b17e7) **05 Dec 2022** ### Virtual Columns data variables * `csvbox.row["total_rows"]` and `csvbox.row["row_number"]` [data variables](/sheet-settings/virtual-columns#csvboxrow) added to Virtual Columns. * [`csvbox.virtual`](/sheet-settings/virtual-columns#csvboxvirtual) object added to Virtual Columns. **29 Nov 2022** ### Resubmit button Added a [1-click Resubmit button](/dashboard-settings/sheet-options-1#resubmit-button) to trigger a new import on the recently submitted file. ![Resubmit](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-18.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=ab8a65a16c015954e6dea47b6160fd1b) Resubmit **25 Nov 2022** ### Multi-select List column types Added [Multi-select List](/dashboard-settings/validations#multi-select-list) and [Dynamic Multi-select List](/dashboard-settings/validations#dynamic-multi-select-list) column types. **21 Nov 2022** ### View and delete user keywords Added an option to view and delete [User Keywords](/sheet-settings/columns#matching-keywords). ![User Keywords list](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/user-keywords-1.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=4329a1eb9609320686863d90d7cd1634) **16 Nov 2022** ### Reset All Mappings button Added a Reset All Mappings button to make it easier for users to reset and remap the columns. This button is optional and its visibility can be controlled via the Sheet settings page. **14 Nov 2022** ### Italian language Added the Italian language option for the importer frontend. ### Copy sheet settings Added an option to Copy sheet settings to an existing sheet. The data destination config and license key remain the same in the target sheet. **29 Oct 2022** ### Faster SQL Server integration Optimized SQL Server integration code to improve speed. ### Data location parameter Added the `data_location` initialization parameter for specifying data and server location. **13 Oct 2022** ### Fixes and performance improvements * Fixed UI bugs related to the `max_rows` option. * Upgraded infrastructure and added optimizations for improved speed for the EU region. * Improved performance for imports with many Virtual Columns. **30 Sep 2022** ### DPA update Updated the [DPA](/legal/gdpr/data-processing-addendum) to add the Europe Data Residency option. **22 Sep 2022** ### Europe data residency Added the option to select the Europe (Germany) location for data residency. More info [here](/dashboard-settings/sheet-options-1#server--data-location). **05 Sep 2022** ### Hebrew language Added the Hebrew language for the importer frontend. **01 Sep 2022** ### Time column type Added **Time** Column type validation. ### Column limit removed The 100-column sheet restriction was removed. **30 Aug 2022** ### Virtual Columns Added [Virtual Columns](/sheet-settings/virtual-columns). Create new columns by applying custom data transformation logic. **26 Aug 2022** ### Romanian language Added the Romanian language option for the importer frontend. **25 Aug 2022** ### Disable import links Added the [Import Link disable](/advanced-installation/import-links#activating-import-links) option. **24 August 2022** ### Import dialog size Added an option to control [import dialog size](/dashboard-settings/sheet-options-1#importer-dialog-size). ### Decimal and integer validation Added decimal / integer validation. **23 August 2022** ### onSubmit event in framework libraries Updated React, Angular, and Vue.js libraries for the [onSubmit Importer event](/getting-started/2-install-code#events). **16 August 2022** ### onSubmit event Added the [onSubmit Importer event](/getting-started/2-install-code#events). **10 August 2022** ### Default column value You now have the option to specify a default filler value for the column in case the incoming data is blank. ![Default Value](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/defaultval.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6d5ef7c05d790c6db760cd1c1cf773f4) **08 August 2022** ### Domain authorization Added the [domain authorization](/dashboard-settings/sheet-options-1#domain-authorization) option. You can provide a list of approved *domains/sub-domains* for embedding the importer. The embedded importer works on the whitelisted domains only. **03 August 2022** ### Import complete messages Added functionality to configure custom success or failure messages when the import completes. More info [here](/dashboard-settings/sheet-options-1#import-complete-messages). **01 August 2022** ### Dynamic columns for dependent lists Added [dynamic column](/advanced-installation/dynamic-columns) support for [Dependent List](/dashboard-settings/validations#dependent-list) and [Dependent Dynamic List](/dashboard-settings/validations#dependent-dynamic-list) columns. ### Polish language Added the Polish language option for the importer frontend. **29 July 2022** ### Thai language Added the Thai language option for the importer frontend. **22 July 2022** ### Importer exit options Added options for controlling the close of the importer dialog after the import is complete. ![Importer exit options](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/exit-options.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=131f2db7d180518270bf6f75a2144aea) **20 July 2022** ### Dependent Dynamic List columns Added [Dependent Dynamic List Columns](/dashboard-settings/validations#dependent-dynamic-list). **07 July 2022** ### Column mappings object Added the `column_mappings` object to the [import complete webhook](/getting-started/3-receive-data#import-complete-webhook) and the [callback function](/getting-started/2-install-code#callback-function). The `column_mappings` object contains the user-defined mappings between the columns of the sheet (template) and columns in the uploaded CSV file. ### Import ID column Added the **Import ID** column in the table on the Imports page of the CSVbox dashboard. ### Multiple date validation for dynamic columns The dynamic columns now support multiple date validation. **01 July 2022** ### Export button Added an **Export** button that downloads the validation errors and row data in an Excel sheet. More info [here](/dashboard-settings/sheet-options-1#export-button). ### Truncated row count Updated the importer UI to show the truncated row count. **30 June 2022** ### Max rows Added the Max Rows option to the importer dashboard. It limits the number of rows per import. ![Max Rows setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/max-rows.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=3700b4235bea3426f1b058dbd908cf4c) **29 June 2022** ### Phone number validation Added phone number validation based on the [libphonenumber.js library](https://catamphetamine.gitlab.io/libphonenumber-js/). ### Import modal UI changes Minor UI changes to the import modal. Changes include: * The importer modal is now full screen across all devices. * The column mapping table & validation error text are center-aligned for better visibility. **27 June 2022** ### Logo and custom font styling New styling options added: upload logo and custom fonts. **24 June 2022** ### Arabic language Added the Arabic language (ltr) support for the importer frontend. **23 June 2022** ### Show import fail messages Added an option to allow displaying the import fail error messages to the end-user. **22 June 2022** ### Primary color theme Added the **Primary Color** custom theme option. You can stylize the importer with the primary color of your brand. More styling options coming soon. **10 June 2022** ### Custom user attributes in Dynamic List requests The importer attaches the [custom user attributes](/getting-started/2-install-code#referencing-the-user) as query parameters to the [Dynamic List](/dashboard-settings/validations#dynamic-list) API request. A `csvbox_` prefix is added to the custom user attribute query parameters. This helps you identify the users/environment and return a relevant list of values. **30 May 2022** ### Database upsert Added the **Upsert** operation to MySQL, PostgreSQL, and MS SQL data destinations. Instead of directly inserting the file data into the databases, the importer first checks if the record exists. If the record exists, then the row is updated. Only if the record does not exist is a new row added. **23 May 2022** ### Dynamic List column type Added the [Dynamic List](/dashboard-settings/validations#dynamic-list) column type to accept valid list values via API, real-time. **20 May 2022** ### Select Header Row display options New display options for the **Select Header Row** page of the importer. ![Display options](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/display-options.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6ba54bed287135f60df89be7e88c0fcf) 1. **Skip this step?**: Hide/Show the **Select header row** page to the users. 2. **Show encoding**: Hide/Show the character set selection list to the users. 3. **Switch Row/Columns**: Hide/Show the option to switch rows and columns to the users. These settings help to remove the non-essential options from the importer and make the user experience cleaner. **19 May 2022** ### Delete account Added the option (**DELETE** button on the Accounts page) to delete and close down the CSVbox account permanently. **12 May 2022** ### Multiple date formats Added the **Multiple** option to Date Type columns. With this, you can provide multiple date formats that are allowed for the incoming data. ![Multiple date formats option](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/multiple-dates.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=690b4a09a14e353c54a36f736c2751fb) **11 May 2022** ### JSON data in the callback function Added the option to receive the CSV data in JSON format in the callback function. More info [here](/getting-started/3-receive-data#data-on-the-client-side). **04 May 2022** ### Notion destination Added [Notion Data Destination](/destinations/notion). ### Large file fix for the REST File API Fixed a bug for very large file uploads with [REST File API](/advanced-installation/rest-file-api). **02 May 2022** ### SQL Server destination **Added**: [SQL Server Data Destination](/destinations#sql-server). **26 April 2022** ### Allow invalid option **Added**: [`allow_invalid` option](/getting-started/2-install-code#allow_invalid). ![allow\_invalid option](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/allow-invalid.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=ccc8c47d7ed0d7501878fbd44a74910b) **22 April 2022** ### Help text for each page **Added**: Ability to add help texts for each page (header selection, column mapping, data validation) on the importer. **13 April 2022** ### Added * Yearly pricing plans * [REST File API](/advanced-installation/rest-file-api) beta * New [importer events](/getting-started/2-install-code#events) (onReady, onClose) * [`request_headers`](/getting-started/2-install-code#request_headers) option to send headers at run-time * PATCH request type * `total_rows` parameter to the [API output](/getting-started/3-receive-data#sample-response). * `original_filename` parameter to the [import complete webhook](/getting-started/3-receive-data#import-complete-webhook) and importer [callback function](/getting-started/2-install-code#callback-function). ### Updated * Fixed an issue related to freezing of the importer * Updated the code from Laravel 8 to Laravel 9 * Added new layers of database security * Fixed an issue related to the downloading of the template files * Added custom attribute mapping for Airtable * UI enhancements **07 March 2022** ### Custom regex validation message **Added**: Custom message for regex validation. ![Custom message for regex validation](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/regex-message.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=fada1437b7522f75f4a43c1355f3cae6) **01 March 2022** ### Portuguese language **Added**: Portuguese language support for the importer frontend. ### Language option **Added**: [`language` sheet option](/getting-started/2-install-code#options) to select the frontend language while initializing the importer. **23 February 2022** ### Translation suggestions **Updated**: You can now view the translated texts for all supported languages and submit suggestions for changes. ![Language Correction](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/language-corrections.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=c975cf54f21b8fafeec47cabde2766e1) **22 February 2022** ### Dutch language **Added**: Dutch language support for the importer frontend. **11 February 2022** ### Unmapped columns **Added**: [Unmapped Columns](/sheet-settings/import-steps/map-columns), allowing users to submit columns not included in the sheet template. **08 February 2022** ### FTP destination **Added**: [FTP Data Destination](/destinations#ftp-server). **07 February 2022** ### Header row selection **Added**: Header row selection step in the importer. **03 February 2022** ### Importer internationalization **Added**: Importer internationalization. The importer now supports German, French, and Spanish languages. **17 January 2022** ### Max rows option **Added**: [`max_rows`](/getting-started/2-install-code#options) config option to restrict the number of rows uploaded in a single sheet. **10 January 2022** ### Zapier destination **Added**: [Zapier Data Destination](/destinations/zapier). **4 January 2022** ### Custom date validation **Updated**: Included the **Custom** validation option for Date Type columns. Date formatting options available [here](/dashboard-settings/validations#date). ![Custom date validation option](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/date-validation.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=f01ca9b2c5e3c1bf03ceb5022a89b1af) # Dashboard Settings Source: https://help.csvbox.io/dashboard-settings Configure the importer from the CSVbox dashboard: columns, validations, import steps, display, and AI features. Every importer is configured from the CSVbox dashboard. Use these pages to set up the columns of your sheet (template), define how incoming data is validated, and control how the importer looks and behaves. > **[Columns](/sheet-settings/columns)** > > The options available while creating the columns of the sheet. > **[Bulk Add Columns](/dashboard-settings/add-columns-via-csv)** > > Add columns in bulk by uploading a CSV. > **[Validations](/dashboard-settings/validations)** > > Validation options for checking the format of the incoming data. > **[Import Steps](/sheet-settings/import-steps/file-upload)** > > Settings for each step of the import, from file upload to results. > **[Display](/sheet-settings/display)** > > Personalize the importer with custom colors, fonts, and logo. > **[AI Pre-Import Transform](/dashboard-settings/ai-pre-import-transform)** > > Restructure uploaded files with a plain-English instruction before column mapping. > **[AI Bulk Transforms](/dashboard-settings/ai-bulk-transforms)** > > Let users modify column data using natural language prompts in the importer. > **[Import Analytics](/dashboard-settings/import-analytics)** > > See how users interact with the importer, from opening the widget to a successful import. > **[AI Document Import](/dashboard-settings/ai-document-import)** > > Extract structured tables from PDFs, images, and documents. > **[Split Large CSV](/dashboard-settings/split-large-csv)** > > Split large CSV files into smaller parts for faster, more reliable imports. > **[AI Function Generator](/dashboard-settings/ai-function-generator)** > > Generate validation rules, transforms, virtual columns, and regex patterns from plain-language instructions. > **[Smart Date and Number Formats](/dashboard-settings/smart-date-and-number-formats)** > > Convert dates and numbers written in different regional formats. # Bulk Add Columns Source: https://help.csvbox.io/dashboard-settings/add-columns-via-csv Bulk add columns to a new sheet by providing the column info in a CSV file. Instead of creating columns one at a time, you can add them to a new sheet in bulk from a CSV file. CSVbox offers two methods to do this. ![Options for bulk adding columns to a sheet](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sleekshot-6.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=9ed511bfeb414d162da27eb134bf7d18) ## Using a sample CSV file Upload any sample CSV or Excel file you already have. CSVbox automatically extracts the column headers from your file and creates corresponding columns in your sheet, and AI attempts to detect column types based on the data. You can always review and modify the columns afterward. ## Using the bulk import template For more control over column setup, use the **predefined CSV template**. Download the template, fill it with column info, and upload it back. Columns are created based on the data you provide. The template supports the following fields: | Field | Description | Required | | - | - | - | | [Column Name](/sheet-settings/columns#column-name) | Internal name of the column | Yes | | [Display Name](/sheet-settings/columns#display-label) | Display label for end users | Optional | | [Info Hint](/sheet-settings/columns#info-hint) | Tooltip/help text for users | Optional | | [Column Type](/sheet-settings/columns#column-type) | Type of the field (e.g. Text, Number, Date) | Optional | | [Is Required](/sheet-settings/columns#required) | Should this field be mandatory? (Yes/No) | Optional | | [Keywords](/sheet-settings/columns#matching-keywords) | Tags to help with auto-mapping | Optional | > **[Bulk Import Template](/files/add-columns-template.csv)** > > Download the CSV template. # AI Bulk Transforms Source: https://help.csvbox.io/dashboard-settings/ai-bulk-transforms Let users modify column data with natural language prompts directly in the importer. AI Bulk Transforms let your users clean, format, and enrich entire columns with plain-language prompts during the **Verify Data** step of the import. > [!NOTE] > > This feature is currently in beta. ## How to enable AI transformations **1. Open the sheet settings** Go to your **Sheet Settings**. **2. Open the Verify Data tab** Click the **Import Steps** tab, then navigate to the **Verify Data** tab. **3. Turn on AI transformations** Set **Enable AI Transformations?** to **Yes**. **4. Save your settings** Save your settings. Once enabled, a new **Bulk Transform** option appears for each column in the Verify step of the import flow. ## What can it do Users can clean, format, and enrich their data using plain language. For example, they can: * Capitalize or lowercase text in `'product_name'` * Add a 10% markup to values in `'price'` * Translate `'description'` to Spanish * Format `'order_date'` to `YYYY-MM-DD` * Extract the domain name from `'email'` * Tag rows as `'Yes'` in `'priority'` if `'notes'` mentions "urgent" These are just a few examples. The feature is flexible and handles a wide range of transformations across different languages. ## Key features * Transform entire columns using simple AI prompts. * User data never leaves the browser. Values are *not* sent to any external AI models. * Fix validation issues quickly by modifying problematic fields in bulk. * Users can modify or delete rows, but can't add new rows using AI. * Supports prompts in all languages available in the importer. * Users can preview the data before applying changes. # AI Document Import Source: https://help.csvbox.io/dashboard-settings/ai-document-import Extract structured tables from PDFs, images, and documents with simple, transparent pricing. CSVbox lets you import tabular data from PDFs, images, and documents using AI-powered extraction. The feature makes unstructured data import-ready in just a few steps, while keeping pricing predictable and usage fully transparent. ## How to enable AI Document Import Enable this feature in your sheet configuration under **Sheet Settings** → **Import Steps** → **File Upload** → **Enable AI Document Import**. Once enabled, users can upload documents (PDFs, images, DOCX) during the import flow. ## Data privacy and security Your documents are processed using secure external AI services for table extraction. * Your uploaded documents are **not used to train or improve any public AI models**. * The service guarantees your data is **not used for any purpose other than processing your request**. * Files are handled securely and processed only for extraction. ## What is a "document page"? A **page** is the unit used for billing document processing. * **PDF**: each page = 1 page. * **Images (JPG, PNG, WEBP, etc.)**: each image = 1 page. * **DOCX**: processed as pages based on document layout. > [!NOTE] > > DOCX page counts are estimated based on document structure. ## Monthly included pages Each plan includes a fixed number of document pages per billing cycle: | Plan | Included pages / month | | - | - | | Sandbox | 5 pages | | Startup | 50 pages | | Pro | 500 pages | | Growth | 1,000 pages | | Plus | 3,000 pages | * Limits reset every billing cycle. * Unused pages don't roll over. ## Extra pages (credits) If you exceed your monthly included pages: * Additional pages cost **\$0.03 per page**. * Charges are deducted from your prepaid credit balance. ## What are credits? Credits are a prepaid balance used for document processing. * You can top up anytime from the **Plans** page. * Credits are used only after your included pages are exhausted. * Credits are stored as a monetary balance (USD). For example: * \$10 ≈ 333 pages * \$25 ≈ 833 pages ## How usage is calculated When you process documents, pages are consumed in this order: 1. Included monthly pages 2. Credit balance 3. If both are exhausted, processing is blocked. ## Selecting the correct table Many documents contain multiple tables. CSVbox gives you full control: * All detected tables are shown in a preview. * You can review each table visually. * You select the exact table you want to import. This ensures accurate imports even from complex or multi-section documents. ## Example usage You're on the Pro plan (500 pages/month) and process 600 pages in a month: * 500 pages are included. * 100 pages are paid with credits. Cost: 100 × \$0.03 = **\$3.00** ## When will I be charged? A page is charged when it's successfully sent for AI processing. You're not charged when: * The file upload fails. * The file is unsupported. * The document can't be read before processing starts. ## Failed or low-quality results In some cases: * No tables are detected. * Extraction quality isn't usable. These pages are still charged, because AI processing has already been performed. ## Partial processing If processing stops midway, only successfully processed pages are charged. For example, if 12 pages of a 20-page document are processed before a failure, you're charged for 12 pages only. ## Retries * **Manual retry**: charged again. * **System retry (internal failure)**: not double-charged. ## What happens when I run out of pages? * You receive an **email alert when you reach 90% of your usage**. * Once your included pages and credits are exhausted: * Document processing is blocked. * You're prompted to add credits. ## Adding credits You can add credits anytime from the **Plans** page: **1. Open the Plans page** Go to the **Plans** page. **2. Choose a credit amount** Select the amount of credit to add. **3. Complete payment** Complete the payment. Credits are applied instantly after successful payment. ## Viewing your usage You can monitor usage from your dashboard: * Included pages used and remaining * Credit balance * Pages processed this cycle * Recent document processing activity ## Billing cycle * Included pages reset every billing cycle. * Your billing cycle depends on your subscription start date. * Credit balance doesn't reset and carries forward. ## Important notes * Charges are based on pages processed, not successful extraction. * Each image counts as one page. * Credits are used only after included pages are exhausted. * CSV and Excel imports are not affected by this pricing. ## FAQ > **Do unused pages roll over?** > > No, included pages reset every billing cycle. > **Do credits expire?** > > No, credits remain in your account until used. > **Can I get a refund for failed extraction?** > > If a failure is caused by a system issue, contact support and we'll review it. > **Are CSV/Excel imports charged?** > > No, only document-based imports (PDF, images, DOCX) are counted. > **Can I increase my included pages?** > > Yes, upgrade your plan to get a higher monthly allowance. # Document Metadata Fields Source: https://help.csvbox.io/dashboard-settings/ai-document-import/document-metadata-fields Capture details such as author or invoice number straight from an uploaded file and import them as regular columns. Document Metadata Fields let a sheet capture details straight from an uploaded file, instead of asking the person uploading to type them in. A field like `Author`, `Invoice Number`, or a fixed label is filled in automatically the moment a file is uploaded, and it shows up alongside the rest of the imported data as a regular column. You can configure up to 20 of these per sheet, each sourced a different way depending on what kind of information you need. Configuration is stored on `Sheet.pdf_metadata_config`; extraction is handled by `App\Services\PdfMetadataExtractor`, called from `AnalyzeController`. ## Why use Document Metadata Fields * **Invoices and receipts**: capture the invoice number or vendor name straight from the document, instead of asking the uploader to re-type it into a form field. * **Applications and forms**: tag every submission with who authored the file or what it's titled, which is useful for sorting and follow-up later. * **Batch labeling**: stamp every import from a particular source or partner with a fixed label, so downstream reports can filter by it. ## Field sources Each Document Metadata Field is filled in one of three ways. ### Static Value A fixed value typed in once. It applies to every upload processed through this sheet, which is useful for labels and tags that never change. *Example: `Batch Label` = "Q3 Vendor Import"* ### Native Document Property Most documents quietly carry their own properties, such as who created them or what they're titled. This source reads that value straight from the file. *Example: `Author` = whoever created the PDF or Word document* ### Document Key-Value (Smart Match) Give the field a name to look for, like `Invoice Number`, and CSVbox finds the value printed next to that label on the page. *Example: field name `Invoice Number` finds "INV-4471" on the page* ## Supported file types | File type | Static Value | Native Document Property | Document Key-Value | | - | - | - | - | | PDF | Yes | Yes | Yes | | Word document (`.docx`) | Yes | Yes | Yes | | Image (`.jpg`, `.png`) | Yes | No | Yes | > [!NOTE] > > If a value can't be found for a field, it's left blank for that upload. This never blocks or fails the import; the rest of the file still comes through normally. ## Enabling Document Metadata Fields **1. Open the File Upload settings** Open the sheet to configure and go to **Import Steps** → **File Upload**. **2. Find the Document Metadata Fields section** Scroll to the **Document Metadata Fields** section. **3. Add and name a field** Add a field and give it a name. This becomes the column name people see once data is imported. **4. Choose a source** Choose how the field should be filled in: **Static Value**, **Native Document Property**, or **Document Key-Value**. Provide whatever it needs (a value to use, or a label to look for). **5. Save the fields** Repeat for each detail to capture, then click **Save Metadata Fields**. > [!WARNING] > > Up to 20 metadata fields are allowed per sheet, and each field name must be unique. From that point on, every matching upload gets these fields filled in automatically, with no extra steps for the person uploading. ### Example A sheet set up to receive vendor invoices, with three metadata fields configured, processes an upload named `invoice_4471.pdf`: | Field | Source | Value captured | | - | - | - | | `Batch Label` | Static Value | Q3 Vendor Import | | `Author` | Native Document Property | J. Alvarez | | `Invoice Number` | Document Key-Value | INV-4471 | All three values are captured the moment the file is uploaded, without anyone typing them in. This happens automatically as part of processing the file, with no extra wait for the person uploading. # AI Function Generator Source: https://help.csvbox.io/dashboard-settings/ai-function-generator Generate validation rules, transforms, virtual columns, and regex patterns using plain-language instructions. The **AI Function Generator** in CSVbox helps you create JavaScript functions and regex patterns without writing code manually. Describe what you want in plain English, and CSVbox generates compatible logic for your importer automatically. AI generation is available across: * Validation Functions * Virtual Columns * Data Transforms * Regex Column Type Use it to build advanced import logic faster, reduce manual coding, and simplify complex validation or transformation workflows. ## How it works **1. Open a supported editor** Open a supported editor in CSVbox. **2. Click Generate** Click the **Generate** button. **3. Describe the logic you want** Describe the logic in plain language. CSVbox generates compatible JavaScript or regex code. **4. Review the generated output** Review the output. All generated code remains fully editable before saving. **5. Insert and save the function** Insert the code and save the function. ## Supported features | Feature | Generates | | - | - | | Validation Functions | JavaScript validation logic | | Virtual Columns | JavaScript computed column logic | | Data Transforms | JavaScript transformation logic | | Regex Column Type | Regular expression patterns | ## Writing better prompts The quality of the generated output depends heavily on how clearly you describe the requirement. For best results: * Mention exact column names when possible. * Clearly describe the expected output. * Include formatting requirements. * Add examples for complex logic. * Focus on one task at a time. * Avoid vague instructions. ## AI generator for validation functions Generate validation rules from plain-language descriptions instead of writing JavaScript validation logic by hand. Useful for: * Email validation * Phone number validation * Date validation * Required field checks * Cross-column validation * Business-specific validation rules ### Example prompts #### Email validation **Prompt** ``` Validate that email addresses contain a valid @ symbol and domain ``` **Expected behavior** * `"user@example.com"` → valid * `"user@"` → invalid #### Phone number validation **Prompt** ``` Ensure phone numbers contain exactly 10 digits after removing special characters ``` **Expected behavior** * `"(555) 123-4567"` → valid * `"123-456"` → invalid #### Date validation **Prompt** ``` Check that dates are in YYYY-MM-DD format and are not future dates ``` **Expected behavior** * `"2023-12-25"` → valid * `"12/25/2023"` → invalid #### Cross-column validation **Prompt** ``` Ensure end_date is greater than start_date ``` **Expected behavior** * `start_date="2023-01-01", end_date="2023-12-31"` → valid * `start_date="2023-12-31", end_date="2023-01-01"` → invalid ### Validation prompt tips For better validation results: 1. Start with action words such as: * validate * ensure * verify * require * check 2. Mention exact field names. 3. Describe the validation condition clearly. 4. Include valid and invalid examples for complex rules. 5. Mention how blank or null values should behave. ## AI generator for virtual columns Generate computed or derived columns from natural-language instructions. Instead of writing JavaScript logic by hand, describe what the virtual column should calculate or return. Useful for: * Combining fields * Calculated totals * Derived statuses * Formatting dates * Extracting values * Building custom labels ### Example prompts #### Full name column **Prompt** ``` Combine first_name and last_name columns with proper capitalization ``` **Expected behavior** * `"john"` + `"DOE"` → `"John Doe"` #### Total price calculation **Prompt** ``` Multiply quantity and unit_price columns to create total_price ``` **Expected behavior** * `quantity=5, unit_price=10.50` → `52.50` #### Date formatting **Prompt** ``` Convert dates from MM/DD/YYYY to Month DD, YYYY format ``` **Expected behavior** * `"12/25/2023"` → `"December 25, 2023"` #### Status generation **Prompt** ``` Create a status column based on due_date ``` **Expected behavior** * Past date → `"Overdue"` * Within 7 days → `"Due Soon"` * Future date → `"On Track"` ### Virtual column prompt tips 1. Mention which fields should be used. 2. Describe the expected output clearly. 3. Specify formatting rules. 4. Include examples for calculated logic. 5. Focus on one generated field at a time. ## AI generator for data transforms Generate data transformation logic from plain-language instructions to clean, normalize, or reformat imported data automatically. Useful for: * Text normalization * Formatting cleanup * Phone number cleanup * Date conversion * Value mapping * Row transformations ### Example prompts #### Email standardization **Prompt** ``` Convert email addresses to lowercase and remove leading or trailing spaces ``` **Expected behavior** * `" John.Doe@Example.COM "` → `"john.doe@example.com"` #### Phone number cleanup **Prompt** ``` Remove all non-numeric characters from phone numbers ``` **Expected behavior** * `"(555) 123-4567"` → `"5551234567"` #### Full name generation **Prompt** ``` Combine first_name and last_name columns with proper capitalization ``` **Expected behavior** * `"john"` + `"DOE"` → `"John Doe"` #### Date formatting **Prompt** ``` Convert dates from MM/DD/YYYY format to YYYY-MM-DD ``` **Expected behavior** * `"12/25/2023"` → `"2023-12-25"` ### Data transform prompt tips 1. Start with action words like: * convert * remove * replace * format * normalize * combine 2. Specify the target column. 3. Clearly describe the final output format. 4. Include sample input/output values for complex transforms. 5. Keep transformations focused and specific. ## AI generator for regex patterns Generate regular expression (regex) patterns from plain-language descriptions. Instead of writing regex syntax by hand, describe the format you want to validate and CSVbox generates the pattern automatically. Useful for: * Email validation * Phone number formats * ZIP/postal codes * Product code validation * Password rules * Custom formatting patterns ### Example prompts #### Phone number validation **Prompt** ``` exactly 10 digits, no spaces or dashes ``` **Generated pattern** ```regex theme={"dark"} /^[\d]{10}$/ ``` #### Email validation **Prompt** ``` valid email format with @ symbol and domain ``` **Generated pattern** ```regex theme={"dark"} /^[^\s@]+@[^\s@]+\.[^\s@]+$/ ``` #### ZIP code validation **Prompt** ``` 5 digit US zip code, optionally followed by hyphen and 4 digits ``` **Generated pattern** ```regex theme={"dark"} /^\d{5}(-\d{4})?$/ ``` #### Product code format **Prompt** ``` product code starting with 2 uppercase letters followed by exactly 4 digits ``` **Generated pattern** ```regex theme={"dark"} /^[A-Z]{2}\d{4}$/ ``` ## Best practices ### Keep prompts focused Short, focused prompts produce better results than large multi-step instructions. Good: ``` Convert SKU values to uppercase ``` Less effective: ``` Convert SKU values to uppercase, remove spaces, validate duplicates, generate category names, and create status values ``` ### Use exact column names Prefer: ``` Combine first_name and last_name ``` Instead of: ``` Combine the user's names ``` ### Mention formatting rules Examples: * `YYYY-MM-DD` * `10 digit phone number` * `uppercase product code` * `currency with 2 decimals` ### Include examples for complex logic Adding examples improves accuracy significantly. For example: ``` Convert dates from MM/DD/YYYY to YYYY-MM-DD. Example: 12/25/2023 → 2023-12-25 ``` ## Testing generated code Always review and test generated code before saving. Recommended testing steps: 1. Review the generated output. 2. Test with sample values. 3. Test blank and null values. 4. Verify edge cases. 5. Confirm expected formatting. 6. Ensure only intended fields are modified. ## Limitations ### Current limitations * Generates JavaScript functions and regex patterns only. * External APIs and network requests are not supported. * Browser APIs like localStorage and cookies can't be used. * Complex multi-step workflows may require multiple functions. ### Unsupported operations The AI can't: * Add or remove rows * Modify your importer schema * Access external systems * Call third-party APIs * Access databases * Read files outside CSVbox * Perform actions outside the CSVbox execution environment ## Common issues ### Generation failed #### Possible causes * Network issue * Temporary server-side issue * Prompt too complex * Prompt too ambiguous #### Solutions * Retry after a few seconds. * Simplify the prompt. * Make instructions more specific. * Break large logic into smaller prompts. ### Generated output is incorrect #### Possible causes * Missing formatting details * Ambiguous instructions * Missing edge cases * Unclear expected output #### Solutions * Add input/output examples. * Mention formatting rules explicitly. * Specify null or blank value handling. * Focus on one task at a time. ## Tips for better results 1. Use exact field names whenever possible. 2. Keep prompts concise and specific. 3. Mention edge cases such as blank values. 4. Include examples for complex rules. 5. Generate one function at a time. 6. Review generated code before saving. 7. Test thoroughly before production use. ## Security and safety Generated code runs within the CSVbox execution environment and follows CSVbox security restrictions. Generated functions can't: * Access external systems * Make network requests * Access browser storage * Modify importer configuration automatically > [!WARNING] > > Review and test all generated code before production use. # AI Pre-Import Transform Source: https://help.csvbox.io/dashboard-settings/ai-pre-import-transform Restructure uploaded files with a plain-English AI instruction before they reach the column-mapping step. AI Pre-Import Transform cleans up messy uploads for your users, so they map columns from a well-structured file instead of fixing it by hand. ## What it does AI Pre-Import Transform lets you write a plain-English instruction that automatically restructures uploaded files before they reach the column-mapping step. Instead of asking your users to clean up their files manually, the AI rewrites the data for them: renaming columns, flattening nested headers, reordering rows, splitting or merging columns, or whatever else the instruction describes. ## How to enable it **1. Open the sheet settings** Open your sheet's **Settings**. **2. Go to the File Upload tab** Click the **File Upload** tab. **3. Enable the transform** Find **AI Pre-Import Transform** and set it to **Enabled**. **4. Enter your instruction** Enter your instruction in the **Prompt** field. **5. Save the settings** Save your settings. ### Writing a prompt The prompt is a plain-English description of what you want done to the uploaded file. Examples: * *"Rename column 'Item Description' to 'Product Name' and 'Unit Cost' to 'Price'"* * *"Flatten the two-row merged header into a single header row"* * *"Split the 'Full Name' column into 'First Name' and 'Last Name'"* * *"Remove any rows where the Quantity column is empty"* * *"Add a column called 'Status' with the value 'Pending' for every row"* > [!TIP] > > Be specific about column names and the desired outcome. The AI follows the instruction exactly as written. ## What happens during upload When a user uploads a file, the AI reads the data and applies your instruction. The transformed result is what the user sees in the column-mapping step. The original file is not stored; only the transformed output is processed. If the AI can't apply the transformation (for example, the file structure doesn't match the instruction), the original data is shown unchanged. ## Credits AI Pre-Import Transform uses a separate credit pool from OCR credits. | Event | Credit cost | | - | - | | AI processes a new file | Based on actual token usage (1 credit = 1,000 tokens) | | Same file re-uploaded with no changes | 1 flat credit | **Monthly plan credits** are used first each billing cycle. **Purchased credits** are used as overflow once the monthly quota is exhausted. You receive an email notification when you reach **90%** and **100%** of your credit limit. ## Limitations * The prompt applies to every upload on that sheet. It can't vary per user or per file. * Very large files may use more credits due to a higher token count. * Complex transformations (for example, multi-condition logic) may fall back to a direct AI call, which uses more tokens than a simple recipe. # Import Analytics Source: https://help.csvbox.io/dashboard-settings/import-analytics Track how users move through the CSVbox importer, from opening the widget to a successful import, to find drop-offs and errors. Import Analytics gives you visibility into how users interact with the CSVbox importer, from opening the widget to completing a successful import. Use it to identify drop-offs, understand errors, and improve your data import experience. > [!NOTE] > > This feature is available on **Pro plans and above**. ## What is Import Analytics? Import Analytics tracks each importer session and shows how users move through the import flow: * File upload * Header selection * Column mapping * Data validation * Final submission You can use this data to understand where users struggle and optimize your importer configuration. ## What can you track? ### Import funnel See how many users reach each step of the import process: * Importer Opened * File Selected * File Parsed * Header Selected * Mapping Completed * Validation Completed * Submit Succeeded This helps you quickly identify where users drop off. ### Completion rate Measure how many users successfully complete the import compared to those who start it. ### Drop-offs Understand where users abandon the process: * Before selecting a file * During header selection * During mapping * After validation This helps pinpoint friction points in your flow. ### Time taken per step Analyze how long users spend on each step: * Time to select file * Time to select header * Time to complete mapping * Time for validation * Total time to complete import ### Error insights Identify the most common issues users face: * File parsing errors * Header selection issues * Mapping errors * Validation failures * Destination/API errors ### Session logs View individual import sessions with details such as: * Start time * Final outcome (success, failed, incomplete) * Last step reached * Number of rows processed * Error counts * Total time taken This is useful for debugging specific user issues. ## How to access Import Analytics **1. Open the dashboard** Go to your CSVbox dashboard. **2. Select your sheet** Select the sheet you want to analyze. **3. Open the Analytics tab** Open the **Analytics** tab. You can filter data by date range to analyze recent or historical imports. ## Privacy and data handling Import Analytics is designed to be privacy-safe. Analytics **does not store**: * Uploaded files * Row data or cell values It only tracks: * Step-level events * Counts and durations * Error categories and codes ## How to use Import Analytics effectively ### Improve onboarding If many users drop off early, consider: * Simplifying instructions * Providing sample files * Improving file format guidance ### Optimize header selection If users spend too long selecting headers: * Ensure clean file templates * Improve header row detection * Add instructions for users ### Fix mapping issues If mapping drop-offs are high: * Use clearer column names * Reduce required fields where possible * Enable better defaults ### Reduce validation failures If validation errors are common: * Review validation rules * Provide better error messages * Offer clearer data requirements ### Debug failed imports Use session logs to: * Inspect failed submissions * Identify API/destination issues * Reproduce and fix problems quickly ## Notes * Analytics data is aggregated per sheet. * Sessions are tracked automatically, with no setup required. * Abandoned sessions are detected after a period of inactivity. # Sheet Options Source: https://help.csvbox.io/dashboard-settings/sheet-options-1 Sheet-level settings that control error display, data location, security, import screens, Excel formatting, and sheet transfer. Sheet options control how the importer behaves for every upload against a sheet: what users see on each screen, where their data is stored, and how Excel files are interpreted. > [!NOTE] > > These settings are also documented by the screen they belong to, under **Sheet Settings**: [File Upload](/sheet-settings/import-steps/file-upload), [Map Columns](/sheet-settings/import-steps/map-columns), [Verify Data](/sheet-settings/import-steps/verify-data), [Results](/sheet-settings/import-steps/results), [Display](/sheet-settings/display), and [Security](/sheet-settings/security). | Setting | What it does | | - | - | | **Data, privacy, and security** | | | [Server & data location](#server-and-data-location) | Store user data in the US or Europe (Germany) | | [File delete policy](#file-delete-policy) | Store uploaded files for a month, or not at all | | [Domain authorization](#domain-authorization) | Run the importer only on domains you approve | | **File upload** | | | [Show file upload box](#show-file-upload-box) | Allow file uploads, or only copy-paste | | [Worksheet selection](#worksheet-selection) | Let users pick a worksheet from a multi-sheet Excel file | | [Import description](#import-description) | Let users describe the file they upload | | [Formatting in Excel files](#formatting-in-excel-files) | Control how Excel dates, times, and numbers are read | | **Column mapping** | | | [Mapping choice](#mapping-choice) | Map file columns to template fields, or the reverse | | [Zero template columns](#zero-template-columns) | Accept files without any predefined template columns | | **Verify Data screen** | | | [Export button](#export-button) | Let users export data with errors highlighted to Excel | | **Import completion** | | | [Show error text](#show-error-text) | Show import failure messages to users | | [Import complete messages](#import-complete-messages) | Show custom success or failure messages | | [Resubmit button](#resubmit-button) | Push the same file again with one click | | [Custom redirect URL](#custom-redirect-url) | Send users to a page of your choice after a successful import | | **Importer window** | | | [Importer dialog size](#importer-dialog-size) | Choose a medium or large dialog on desktop screens | | [Hide cancel button](#hide-cancel-button) | Remove the **Cancel** button from the importer | | **Sheet transfer** | | | [Sheet import & export](#sheet-import-and-export) | Copy a sheet to another account or within the same account | ## Data, privacy, and security ### Server & data location Choose the geographic location of the servers and database that hold your users' data. Data residency is the geographical location where data is stored, and it usually matters for regulatory or policy reasons. The US is the default location; the other option is Europe (Germany). Data uploaded by your users then passes through servers, and is stored in a database, in the selected location only. Go to **Edit Sheets** → **Options** → **Privacy & Security** section and select the location from the dropdown. ![Data location dropdown in Privacy & Security settings](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/locations.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=107b2ce00f23caa7041963ee0c03a129) The selected location doesn't cover long-lived data about the import and the user files. This is mainly supplementary log data that helps with troubleshooting and analyzing import processes, and it doesn't include any original data from inside the user files. > [!NOTE] > > You can also choose not to store the data at all. See [File delete policy](#file-delete-policy). The diagram below shows how the data flows when Europe is the data residency location. ![Data flow with Europe selected as the data residency location](https://mintcdn.com/csvbox-io/IiJm1ajqqYICKeqw/images/data-residency-flow.svg?fit=max\&auto=format\&n=IiJm1ajqqYICKeqw\&q=85\&s=caeebf3bc8fc00f907118c49448d3ee5) ### File delete policy Decide whether CSVbox stores the files your users upload. * **Do not store the file**: User-uploaded data isn't stored in the CSVbox datastore. * **Store data**: Data is stored on CSVbox storage and auto-deleted after one month. Choose based on your privacy preferences or the requirements of the sheet. ![File delete policy options](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-33.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=093fdfdf2bca494df77238a31af69569) ### Domain authorization Run the importer on approved domains only. Go to **Edit Sheets** → **Options** → **Authorized Domains** and add the domains or subdomains where the importer may be embedded. ![Authorized Domains setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/domains.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=e8519c99e632a2acfdde113fbbfdc107) If you don't add any domain, the importer works on all domains. This is the default. Use the `*` wildcard prefix to include every subdomain: | Entry | Allowed | Not allowed | | - | - | - | | `exampleco.com` | `exampleco.com` | `www.exampleco.com`, `app.exampleco.com` | | `www.exampleco.com` | `www.exampleco.com` | `exampleco.com`, `app.exampleco.com` | | `app.exampleco.com` | `app.exampleco.com` | `exampleco.com`, `www.exampleco.com` | | `*.exampleco.com` | All `exampleco.com` subdomains | | If a domain fails validation, the user sees an **Unauthorized domain** error instead of the importer. ## File upload ### Show file upload box Allow users to upload spreadsheet files, or only to copy-paste data. To accept copy-pasted data only, hide the File Upload Box: go to sheet settings → **Display** → **File Upload** and select **No** for the **Show File Upload Box?** option. ### Worksheet selection Let users choose which worksheet to upload from an Excel file that has several. Go to sheet settings → **Display** → **File Upload** and select **Yes** for the **Allow Worksheet Selection** option. When this is set to **No**, the first worksheet is used. ### Import description Let users name or describe the file they're uploading. File names like `contacts.csv` or `Import 123.xlsx` lack context. Descriptions such as "Texas Customers" or "Parts from 2022 Catalog" make each import easier to identify. When enabled, a description box appears after the user selects the file. Go to **Sheet Settings** → **Display** tab → **File Upload** page → **Show import description** option and select **Yes**. ![Show import description option](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/import-description-option.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=7c3e9ae2b0129be0ccc14b2072d14269) The description is pushed to the destination along with the row data, in the `import_description` property: ```json theme={"dark"} { "import_id": 79418895, "sheet_id": 575, "sheet_name": "Products234248", "import_description": "Product Catalogue Jan 2024", "env_name": "default", "destination_type": "webhook" } ``` Supported destinations: * API/Webhook * Zapier * [Data at Client](/getting-started/3-receive-data#data-on-the-client-side) * [Import Complete Webhook](/getting-started/3-receive-data#import-complete-webhook) > [!NOTE] > > This feature is off by default. A description must be 3 to 100 characters long. ### Formatting in Excel files Control how dates, times, and numbers in Excel files are read. Unlike CSV files, Excel files keep formatting, formulas, and cell types. The way Excel stores **dates**, **times**, and **numbers** internally can therefore lead to unexpected values during import. CSVbox lets you choose how each of these is interpreted. > [!NOTE] > > To handle dates and numbers written in different regional styles in an uploaded file (for example, a day-first `04/05/2024` or a European `1.234,56`), see [Smart Date and Number Formats](/dashboard-settings/smart-date-and-number-formats). **Dates** Excel stores dates in one of two ways: * **As formatted text**: e.g., `"03/04/2024"` * **As numeric serial values**: e.g., `45025`, the number of days since January 1, 1900. This can cause problems with international date formats. `"03/04/2024"` might be **March 4** in the U.S. (MM/DD/YYYY) or **April 3** in Europe (DD/MM/YYYY). If Excel stores the date as a number (`45025`) and the format is misread, the result can be completely off. **Date handling options** * **Default**: Uses Excel's built-in logic to interpret the cell as a date. Best for files with consistent formatting and locale. * **MM/DD/YYYY**: Forces the **Month-Day-Year** format. Example: `"03/04/2024"` → March 4, 2024 * **DD/MM/YYYY**: Forces the **Day-Month-Year** format. Example: `"03/04/2024"` → April 3, 2024 * **Custom**: Define a format like `YYYY-MM-DD`, `DD-MMM-YYYY`, or any other pattern that matches how your file stores dates. Example: `"12-Mar-2024"` → use custom format `DD-MMM-YYYY` > [!TIP] > > If your dates are inconsistently formatted or mix text and numeric values, clean them in Excel first, or use the **Custom** option for better accuracy. **Times** Excel stores time values either as: * **Numeric fractions** of a day (e.g., `0.5` represents 12:00 PM) * **Formatted time strings** (e.g., `"14:30"`, `"2:30 PM"`, `"14:30:00"`) This causes parsing issues when some cells are numbers and others are text. For example, `0.75` might mean `6:00 PM` (75% of a day), while `"06:00"` clearly means 6 AM but may be read as a string. **Time handling options** * **Default**: Uses Excel's formatting as-is. Suitable for simple, clean files. * **HH:MM:SS**: Example: `"14:30:00"` → 2:30 PM * **HH:MM AM/PM**: Example: `"2:30 PM"` → 14:30 * **Custom**: Define your own time pattern, such as `HH:mm` or `h:mm a`, based on your file's content. **Numbers** Excel often formats numbers in a way that changes how they appear: * A raw value of `0.15` could be displayed as `15%` * A value of `1200` might appear as `$1,200.00` * A long number like `1234567890123` may be shown in scientific notation (`1.23E+12`) These formatted values can mislead the importer if you expect clean numbers. **Number interpretation options** | Option | `$1,200.00` | `15%` | `1.23E+12` | | - | - | - | - | | **Formatted Values**: imports numbers exactly as shown in Excel | `$1,200.00` | `15%` | `1.23E+12` | | **Original RAW Values**: strips formatting and imports the numeric value | `1200` | `0.15` | `1230000000000` | > [!TIP] > > Use RAW if you plan to run calculations or validations on numeric fields after import. Date formatting is set **per sheet**, during file upload setup. Number formatting is set **per column**, for finer control. #### Configure date formatting **1. Open the File Upload tab** Go to **Sheet Settings** → **Import Steps** → **File Upload** tab in your CSVbox dashboard. **2. Choose a date format** In the **Formatting in Excel** section, choose your preferred option for **Date Format**. **3. Save the configuration** Save the configuration. #### Configure number formatting **1. Edit a Number column** Go to **Sheet Settings** → **Columns** and click **Edit** on a column with type **Number**. **2. Select a Values for Excel setting** Locate the **Values for Excel** option and select your preferred interpretation. **3. Save the configuration** Save the configuration. ## Column mapping ### Mapping choice Let users map file columns to template fields, or template fields to file columns. By default, on the column mapping screen, **Template Fields** are fixed on the left and **Uploaded File Columns** appear on the right in a dropdown, so users map each file column to a template field. The **Mapping Choice** option reverses this direction. Selecting **Template Fields** as the Mapping Choice flips the layout: **File Columns** are fixed on the left, and **Template Fields** appear in the dropdown on the right. This suits different file structures and user preferences. ![Template Fields selected as the Mapping Choice](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-36.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=49ef3295ef6549c31df8704ae6099d98) > [!WARNING] > > The **Template Fields** Mapping Choice is **not compatible** with the [Ignore Columns](/sheet-settings/import-steps/map-columns) functionality. ### Zero template columns Accept file submissions without any predefined template columns. By default, CSVbox requires at least one template column for mapping. Setting **Allow Zero Template Columns** to **Yes** lets users submit files **without any predefined template columns**. Combine it with [Unmapped Columns](/sheet-settings/import-steps/map-columns) so users can upload files with **any set of columns**. ![Allow Zero Template Columns setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sleekshot-5.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=cf82c7c798bd60b5ee0929b13daee5c9) Use it when you want to accept user-defined file formats as they are, without enforcing a rigid template. > [!NOTE] > > For this feature to work effectively, set **Allow Unmapped Columns** to **Yes** along with the **Show Unmapped Columns on Validation Screen** selection. This lets users review and verify file columns before submission. ## Verify Data screen ### Export button Let users export their data, with errors highlighted, to Excel. Enable or disable the **Export** button on the Verify Data screen. The exported Excel file keeps the error highlighting and error messages, so users can fix the errors in Excel and quickly re-upload the file to CSVbox. ![Export button setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/export-settings.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=52e8916f772e8025b4d39515c97a1cef) ![Exported Excel file with error highlighting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/excel1-2.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=8d8dbf5756c477f275914165bf67b802) An exported file with error highlighting ## Import completion ### Show error text Show import failure messages to your users. When enabled, users can click the **See Errors** button on the import complete screen to see why the import failed. ![Show Error Text option in sheet settings](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/error-option.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=beba0cad2063d135dd9fe59250449540) ### Import complete messages Show your own success or failure message when an import finishes. The message can be: * **Static**: Any fixed text. * **Dynamic**: Fetched in real time from an API you provide. The importer appends metadata (`import_id`, `sheet_id`) to the API URL as query parameters, so you can return a message that fits the import. ![Import complete messages settings](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/custom-messages.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=17b29ab6194d548efaa400f8ad4c6d50) ### Resubmit button Push the same file again with one click. Show or hide the **Resubmit** button on the Import Success screen. It starts a new import that pushes the same file with the same import configuration, so you don't have to upload the file, match columns, and confirm the data again. This is useful during testing and debugging. ![Resubmit button on the Import Success screen](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/resubmit-button.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=39d6491233d6ae807fba252282bb403d) ### Custom redirect URL Send users to a page of your choice after a successful import. Specify the URL to redirect users to when an import completes successfully. ![Custom redirect URL setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/redirect-url.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=fe9163c5cc0e909e8b642b06a51eeefe) ## Importer window ### Importer dialog size Choose the size of the import dialog on large screens: **Medium** or **Large**. Pick the one that suits your import data structure (number of columns). Go to sheet settings → **Display** → **Importer Dialog Size**. ![Importer Dialog Size setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/select-size.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=514967b1f94d1ba335cc543f5026ddda) > [!NOTE] > > The dialog size applies to large (desktop) screens only. On smaller screens, the dialog always fills the entire screen. ### Hide cancel button Hide the **Cancel** button at the bottom-right corner of the importer. The **X (close)** button at the top-right corner stays. Hiding **Cancel** helps prevent users from abandoning the import by accident and keeps them focused on the **Submit** button, which suits workflows where you want to guide users toward submission. **Default**: `No` ![Hide Cancel Button setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-4.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=4f280fa735100ac0bfa8e85b7fc6ca9d) ## Sheet transfer ### Sheet import & export Export a sheet from one CSVbox account and import it into another, or duplicate it within the same account, in a few clicks. Use it to: * Move sheets between staging and production accounts * Share templates across teams * Back up sheet configurations * Reuse validated sheet structures #### Export a sheet **1. Open your sheets** Go to **Sheets** in your dashboard and locate the sheet you want to export. **2. Click Export** Click the **Export** button in the **Actions** column. A dialog opens showing: * **Sheet License Key** * **Export Key** * Options to **Copy**, **Show**, or **Regenerate** the export key. **3. Copy both keys** Copy both the **Sheet License Key** and the **Export Key**. #### Import a sheet **1. Log in to the target account** Log in to the account where you want to import the sheet. **2. Choose Import Sheet** Click **Add Sheet**, then select **Import Sheet**. **3. Paste the keys** Paste the **Sheet License Key** and the **Export Key**. **4. Click Import** Click **Import**. The entire sheet, including columns, validations, configuration, and settings, is copied into the new account. > [!NOTE] > > The imported sheet gets a **new License Key**. The original sheet, and its existing imports and data, are not affected. # Sheet Tags Source: https://help.csvbox.io/dashboard-settings/sheet-tags Group, find and filter your sheets on the Sheets page by attaching color-coded tags to them. ### What it does As the number of sheets in your account grows, finding the right one gets harder. **Sheet Tags** let you attach short labels, such as `Customers`, `Finance` or `Staging`, to your sheets so you can group them and filter the Sheets page down to what you need. Tags belong to your account and are shared with everyone on your team. A sheet can carry many tags, and a tag can be used on many sheets. ### How tags work * **Account level:** Tags belong to one account, either a team or a personal account. They are never visible in another team or account. * **Many to many:** One sheet can have several tags, and one tag can be on several sheets. * **Names:** A tag name can be up to 100 characters. Names are trimmed, and they are unique in an account regardless of capital letters, so `Équipe` and `équipe` are the same tag. If you create a name that already exists, CSVBox uses the existing tag instead of making a duplicate. * **Colors:** Every tag has a color from a fixed palette. A new tag automatically gets the color used the least in your account, so tags stay easy to tell apart. You can change the color at any time from the tag settings page. * **Deleting a tag:** Removes the tag from every sheet it was on. The sheets themselves are not changed. ### Add tags to a sheet 1. Go to the **Sheets** page 2. Click **+ Tag** on the sheet you want to tag 3. In the picker, search for an existing tag and tick it to add it, or untick it to remove it 4. To create a new tag, type its name and press **Enter** or click **Create** > [!NOTE] > > If the name you type is longer than 100 characters, the picker shows an error and the tag is not created. Each sheet row shows its first two tags as chips, followed by **+N more** if there are others. To remove a tag from a sheet, click the remove icon on its chip. Only that row updates. ### Filter sheets by tag Use the filter dropdown on the **Sheets** page to narrow down the list. * Tick one or more tags to see sheets that have **any** of the selected tags. * The tag filter works together with the title search, so you can search within a tag. * The selected tags are kept in the page address (for example `?tagFilter[0]=5`). The filter stays after a refresh, and you can share the link with a teammate who has access to the same account. ### Manage tags Open the [Tags](https://app.csvbox.io/user/tags) page, or click a **Manage tags** link in the picker or filter, to manage all tags in one place. From here you can: * Create a tag * Rename a tag * Change the color of a tag * Delete a tag * See how many sheets each tag is used on * Search and page through your tags ### Who can use tags | Action | Super Admin | Admin | Tech | Finance | | - | - | - | - | - | | See tags on sheets and filter by tag | ✔ | ✔ | ✔ | | | Add or remove tags on a sheet | ✔ | ✔ | ✔ | | | Create, rename, recolor and delete tags | ✔ | ✔ | ✔ | | | Open the **Tags** settings page | ✔ | ✔ | ✔ | | Anyone who can see the Sheets page can view tags and filter by them. See [Teams](/account/teams) for more about roles. ### Tags when you copy a sheet | Copy type | What happens to tags | | - | - | | **Copy as new sheet** within the same account | The new sheet gets the same tags | | **Copy as new sheet** to another team or account | No tags are copied, so your tag names never appear in another account | | **Copy settings onto an existing sheet** | Tags are not touched. The target sheet keeps its own tags | ### Examples | Goal | How to do it | | - | - | | Group sheets by customer | Create a tag per customer and tick it on each of their sheets. Filter by that tag to see them together | | Separate environments | Tag sheets `Production` or `Staging`, and filter by one of them while testing | | See several groups at once | Tick more than one tag in the filter. Sheets with any of them are shown | | Share a view with a teammate | Apply your filter and copy the page address | ### Limitations * Tag names are limited to 100 characters. * Tags are not shared between teams or accounts, and they are not copied when a sheet is copied to another account. * The filter shows sheets with **any** selected tag, not only sheets with all of them. * Tags are used for organizing sheets in the dashboard. They are not part of the importer your end users see, and they are not sent to your destination with imported data. ### Troubleshooting | What you see | Why | What to do | | - | - | - | | No **+ Tag** option or remove icon | Your role cannot edit sheets | Ask a Super Admin, Admin or Tech user to make the change | | No **Tags** page or **Manage tags** link | Your role does not have access to tag settings | Ask a Super Admin, Admin or Tech user | | The tag picker says the name is too long | The name is over 100 characters | Use a shorter name | | Creating a tag did not add a new one | A tag with the same name already exists, ignoring capital letters | Use the existing tag | | A copied sheet has no tags | It was copied to another team or account, or onto an existing sheet | Add the tags again on the copied sheet | | A shared filter link shows no tags selected | The tags belong to a different account than the one the person is using | Open the link in the same account | # Smart Date and Number Formats Source: https://help.csvbox.io/dashboard-settings/smart-date-and-number-formats Automatically convert dates and numbers written in different regional formats, and ask users only when a value is unclear. Smart Date and Number Formats convert dates and numbers written in other regional styles into the format your column expects, and ask the user only when a value could mean two different things. ## What it does Files from different countries write the same date or number differently. `04/05/2024` is 4 May in the UK and 5 April in the US. `1,234` is one thousand two hundred thirty-four in the US and one point two three four in much of Europe. If the importer guesses wrong, valid data is rejected or, worse, imported with the wrong meaning. With Smart Date and Number Formats, CSVbox reads the Date, Number, Currency, and Percentage columns before the user reaches the Verify Data step. Values that can be read only one way are converted into the format your column expects. When a value could mean two different things, the user is asked once how to read it. Nothing is imported until the question is answered or skipped. ## How to enable it **1. Open the sheet settings** Go to your **Sheet Settings**. **2. Open the Verify Data tab** Click the **Import Steps** tab, then navigate to the **Verify Data** tab. **3. Turn on date correction** Set **Date correction?** to **Yes**. The default value is `No`. **4. Save your settings** Save your settings. While the setting is off, values are validated as they are, so a day-first date in a month-first column shows as invalid. > [!TIP] > > To try it out, upload a file with an unclear date and an unclear number through **Test Importer**, answer the question, and check the Verify Data screen without submitting. ## Set the format each column expects The feature always converts **into** the format configured on the column, so set your column types carefully under **Sheet Settings** → **Columns** → **Edit**. See [Validations](/dashboard-settings/validations) for the full list of column types. | Column type | What you set | What you receive | | - | - | - | | **Date** | `Date Format`, such as `MM/DD/YYYY`, `DD/MM/YYYY`, `YYYY-MM-DD`, `DD-MMM-YYYY`, a custom format, or several formats | Every date rewritten to your format. With several formats, clear dates use the first and a picked day/month order uses the format written in that order | | **Date with a time** | A format such as `MM/DD/YYYY HH:mm` | The date part rewritten. The time stays exactly as in the file | | **Number** | `Allow commas` on or off | Off: plain digits with a `.` decimal (`1234.56`). On: US style with commas (`1,234.56`), which is left as written | | **Percentage** | Nothing extra | A plain number, with the `%` kept as written (`12,5%` becomes `12.5%`) | | **Currency** | Its own thousands and decimal separators | Values that already match are left alone | > [!TIP] > > For a worldwide audience, a Number column with `Allow commas` off is the most predictable: you receive plain numbers whatever the file looked like. ## What happens during upload The import flow stays the same: upload, select the header row, map columns, then Verify Data. The extra step happens right before Verify Data. ### When the file is clear If every value can be read only one way, CSVbox converts it quietly and goes straight to Verify Data. No question is shown. Examples: * `13/02/2024` (there is no 13th month, so it is day-first) * `1.234,56` (this can only be European style) * `2024-04-19` (year first) * `1 234,56`, `12,34,567.89` * `4 May 2026`, `May 4, 2026`, `04-May-2026` (an English month name can only mean one date) The same happens when the clear values show that the file already uses your column's day/month order. Values written differently, such as another separator (`13.02.2024`, `13-02-2024`) or no leading zero (`5/4/2024`), are rewritten into your format, and values that are already correct are left alone. ### When a value could mean two things The user sees a card with the column name and the two possible readings. For example: > **How should we read dates in this column?** > > `12/11/2024` means: > > * **11/12/2024**, 12 November 2024 · DD/MM/YYYY > * **12/11/2024**, 11 December 2024 · MM/DD/YYYY or: > **How should we read numbers in this column?** > > `1,234` means: > > * 1234, the comma separates thousands > * 1.234, the comma is the decimal point * The bold date is what will be imported, written in your sheet's own date format (here `MM/DD/YYYY`). A sheet set to `DD-MM-YYYY` offers `DD-MM-YYYY` and `MM-DD-YYYY`. * When the rest of the file points one way, that choice is marked **suggested**. * If several columns need a question, the user sees **1 of 2**, **2 of 2**, and a **Back** button. * The question appears in the importer's language. ### What each answer does * **Pick a reading**: every value in that column is rewritten into your column's format. Values that were already clear are converted as well, so the column ends up consistent. * **Keep original**: nothing in that column is changed. Values the importer can't accept show as **Invalid** on the Verify Data screen, where the user can fix or remove them. > [!NOTE] > > The user can't reach **Submit** while a question is open. They have to answer it or choose **Keep original**. On the Verify Data screen, converted columns already show the new values in your column's format, so what the user sees is what will be imported. If the default view under **Verify Data** is set to invalid rows only and the conversion fixes every value, CSVbox opens on All rows instead of an empty screen. ## Examples | Column | File says | Result | | - | - | - | | Date (`MM/DD/YYYY`) | `13/02/2024`, `14/03/2024`, `12/11/2024` | No question: the first two prove day-first. All become `02/13/2024`, `03/14/2024`, `11/12/2024` | | Date (`MM/DD/YYYY`) | `04/05/2024`, `06/07/2024` | Question, since each date could be read both ways. The answer decides | | Date (`MM/DD/YYYY HH:mm`) | `13/02/2024 14:30` | Asked if unclear, then `02/13/2024 14:30` | | Number (commas off) | `123,456.78`, `456,789.12` | No question. Becomes `123456.78`, `456789.12` | | Number (commas off) | `1,234`, `2,345` | Question: thousands or decimal | | Number (commas off) | `1.234`, `2.345` | Already valid plain decimals, so left alone | | Number (commas on) | `123,456.78` | Already valid. Left as it is | | Percentage | `12,5%`, `7,25%` | Becomes `12.5%`, `7.25%` | | Percentage | `1,250%`, `2,500%` | Question: thousands or decimal, `%` kept | ## Limitations * It doesn't guess when a value is truly unclear. It asks the user. * It covers **Date, Number, Currency, and Percentage** columns only. * It doesn't change the meaning of a time (no 12 to 24 hour conversion) or fix typos. * If your `Date Format` has a time, files must include one for each date. A date written without a time is flagged as invalid. * Only English month names are recognized. * A cell the user edited by hand is left alone if they change an answer later. * Values themselves are never translated. ## Troubleshooting | What you see | Why | What to do | | - | - | - | | No question ever, and dates or numbers show Invalid | **Date correction?** is set to No | Set it to Yes under **Import Steps** → **Verify Data** | | Every date is Invalid and no question appears for a column with a time | Dates in the file have no time but the format requires one | Add the time to the file, or use a date-only format | | Verify Data is empty with "No data found" | The screen was showing a filtered view with no matches | Click **All**. Current versions open on All rows automatically when the conversion fixes every value | | The question looks wrong for one value | The file mixes styles | Choose **Keep original** and fix the few values on Verify Data | # Split Large CSV Source: https://help.csvbox.io/dashboard-settings/split-large-csv Automatically split large CSV files into smaller parts for faster, more reliable imports with improved browser performance. Uploading very large CSV files can cause browser slowdowns, high memory usage, or upload timeouts, especially when files contain thousands of rows. The **Split Large Files** feature solves this by automatically dividing large CSV files into smaller parts and processing them sequentially behind the scenes. Each part: * Preserves the original headers and column structure * Reuses the same column mappings automatically * Is processed independently for improved reliability * Remains grouped under a single parent import for easier tracking This makes large imports significantly more stable and easier to manage. ## When does file splitting activate? File splitting activates only when **all** of the following conditions are met: * The uploaded file is a **CSV** file (`.xlsx` Excel files are not currently supported). * **Split Large Files** is enabled for the sheet. * The uploaded file exceeds the configured **Rows per Import** limit. ## Admin configuration Enable the feature per sheet from **Sheet Settings** → **Import Steps**. ### Split Large Files | Setting | Options | Default | | - | - | - | | Split Large Files | Yes / No | No | Enable this setting to automatically split large CSV uploads into smaller parts. When disabled, the entire CSV file is processed as a single upload. ### Rows per Import | Setting | Type | Default | | - | - | - | | Rows per Import | Number | 1000 | Defines the maximum number of rows processed in each part. #### Example If a CSV contains **4,500 rows** and the limit is set to **1,000 rows**, CSVbox processes the file in: * Part 1 → Rows 1–1000 * Part 2 → Rows 1001–2000 * Part 3 → Rows 2001–3000 * Part 4 → Rows 3001–4000 * Part 5 → Rows 4001–4500 #### Choosing the right value | Smaller parts | Larger parts | | - | - | | Faster processing per upload | Fewer total parts | | Lower browser memory usage | Higher memory usage | | Better reliability for large datasets | Faster overall completion for moderate files | > [!TIP] > > For most use cases, **1,000–5,000 rows per part** works well. ### User Confirmation between parts | Setting | Options | Default | | - | - | - | | User Confirmation | No / Yes / No, only if there are no errors | No | Controls whether users must manually continue between parts. #### Available modes | Mode | Behavior | | - | - | | No | All parts upload automatically | | Yes | User must confirm before each next part uploads | | No, only if there are no errors | Upload continues automatically unless a part contains validation errors | For the smoothest experience, use **No**. ## End user experience **1. Upload a CSV file** The user uploads a CSV file normally through the importer. If the file exceeds the configured row limit, CSVbox automatically prepares the file for multipart processing. **2. Review the split notification** Before processing begins, the user sees a notification such as: > **Large file detected** > > We'll split this file into smaller parts (X rows each) for smoother processing. Each part will be uploaded automatically, and your column mappings will be reused. The user can then: * **Start Upload**: continue processing. * **Cancel**: cancel the upload. **3. Map columns (first part only)** The first part behaves exactly like a normal CSVbox import. The user: * Maps columns * Reviews data * Fixes validation issues if needed * Submits the import CSVbox automatically reuses the same mappings for all remaining parts. The user does **not** need to map columns again. **4. Let the remaining parts process automatically** After the first part is submitted, remaining parts are processed automatically. A progress indicator shows overall upload progress, for example: ```text theme={"dark"} Processing (2/5) 2,000 / 5,000 rows processed ``` Depending on the confirmation mode, the user may or may not be prompted between parts. **5. Complete the import** Once all parts finish processing: * The multipart upload is marked as completed. * All parts remain grouped under a single parent import. * Users can review part-level details if needed. ## Viewing multipart imports Multipart uploads appear as a single grouped import on the **All Imports** page. CSVbox automatically tracks: * Overall import status * Number of processed parts * Row counts * Failed or partial parts ### Multipart import statuses | Status | Meaning | | - | - | | Success | All parts processed successfully | | Processing | Upload is still running | | Partial Failure | Some parts failed | | Failed | Entire upload failed | ### Viewing part details Opening the import details shows information for each individual part. | Column | Description | | - | - | | Part | Part sequence number | | Status | Success / Failed / Processing | | Rows | Rows processed in that part | | Import ID | Individual import reference | | Errors | Validation or processing errors | ## Import limits and billing Multipart uploads count as **a single import** toward your plan limits. For example: * A 10-part upload = **1 import** * A 50-part upload = **1 import** Individual parts are not counted separately. ## Reliability and error handling Each part is processed independently for improved stability. This means: * A failure in one part doesn't invalidate already completed parts. * Failed parts can be retried individually. * Successfully processed parts remain intact. ### If a part fails If a part encounters validation errors or processing failures: * The multipart upload is marked as **Partial Failure**. * Error details are available for the failed part. * Successfully processed parts remain unaffected. ### If the browser is closed mid-upload If the browser closes before processing completes: * Completed parts remain saved. * Remaining parts stop processing. * The upload status reflects the completed progress. > [!WARNING] > > Keep the browser open until the upload finishes. ## Limitations ### Excel files are not supported Currently, multipart processing supports **CSV files only**. Excel (`.xlsx`) files are processed as a single upload regardless of size. If needed, convert Excel files to CSV before uploading. ### Maximum parts per upload To ensure reliable processing, a single upload can generate up to **100 parts**. If splitting the file at the configured row limit would produce more than 100 parts, the upload stops with an error message. In this case, either: * Increase the **Rows per Import** value, or * Split the source CSV manually before uploading. ## Best practices For optimal performance: * Use CSV files instead of Excel for very large datasets. * Keep row limits between **1,000–5,000**. * Enable automatic uploads when possible. * Use smaller part sizes for slower devices or lower-memory environments. ## FAQ ### Do all parts use the same column mapping? Yes. Once the first part is mapped, CSVbox automatically reuses the same mapping for all remaining parts. ### Are parts sent separately to destinations? Yes. Each part is processed independently and sent separately to the configured destination. ### Can users retry failed parts? Yes. Failed parts can be retried individually without re-uploading the full file. ### Can I disable this feature for specific users? No. The feature is configured per sheet, not per user. If different users require different behavior, create separate sheets with different settings. # Validations Source: https://help.csvbox.io/dashboard-settings/validations Column data types and validation options that check the format of incoming data in the importer. Validations check every incoming value against the rules you set for its column. When data doesn't match, users see an error message that explains the problem and how to fix it, so only clean data reaches your destination. ## Column data types While creating a sheet, you can set each column to any of the data types below. If the incoming CSV data doesn't match the column data type (and its validation rules), the user sees an error message identifying the problem and how to fix it. ### Text This is the default column data type. It accepts any alphanumeric string. Use the `Min Length` and `Max Length` parameters to specify the acceptable length of the text data. ### UUID The column must contain a valid UUID. ### Number The **Number** column data type accepts integer and float strings only. Use the `Min Value` and `Max Value` parameters to specify the acceptable range of numbers. #### Values for Excel setting When importing data from Excel files, you may run into unexpected issues because of the way Excel internally stores and formats values, especially **Numbers**. Excel often applies formatting to numeric values that changes how they appear: * A raw value of `0.15` could be displayed as `15%` * A value of `1200` might appear as `$1,200.00` * A long number like `1234567890123` may be auto-converted to scientific notation (`1.23E+12`) These formatted displays can mislead the importer if you're expecting clean numbers. CSVbox lets you choose how values are interpreted for numeric columns: * **Formatted Values**: Imports numbers exactly as shown in Excel. Examples: * `$1,200.00` stays `$1,200.00` * `15%` stays `15%` * `1.23E+12` stays in scientific notation * **Original RAW Values**: Strips all formatting and imports the core numeric value. Examples: * `$1,200.00` → `1200` * `15%` → `0.15` * `1.23E+12` → `1230000000000` > [!TIP] > > Use RAW if you're planning to run calculations or validations on numeric fields post-import. > [!NOTE] > > If your users upload files from different regions, turn on [Smart Date and Number Formats](/dashboard-settings/smart-date-and-number-formats) to handle numbers written with different thousands and decimal separators, such as `1,234.56` and `1.234,56`. ### Percentage The column must contain a valid **percentage** value. You can specify `Min` and `Max` values, and use the `Output` setting to control whether the percentage is stored as a value such as `50%` or `50`. Percentage values are normalized in the data worker. ### Email The column must be formatted as an email address. ### Date The column must be formatted as a date. Select a `Date Format` from the dropdown list to specify the acceptable format. The default format is `MM/DD/YYYY`. If your format isn't in the list, provide a custom format using the formatting tokens below. | Unit | Token | Output | | - | - | - | | **Month** | M | 1 2 ... 11 12 | | | Mo | 1st 2nd ... 11th 12th | | | MM | 01 02 ... 11 12 | | | MMM | Jan Feb ... Nov Dec | | | MMMM | January February ... November December | | **Quarter** | Q | 1 2 3 4 | | | Qo | 1st 2nd 3rd 4th | | **Day of Month** | D | 1 2 ... 30 31 | | | Do | 1st 2nd ... 30th 31st | | | DD | 01 02 ... 30 31 | | **Day of Year** | DDD | 1 2 ... 364 365 | | | DDDo | 1st 2nd ... 364th 365th | | | DDDD | 001 002 ... 364 365 | | **Day of Week** | d | 0 1 ... 5 6 | | | do | 0th 1st ... 5th 6th | | | dd | Su Mo ... Fr Sa | | | ddd | Sun Mon ... Fri Sat | | | dddd | Sunday Monday ... Friday Saturday | | **Day of Week (Locale)** | e | 0 1 ... 5 6 | | **Day of Week (ISO)** | E | 1 2 ... 6 7 | | **Week of Year** | w | 1 2 ... 52 53 | | | wo | 1st 2nd ... 52nd 53rd | | | ww | 01 02 ... 52 53 | | **Week of Year (ISO)** | W | 1 2 ... 52 53 | | | Wo | 1st 2nd ... 52nd 53rd | | | WW | 01 02 ... 52 53 | | **Year** | YY | 70 71 ... 29 30 | | | YYYY | 1970 1971 ... 2029 2030 | | | YYYYYY | -001970 -001971 ... +001907 +001971. **Note:** [Expanded Years](https://tc39.es/ecma262/#sec-expanded-years) (covering the full time value range of approximately 273,790 years forward or backward from 01 January, 1970) | | | Y | 1970 1971 ... 9999 +10000 +10001. **Note:** This complies with the ISO 8601 standard for dates past the year 9999 | | **Era Year** | y | 1 2 ... 2020 ... | | **Era** | N, NN, NNN | BC AD. **Note:** Abbr era name | | | NNNN | Before Christ, Anno Domini. **Note:** Full era name | | | NNNNN | BC AD. **Note:** Narrow era name | | **Week Year** | gg | 70 71 ... 29 30 | | | gggg | 1970 1971 ... 2029 2030 | | **Week Year (ISO)** | GG | 70 71 ... 29 30 | | | GGGG | 1970 1971 ... 2029 2030 | | **AM/PM** | A | AM PM | | | a | am pm | | **Hour** | H | 0 1 ... 22 23 | | | HH | 00 01 ... 22 23 | | | h | 1 2 ... 11 12 | | | hh | 01 02 ... 11 12 | | | k | 1 2 ... 23 24 | | | kk | 01 02 ... 23 24 | | **Minute** | m | 0 1 ... 58 59 | | | mm | 00 01 ... 58 59 | | **Second** | s | 0 1 ... 58 59 | | | ss | 00 01 ... 58 59 | | **Fractional Second** | S | 0 1 ... 8 9 | | | SS | 00 01 ... 98 99 | | | SSS | 000 001 ... 998 999 | | | SSSS ... SSSSSSSSS | 000\[0..] 001\[0..] ... 998\[0..] 999\[0..] | | **Time Zone** | z or zz | EST CST ... MST PST. **Note:** as of **1.6.0**, the z/zz format tokens have been deprecated from plain moment objects. [Read more about it here.](https://github.com/moment/moment/issues/162) However, they *do* work if you are using a specific time zone with the moment-timezone addon. | | | Z | -07:00 -06:00 ... +06:00 +07:00 | | | ZZ | -0700 -0600 ... +0600 +0700 | | **Unix Timestamp** | X | 1360013296 | | **Unix Millisecond Timestamp** | x | 1360013296123 | For example, the token string `dddd, MMMM Do YYYY, h:mm:ss a` requires the date to be in the format `Sunday, February 14th 2010, 3:25:50 pm`. > [!NOTE] > > If your users upload files from different regions, turn on [Smart Date and Number Formats](/dashboard-settings/smart-date-and-number-formats) to convert dates into your `Date Format` and ask the user when a date such as `04/05/2024` could be read two ways. ### Time The column must be formatted as a time. Select a `Time Format` from the dropdown list to specify the acceptable format. The default format is `HH:mm:ss`. If your format isn't in the list, provide a custom format using the formatting tokens below. | Unit | Token | Output | | - | - | - | | **AM/PM** | A | AM PM | | | a | am pm | | **Hour** | H | 0 1 ... 22 23 | | | HH | 00 01 ... 22 23 | | | h | 1 2 ... 11 12 | | | hh | 01 02 ... 11 12 | | | k | 1 2 ... 23 24 | | | kk | 01 02 ... 23 24 | | **Minute** | m | 0 1 ... 58 59 | | | mm | 00 01 ... 58 59 | | **Second** | s | 0 1 ... 58 59 | | | ss | 00 01 ... 58 59 | | **Fractional Second** | S | 0 1 ... 8 9 | | | SS | 00 01 ... 98 99 | | | SSS | 000 001 ... 998 999 | | | SSSS ... SSSSSSSSS | 000\[0..] 001\[0..] ... 998\[0..] 999\[0..] | | **Time Zone** | z or zz | EST CST ... MST PST. **Note:** as of **1.6.0**, the z/zz format tokens have been deprecated from plain moment objects. [Read more about it here.](https://github.com/moment/moment/issues/162) However, they *do* work if you are using a specific time zone with the moment-timezone addon. | | | Z | -07:00 -06:00 ... +06:00 +07:00 | | | ZZ | -0700 -0600 ... +0600 +0700 | | **Unix Timestamp** | X | 1360013296 | | **Unix Millisecond Timestamp** | x | 1360013296123 | ### IANA timezone The column must contain a valid IANA timezone. CSVbox validates the timezone and normalizes timezone values during processing. ### Boolean The column must be castable as a boolean. Accepted inputs are `true`, `false`, `TRUE`, `FALSE`, `1`, `0`, `yes`, `no`, `y`, `n`, `on`, `off`, `enabled`, and `disabled`. #### Display as checkbox Turn on **Display as checkbox** to show a checkbox in each cell of the column on the **Verify Data** step. Instead of validating against the accepted values above, the importer converts every value to `true` or `false`, so users tick or untick boxes and the column never shows a validation error. | Value in the file | Result | | - | - | | Blank, `0`, `off`, `n`, `no`, `false`, `disabled` | Unchecked (`false`) | | Anything else, such as `1`, `yes`, `true`, or `on` | Checked (`true`) | Matching ignores capital letters and surrounding spaces. The destination receives the converted `true` or `false` value. See [Data Destinations](/destinations) for how each destination handles it. > [!WARNING] > > Any text that isn't in the unchecked list is treated as checked, so a value such as `maybe` or `N/A` becomes `true`. To reject unexpected values, keep this option off. On the **Verify Data** step, a click selects a cell and a second click on the selected cell flips the checkbox. Double-clicking or pressing **Space** also flips it. Sorting groups checked rows together, and search, filter, and Find and Replace match by meaning, so searching for `y` finds every checked cell. When Find and Replace is set to **All columns**, it matches the literal text instead. **Default value:** Off ### Regex The column data must match the given regular expression. Specify the `Regex`, and the importer pattern-matches it against the incoming data. ### JSON The column must contain valid JSON data. ### IP The column must be an IP address. Select the `IP Version`. ### URL The column must be a valid URL. ### Domain The column must contain a valid domain name. ### Credit card The column must be formatted as a credit card number. Acceptable formats are `5555555555554444`, `5555-5555-5555-4444`, and `5555 5555 5555 4444`. ### UPC The column must contain a valid UPC product barcode. ### EAN The column must contain a valid EAN product barcode. ### IMEI The column must contain a valid IMEI number. ### Phone number The column is validated for phone number formats based on the [libphonenumber.js library](https://catamphetamine.gitlab.io/libphonenumber-js/). Select a default country code. If an incoming phone number has no country code, the default country code is used for validation. ### Currency The column data must be in a currency amount format. You can specify currency formatting options based on the [Validator.js library](https://github.com/validatorjs/validator.js). ### Currency code The column must contain a valid currency code. ### List With the **List** data type, you specify a list of acceptable values. The importer compares the CSV column data with the list and throws a validation error if there's a mismatch. You specify a list of acceptable `Values` and related `Display Labels`. The importer matches the column data with the list of `Display Labels`. If the data passes validation, the `Values` corresponding to the `Display Labels` are pushed to the destination. For example, say you configure the List column as shown below: ![List data type configuration](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/list.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=7c010c472d673c452ad611ddd68e85a5) In this case, the acceptable data in the CSV column is `Small`, `Medium`, and `Large`. Based on the actual data in the user's CSV, the values `s`, `m`, or `l` are pushed to your data destination. This lets you accept readable values from your users while pushing data in a format your system understands. #### Allow other values Selecting the **Accept Other Values** option allows users to input values that aren't in the predefined list of acceptable values. ![Accept Other Values option for a List column](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/list-allow-all-values.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=370287f2a3ec35b9aecc259ddb15da40) #### Accept list values When you enable this option, the importer accepts List **Values** interchangeably with **Display Labels** as valid data for the column. ![List items with values and display labels](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/list-values.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=e72eaf852d3622916345364ccb28ea40) Refer to the list of items in the image above. If the column contains the value `NYC`, the importer fails validation, because it only accepts the display label `New York City`. To make the importer accept `NYC` as well, activate the **Accept List Values** option. ### Dependent list Sometimes you may want to use more than one list, so that the items available in a second drop-down list depend on the selection made in the first. These are dependent lists. Below is an example of a dependent list. ![Example of a dependent list where cities depend on the selected country](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-12.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=7dccf196cb1589174de6cce038988e62) The options in the City column depend on the selection made in the Country column. If you select `USA` in Drop Down 1, you see cities from the USA; if you select `Canada` in Drop Down 1, you see cities from Canada in Drop Down 2. You can achieve the same functionality in CSVbox with a combination of [List](/dashboard-settings/validations#list) and Dependent List column types (or a combination of [Dynamic List](/dashboard-settings/validations#dynamic-list) and [Dependent Dynamic List](/dashboard-settings/validations#dependent-dynamic-list) column types). To create conditional lists using the example above: **1. Create the primary column** Create a column `Country`. Set its column type to **List**. **2. Create the dependent column** Create a column `City`. Set its column type to **Dependent List**, and select `Country` as the **Primary** column. ![Dependent List column with Country selected as the primary column](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/cols.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=c2632f45673369d915a841306cb4fd18) **3. Add the primary values** Go back to the `Country` column and add the list of valid values. **4. Add the dependent values** For each valid country value, add dependent (city) values as shown below. ![Adding dependent city values to a country value](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/dependents.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=dd90fb43e3ae4876e3140c8ebcdfa2f4) > [!WARNING] > > * If you change the name of the primary column or reorder the priority of any of the columns, reassign the primary column in the Dependent List column settings. > * The Display Label and the Value must be unique across all items. Primary items can't share dependents that have the same Display Label and/or the same Value. ### Dynamic list This is similar to the **List** type above: the importer validates the column data against a list of values. However, instead of providing a static list, the **Dynamic List** column type lets you supply the list of acceptable values in real time via an API. The API must return the list of values in the JSON format shown below. ```json theme={"dark"} [ {"value": "uk", "display_label": "England"}, {"value": "us", "display_label": "United States"}, {"value": "au", "display_label": "Australia"} ] ``` For each list item, the `value` field is mandatory, while `display_label` is optional. You can attach the [custom user attributes](/getting-started/2-install-code#referencing-the-user) as query parameters to the Dynamic List API request. The `csvbox_` prefix is added to the custom user attribute query parameters. This helps you identify the users or environment and return a relevant list of values. To authenticate the requests, pass the authorization headers via the [`dynamic_list_request_headers`](/getting-started/2-install-code#dynamic_list_request_headers) initialization option. ### Dependent dynamic list Sometimes you may want to use more than one list, so that the items available in a second drop-down list depend on the selection made in the first. These are dependent lists. Below is an example of a dependent list. ![Conditional dependent list](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/conditional-list.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=b357aac0eca74435b9c350089046ffdd) The options in the City column depend on the selection made in the Country column. If you select `USA` in Drop Down 1, you see cities from the USA; if you select `Canada` in Drop Down 1, you see cities from Canada in Drop Down 2. You can achieve the same functionality in CSVbox with a combination of [Dynamic List](/dashboard-settings/validations#dynamic-list) and Dependent Dynamic List column types (or a combination of [List](/dashboard-settings/validations#list) and [Dependent List](/dashboard-settings/validations#dependent-list) column types). To create conditional lists using the example above: **1. Create the primary column** Create a column `Country`. Set its column type to **Dynamic List**. **2. Create the dependent column** Create a column `City`. Set its column type to **Dependent Dynamic List**, and select `Country` as the **Primary** column. ![Dependent column with Country selected as the primary column](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/cols.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=c2632f45673369d915a841306cb4fd18) **3. Configure the API** Go back to the `Country` column and configure the API that fetches valid values from your application for `Country` as well as its dependent column, `City`. Your API must return the list of values in the JSON format shown below. ```json theme={"dark"} [ {"value": "USA", "display_label": "USA", "dependents": [ {"value": "ny", "display_label": "New York"}, {"value": "ch", "display_label": "Chicago"}, {"value": "se", "display_label": "Seattle"}, {"value": "mi", "display_label": "Miami"} ]}, {"value": "Canada", "display_label": "Canada", "dependents": [ {"value": "to", "display_label": "Toronto"}, {"value": "va", "display_label": "Vancouver"} ]} ] ``` The `dependents` object contains the list of valid values for the dependent column based on the primary column value. > [!WARNING] > > * If you change the name of the primary column or reorder the priority of any of the columns, reassign the primary column in the Dependent Dynamic List column settings. > * The Display Label and the Value must be unique across all items. Primary items can't share dependents that have the same Display Label and/or the same Value. ### Multi-select list The **Multi-select List** data type is similar to the [List](/dashboard-settings/validations#list) data type: you specify a list of acceptable values. While the **List** data type accepts only one value per cell, the **Multi-select List** accepts multiple comma-separated values. ![Multi-Select List](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/multi-select-list.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=90d993400baf47ba20e50fddebb37c68) Multi-Select List The importer compares the values in the incoming data with the list of acceptable values and throws a validation error if there's a mismatch. #### Allow other values Selecting the **Accept Other Values** option allows users to input values that aren't in the predefined list of acceptable values. ![Accept Other Values option for a Multi-select List column](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/other-values-multi-select.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=37e4fb5fd7c576b4aa9f4eacdaf4198c) ### Dynamic multi-select list This is similar to the **Multi-select List** type above: the importer accepts multiple comma-separated values. However, instead of providing a static list, you supply the list of acceptable values in real time via an API. The API must return the list of values in the JSON format shown below. ```json theme={"dark"} [ {"value": "Red"}, {"value": "Green"}, {"value": "Blue"} ] ``` The importer attaches the [custom user attributes](/getting-started/2-install-code#referencing-the-user) as query parameters to the Dynamic List API request. The `csvbox_` prefix is added to the custom user attribute query parameters. This helps you identify the users or environment and return a relevant list of values. To authenticate the requests, pass the authorization headers via the [`dynamic_list_request_headers`](/getting-started/2-install-code#dynamic_list_request_headers) initialization option. ## Other validation options ### Column required Check or uncheck the `Required` checkbox in the **Column Settings** window. When it's ticked, the column data must be present and not empty. > [!NOTE] > > **Required** isn't available for Boolean columns that use [Display as checkbox](/dashboard-settings/validations#display-as-checkbox). A blank value is a valid `false` there. # Data Destinations Source: https://help.csvbox.io/destinations Destinations where CSVbox can push the data your users upload, from webhooks and databases to cloud storage and no-code apps. A destination is where the importer pushes the data your users upload. You choose it per sheet in the sheet settings, and CSVbox delivers every validated import there automatically. > [!NOTE] > > Only one destination can be selected per sheet at a time. ## Supported destinations | Destination | Category | | - | - | | [None](/destinations/none) | No delivery; files stay downloadable in CSVbox | | [Test API](/destinations/test-api) | Testing endpoint | | [API / Webhook](/destinations/api-webhook) | Webhook | | [Amazon S3](/destinations/amazon-s3) | File storage | | [Google Cloud Storage](/destinations/google-cloud-storage) | File storage | | [FTP Server](/destinations/ftp-server) | File storage | | [MySQL](/destinations/mysql) | Database | | [PostgreSQL](/destinations/postgresql) | Database | | [SQL Server](/destinations/sql-server) | Database | | [MongoDB](/destinations/mongodb) | Database | | [Google Sheets](/destinations/google-sheets) | Spreadsheet | | [Airtable](/destinations/airtable) | Spreadsheet database | | [Bubble.io](/destinations/bubble-io) | No-code app | | [Notion](/destinations/notion) | Workspace database | | [Zapier](/destinations/zapier) | Automation platform | | [Webflow](/destinations/webflow) | CMS | | [Hasura](/destinations/hasura) | GraphQL API | | [Softr](/destinations/softr) | No-code app | | [Google BigQuery](/destinations/google-bigquery) | Data warehouse | | [Supabase](/destinations/supabase) | Database | | [Neon](/destinations/neon) | Database | | [Xano](/destinations/xano) | No-code backend | | [Xero](/destinations/xero) | Accounting | | [Open API](/destinations/openapi) | Any OpenAPI-described API | | [n8n](/destinations/n8n) | Automation platform | | [Pipedream](/destinations/pipedream) | Automation platform | | [Automation Platforms](/destinations/automation-platforms) | Make, Workato, and other automation tools | | [Private Mode](/destinations/private-mode) | Client-side only processing | Each destination has a full setup guide on its own page. The sections below summarize the destinations that are built into the sheet settings. ## None The user-uploaded data isn't pushed anywhere. The files are, however, available for download via the CSVbox admin. More information [here](/destinations/none). ## Test API A lightweight destination that posts every successful import to a unique `webhooks.csvbox.io` URL, so you can validate your setup before wiring up your own backend. For initial testing only. More information [here](/destinations/test-api). ## API / Webhook Push the data to a webhook endpoint of your own as JSON, XML, or FORM Data, in chunks of rows. More information [here](/destinations/api-webhook). ## Amazon S3 Push the files your users upload to the AWS S3 bucket of your choice, in CSV or JSON format. More information [here](/destinations/amazon-s3). ## Google Cloud Storage Send every import to a bucket in your own Google Cloud Storage as a single file, in CSV or JSON format. More information [here](/destinations/google-cloud-storage). ## FTP Server Push the files your users upload to your FTP server. More information [here](/destinations/ftp-server). ## MySQL Import CSV files and Excel sheets directly into your MySQL tables. More information [here](/destinations/mysql). ## PostgreSQL Import CSV files and Excel sheets directly into your PostgreSQL tables. More information [here](/destinations/postgresql). ## SQL Server Import CSV files and Excel sheets directly into your SQL Server tables, with Insert and Upsert operations. More information [here](/destinations/sql-server). ## MongoDB Import CSV files or Excel sheets into your MongoDB collections. More information [here](/destinations/mongodb). ## Google Sheets Import CSV files and Excel sheets directly into Google Sheets. More information [here](/destinations/google-sheets). ## Airtable Import CSV files and Excel sheets directly into your Airtable tables, with Insert and Upsert operations. More information [here](/destinations/airtable). ## Bubble Import user CSV files and Excel sheets directly into your Bubble app. More information [here](/destinations/bubble-io). ## Notion Import user CSV files and Excel sheets directly into your Notion databases. More information [here](/destinations/notion). ## Zapier Import user CSV files and Excel sheets to Zapier. More information [here](/destinations/zapier). ## Webflow Import user CSV files and Excel sheets to Webflow. More information [here](/destinations/webflow). ## Xano Send your users' CSV and Excel data to a Xano API endpoint, using your API group's Swagger spec to map columns to the endpoint's input fields. More information [here](/destinations/xano). ## Xero Import user CSV files and Excel sheets into your Xero organisation, including contacts, invoices, payments, and bank transactions. More information [here](/destinations/xero). # Airtable Source: https://help.csvbox.io/destinations/airtable Import CSV files and Excel sheets directly into your Airtable tables. Import CSV files and Excel sheets directly into your [Airtable](https://airtable.com/). **1. Select Airtable as the destination** Select **Airtable** as the destination type. **2. Connect your Airtable** Connect your Airtable by providing the credentials. > [!NOTE] > > Steps to get the Airtable API Key are described [here](https://support.airtable.com/hc/en-us/articles/219046777-How-do-I-get-my-API-key-). Steps to get the Base ID are described [here](https://support.airtable.com/docs/finding-airtable-ids#finding-ids-in-airtable-api). **3. Set the target table** Specify the table name where you want the data to be pushed. **4. Map columns** Map the sheet columns to the Airtable table columns. You can also map custom attributes to table columns. Your users' CSV data is then appended directly to the Airtable table. > [!WARNING] > > The data fields from Airtable are available in the Map Column modal only if they have **data in the first row**. Add dummy data for each data field in the first row so that they appear in the Map Column modal. ## Operations There are 2 operations available for Airtable. ### 1. Insert Creates a new row in the table. ### 2. Upsert Updates an existing row if a specified value already exists in the table, and inserts a new row if it doesn't. Select the column to check for uniqueness in the **Column Mapping** popup. ![Select the unique column for an Airtable upsert](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/upset-airtable.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=ae6e61f6c1435a0555e9105cd921eebe) * If zero matches are found, a new row is created. * If one match is found, that row is updated. * **If multiple matches are found, the request fails.** # Amazon S3 Source: https://help.csvbox.io/destinations/amazon-s3 Push uploaded files to the AWS S3 bucket of your choice. The files your users upload can be pushed to the AWS S3 bucket of your choice. Select **Amazon S3** as the destination type and provide the AWS credentials, the bucket/folder name, and the access policy for storing the files. > [!NOTE] > > The data is stored as S3 objects named `{{import_id}}_{{user_id}}.csv`, where `user_id` is the custom user attribute you reference via the `setUser` method while installing the importer code. The other 4 custom user attributes are saved as the [user-defined metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html) of the S3 object. The AWS credentials need the following 3 minimum policies for uploading files to S3: * `ListBucket`: required for testing the connection. * `PutObject`: required to add objects to S3. * `PutObjectTagging`: required to add the tags (metadata) to the uploaded objects. ## S3 data type You can store the data in S3 in either CSV or JSON format. # API / Webhook Source: https://help.csvbox.io/destinations/api-webhook Receive uploaded data at your own webhook endpoint as JSON, XML, or FORM Data. The data is pushed to a webhook endpoint configured in the sheet settings. You can receive the data at your webhook as JSON, XML, or FORM Data. The data is pushed in chunks of rows. You can configure the number of rows per chunk in the sheet settings. ## Sample JSON POST to your API ```javascript theme={"dark"} [ { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 1, "total_rows": 5, "env_name": "default", "original_filename": "products01_24.csv", "row_data": { "Name": "TP-Link TL-WN822N Wireless N300 High Gain USB Adapter", "SKU": "AS-100221", "Price": "33.00", "Quantity": "3", "Image URL": "https://cdn.shopify.com/s/files/1/1491/9536/products/31jJOj1DS5L_070b4893-b7af-482f-8a15-d40f5e06760d.jpg?v=1521803806" }, "custom_fields": { "user_id": "1a2b3c4d5e6f", "team_id": "sales2" } }, { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 2, "total_rows": 5, "env_name": "default", "original_filename": "products01_24.csv", "row_data":{ "Name": "EPower Technology EP-600PM Power Supply 600W ATX12V 2.3 Single 120mm Cooling Fan Bare", "SKU": "AS-103824", "Price": "95.35", "Quantity": "8", "Image URL": "https://cdn.shopify.com/s/files/1/1491/9536/products/71pRC5VjF-L_8f840eb9-6a47-407f-999c-490f7814159d.jpg?v=1521803806" }, "custom_fields": { "user_id": "1a2b3c4d5e6f", "team_id": "sales2" } }, ] ``` > [!NOTE] > > The data arrives as HTTP POST requests. Each request contains an array of rows based on the chunk size defined in the sheet settings. Set the chunk size to 1 to receive one record per HTTP request. > > If the row count is greater than 10,000, the chunk size defaults to 1000. A large row count with a small chunk size increases the processing time significantly. > [!NOTE] > > Boolean columns that use [Display as checkbox](/dashboard-settings/validations#display-as-checkbox) arrive as a real boolean (`true` or `false`) in JSON and XML, and as the text `"true"` or `"false"` in FORM Data. ## Request type The webhook can be called in two modes to push the data to the destination: * **Sequential**: webhook APIs are invoked in sequential order, one after another. * **Parallel** (default): multiple webhook APIs are invoked concurrently, so your application receives chunks of rows in parallel. This reduces overall import time. However, your application needs to manage the order of data based on the `row_number` attribute. > [!TIP] > > To get started quickly, test with [webhook.site](https://webhook.site) to get a webhook URL. For testing on your local machine, use [ngrok](https://ngrok.com/). # Automation Platforms Source: https://help.csvbox.io/destinations/automation-platforms Send CSVbox imports to Zapier, n8n, Make, Workato, or any workflow automation tool with one universal setup. CSVbox connects your spreadsheet imports with any automation platform. Using the **`New Row Import`** trigger, you can send every imported row into your workflows, whether that means adding a contact to Salesforce, storing data in Postgres, or sending a Slack notification. This guide shows you how to integrate CSVbox with popular tools like **Zapier, Make, n8n, Pipedream, IFTTT, Node-RED, Workato, Tray.io, Airflow, Prefect, Camunda**, and more. Once connected, each new row uploaded by your users can automatically flow into your databases, CRMs, analytics pipelines, or enterprise systems, without writing custom code for every tool. ## Core pattern 1. **Webhook event (trigger)**: CSVbox sends a webhook on each row import. Example payload: ```json theme={"dark"} [ { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 1, "total_rows": 1009, "env_name": "default", "original_filename": "products01_24.csv", "row_data": { "Name": "TP-Link TL-WN822N Wireless N300 High Gain USB Adapter", "SKU": "AS-100221", "Price": "33.00", "Quantity": "3", "Image URL": "https://cdn.shopify.com/s/files/1/1491/9536/products/31jJOj1DS5L_070b4893-b7af-482f-8a15-d40f5e06760d.jpg?v=1521803806" }, "custom_fields": { "user_id": "1002" } } ] ``` 2. **Automation platform**: receives this webhook and executes downstream actions such as a database insert, CRM update, or Slack notification. ## Integration guides ### Zapier **1. Create a new Zap** **2. Add a Catch Hook trigger** Select **Webhooks by Zapier** → **Catch Hook**. **3. Copy the webhook URL** **4. Paste the URL in CSVbox** In the CSVbox Dashboard → **Settings** → **Webhooks**, paste the Zapier URL. **5. Perform a test import in CSVbox** **6. Confirm the data mapping in Zapier** **7. Add actions** For example, **Google Sheets** → **Add Row**, or **Salesforce** → **Create Contact**. **8. Turn on the Zap** Each new row import flows into your Zapier automations. ### Make (Integromat) **1. Create a new Scenario** **2. Add a webhook module** Add a **Webhook module** → **Custom Webhook**. **3. Copy the webhook URL** **4. Paste the URL in CSVbox** Paste it into the CSVbox Dashboard → **Webhooks**. **5. Run the scenario in listening mode** **6. Test an import in CSVbox** The payload appears in Make. **7. Add modules** For example, Sheets, MySQL, or Slack. **8. Save and activate** ### Pipedream **1. Create a new Workflow** **2. Set the trigger to HTTP/Webhook** Use **HTTP/Webhook** as the trigger. **3. Copy the webhook URL to the CSVbox Dashboard** **4. Test an import in CSVbox** **5. Add a code step** ```js theme={"dark"} export default defineComponent({ props: { event: { type: "object" } }, async run({ steps, $ }) { console.log("Row Imported:", this.event.data); } }); ``` **6. Add downstream integrations** For example, a database, CRM, or Slack. ### n8n **1. Create a workflow** **2. Add a Webhook node** Add a **Webhook node**. **3. Copy the webhook URL to the CSVbox Dashboard** **4. Test an import** n8n captures the payload. **5. Add downstream nodes** For example, Postgres, Slack, or HTTP. **6. Fetch rows with the CSVbox node (optional)** Use the CSVbox node to fetch rows by `import_id`. ### Node-RED **1. Add an HTTP In node** Add an **HTTP In node** with the URL `/csvbox`. **2. Add a JSON node** Add a **JSON node** to parse the payload. **3. Add a Function node** ```js theme={"dark"} msg.payload = msg.payload.data; return msg; ``` **4. Connect target nodes** For example, a database, Email, or Slack. **5. Deploy and paste the URL into the CSVbox Dashboard** ### IFTTT **1. Create an Applet** In IFTTT, create an **Applet**. **2. Set the If This trigger** For **If This**, choose **Webhooks** → **Receive a web request** (`row_imported`). **3. Copy the webhook key/URL** **4. Paste the URL in the CSVbox Dashboard** **5. Set the Then That action** For **Then That**, pick an action, such as sending an email, a notification, or triggering an IoT device. Use IFTTT for lightweight, consumer-friendly automations. ### Activepieces **1. Create a new Flow** In Activepieces, create a new Flow. **2. Add a Webhook Trigger** Add a **Webhook Trigger**. **3. Copy the URL into the CSVbox Dashboard** **4. Test an import** Activepieces captures the row data. **5. Add actions** For example, Google Sheets, Airtable, or APIs. **6. Save and activate** ### Automatisch **1. Create a workflow** **2. Set the trigger to Webhook** Choose **Trigger** → **Webhook**. **3. Copy the webhook URL and paste it into the CSVbox Dashboard** **4. Import a test row** Automatisch captures the payload. **5. Add downstream integrations** ### Huginn **1. Add a Webhook Agent** Add a **Webhook Agent**. **2. Copy the Huginn webhook URL** **3. Paste the URL into the CSVbox Dashboard** **4. Test an import** Huginn captures the JSON. **5. Chain agents** For example, **Post Agent** → **Slack Agent** → **Email Agent**. ### StackStorm **1. Create a Webhook sensor** Create a **Webhook sensor** in StackStorm. **2. Add a rule** Rule example: ```yaml theme={"dark"} --- name: csvbox.new_row trigger: core.st2.webhook criteria: trigger.body.event: "row_imported" action: ref: core.local parameters: cmd: "echo {{trigger.body.data.email}} >> /var/log/csvbox.log" ``` **3. Test an import** ### Apache Airflow **1. Set up an endpoint** Set up a Flask/Django endpoint to receive the CSVbox webhook. **2. Paste the URL in CSVbox** In the CSVbox Dashboard → **Webhooks**, paste the URL. **3. Trigger an Airflow DAG with the row data** **4. Create the DAG** Example DAG: ```python theme={"dark"} from airflow import DAG from airflow.operators.python import PythonOperator def process_row(**context): data = context['dag_run'].conf print("Row imported:", data) dag = DAG("csvbox_import", start_date="2025-01-01") process = PythonOperator( task_id="process_row", python_callable=process_row, dag=dag ) ``` ### Prefect **1. Set up Prefect Cloud/Server** **2. Create a flow** Create a flow with the `@flow` decorator. **3. Trigger a Prefect API call from the CSVbox webhook** Example: ```python theme={"dark"} from prefect import flow @flow def process_row(data: dict): print("Row Imported:", data) ``` **4. Deploy and connect the webhook** ### Kestra **1. Create a Kestra flow with a Webhook Trigger** Example: ```yaml theme={"dark"} id: csvbox_import namespace: csvbox tasks: - id: log type: io.kestra.core.tasks.debugs.Log message: "{{ trigger.body }}" ``` **2. Paste the Kestra webhook URL into the CSVbox Dashboard** ### Temporal **1. Define a workflow in Temporal** Example: ```python theme={"dark"} @workflow.defn class ImportWorkflow: @workflow.run async def run(self, row: dict): print("Processing:", row) ``` **2. Start the workflow from the CSVbox webhook** CSVbox webhook → EventBridge/queue → starts the Temporal workflow. ### Inngest **1. Define an event handler** In Inngest, define an event handler: ```js theme={"dark"} inngest.createFunction( { id: "csvbox-row-imported" }, { event: "csvbox/row.imported" }, async ({ event }) => { console.log("Row:", event.data) } ) ``` **2. Send CSVbox events to Inngest** Configure the CSVbox webhook to send event payloads to Inngest. ### Windmill **1. Create a new flow** In Windmill, create a new flow. **2. Set the trigger to HTTP endpoint** Choose **Trigger** → **HTTP endpoint**. **3. Paste the URL into the CSVbox Dashboard** **4. Test an import** Windmill captures the payload. **5. Add a code step** Add a code step in Python/JS to process rows. ### Tray.io **1. Create a Tray workflow** **2. Add a Webhook Trigger** Add a **Webhook Trigger**. **3. Copy the URL into the CSVbox Dashboard** **4. Import a test row** **5. Add actions** For example, Salesforce, NetSuite, or databases. ### Workato **1. Create a Workato recipe** **2. Add a Webhook Trigger** Add a **Webhook Trigger**. **3. Copy the URL and paste it into the CSVbox Dashboard** **4. Test an import** Workato captures the row data. **5. Add enterprise actions** For example, ERP, CRM, or HR tools. ## Developer SDK (optional) Offer an SDK so dev teams can wire CSVbox directly: ```js theme={"dark"} import { Csvbox } from "csvbox-sdk"; const client = new Csvbox({ apiKey: "xxx" }); client.on("row_imported", (row) => { console.log("Row Imported:", row); // push to CRM, DB, etc. }); ``` ## Best practices * **Verify webhook signatures** (HMAC secret). * **Retry failed actions** (add a DLQ or retries). * Store `import_id` + `row_id` for tracking. * Log every payload for debugging. * Secure API keys properly. ## Example end-to-end flow **Use case**: "When a customer uploads a new row with email + plan → push to CRM → notify sales on Slack." **1. CSVbox sends a webhook** CSVbox → Webhook (`row_imported`). **2. n8n inserts the contact into HubSpot** The n8n workflow inserts the row into HubSpot CRM. **3. Slack notifies the sales team** The Slack node posts: `New Pro plan signup: john@example.com`. ## Supported platform categories With this playbook, CSVbox integrates with **every automation platform**: * **Mainstream SaaS automation**: Zapier, Make, Pipedream, IFTTT * **Open-source low-code**: n8n, Node-RED, Activepieces, Automatisch, Huginn * **Enterprise iPaaS**: Workato, Tray.io * **Data orchestration**: Airflow, Prefect, Kestra * **Developer-first platforms**: Windmill, Temporal, Inngest, StackStorm * **Business process automation**: Camunda # Bubble Source: https://help.csvbox.io/destinations/bubble-io Import customer CSV data to your Bubble app database with the CSVbox importer. The Bubble.io destination pushes the CSV and Excel files your users upload directly into your Bubble app database. You configure the Bubble Data API, connect it to a CSVbox sheet, and add the CSVbox plugin to your app. ## Demo app See how it works [here](https://csvbox-demo.bubbleapps.io/version-test). ## Configuring your Bubble app > [!NOTE] > > You need to be on a [paid Bubble application plan](https://bubble.io/pricing/compare) to use the Bubble API, which is required to push external CSV data into the Bubble data store. ### Data settings Create or update a data type in your Bubble app where you want to push the CSV data. Make sure the data type is **Publicly visible**. Add custom fields to the data type as per your requirements. ![Bubble data type](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/data-type.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=9383e927b81dd4024756f477432fb781) > [!WARNING] > > Manually add at least one object (row) to the data type. ![Add object](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/object.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=0cff54dec3acbc137793608ca0eaaaa4) ### API settings **1. Open Settings** Go to **Settings**. **2. Open the API page** Go to the **API** page. **3. Activate the Data API** Activate **Data API**. **4. Activate the API for your data type** Activate the API for the data type where you want to push the CSV data. **5. Generate the API Private Key** Generate and save the **API Private Key**. ![API settings](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/api-settings.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=847d956911094661c42cd9f57732fe01) ## Setting up CSVbox **1. Log in to CSVbox** Log in to [csvbox.io](https://app.csvbox.io/login). **2. Add a sheet** ![Add a sheet](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/add-sheet.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=69f7b40d5ca58b9ea1a6121227561873) **3. Add columns** Add columns to the sheet. The column names should match the column/object names for your data type in Bubble. Pay attention to upper and lower case letters in Bubble and match them in CSVbox. ![Add columns](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/add-columns.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=32b2e1f3586aa0890240c0ce7241627e) **4. Select Bubble.io as the destination** Under the **Settings** section, for the **Send Data To** setting, select **Bubble.io**. ![Bubble.io data destination settings](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/bubble-io-settings.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=48dc8766750447ce4b7ce94271b8ebd6) Fill in the following fields: * **App Name**: the name of your Bubble.io app. * **Custom Domain Name**: if you have attached a custom domain name to your Bubble app, provide it here. * **Environment**: pick the environment where you want the CSV data to be sent, either TEST/DEVELOPMENT or PRODUCTION/LIVE. * **API Private Key**: the API token you generated while configuring the [API settings](/destinations/bubble-io#api-settings) in the Bubble app. * **Data Type**: the data type name where you want to push the CSV data. **5. Test the connection** Click **Test Connection**. It succeeds if all fields are filled in correctly. **6. Map columns** Click **Map Columns**. A modal opens where you can map the sheet columns to the object fields. ![Map sheet columns to Bubble data fields](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/map-columns-2.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=52324d9549544cb516b9d33a389de457) > [!WARNING] > > The data fields from the Bubble database are available in the Map Column modal only if they have data in the first row. Add dummy data for each data field in the first row so that they appear in the Map Column modal. **7. Save the sheet** Click **Save**. **8. Copy the Sheet License Key** Go to the **Code** section of the sheet and note down the **Sheet License Key**. ![Sheet License Key](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sheet-license-key.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=16ff5b4d183d0522cf5a1f44337ead4b) ## Adding CSVbox to Bubble **1. Install the plugin** Install the [csvbox.io](https://bubble.io/plugin/csv--excel-importer-|-receive-json-1628686647935x372170116910546940) plugin in your Bubble app. **2. Add the CSVBox Button element** Drag the CSVBox Button element onto your web page. **3. Set the Sheet License Key** Paste the **Sheet License Key** value from the sheet **Code** page (saved above) into the **Sheet License Key** property of the CSVBox element. ![Bubble app CSVBox Button element](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/bubble-app-csvbox-element.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=0b1330a06cf3c8654de5d1ad1feb8648) **4. Configure the button** Enter the import button label in the `button_text` property. Optionally, add CSS classes in the `button_classes` property to style the CSVbox import button. > [!NOTE] > > You can add custom user attributes (such as user\_id, user name, company name, etc.) as values to the `custom_attribute_XX` properties of the CSVBox Button element. More information on custom attributes is available [here](/getting-started/2-install-code#referencing-the-user). The CSVbox import button is now available in your app. Your users can click the button to upload CSV files, and the data arrives in your Bubble database. ### Import events The CSVBox Button element exposes two events that indicate the completion of the import process: * **import\_success**: triggered when the CSV data is imported successfully into your Bubble database. * **import\_fail**: triggered when the import fails completely or partially. ![CSVBox Button element events](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/bubble-events.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=ca148525da3f87ab0f90ba9f8fc39218) You can add relevant actions to process the import result events. ## Why does my upload fail with unknown errors? Bubble.io databases are very picky. The column names you POST from the CSVbox importer must **exactly** match what is in your Bubble.io database. Check the following: * Make sure there are no extra columns in your CSVbox sheet that do not map to a field/attribute in your Bubble.io database object. Bubble does not accept extra columns that its database doesn't know about. * The CSVbox sheet column names must **exactly** match the type names in your Bubble.io database object. Verify that capitalization and spaces are exactly the same as in your Bubble.io data type object. * In your Bubble.io app settings, click **API** and make sure all checkboxes are checked for exposing the Data API, and for every database object you want to import into. > [!NOTE] > > The maximum number of items that can be created in Bubble.io via a single bulk request is currently 1000. ## Adding configuration options > [!NOTE] > > Coming soon. # FTP Server Source: https://help.csvbox.io/destinations/ftp-server Push uploaded files to your FTP server. The files your users upload can be pushed to your FTP server. Select **FTP** as the destination type and provide the connection details and the folder name for storing the files. > [!NOTE] > > The data is stored as CSV files named `{{import_id}}_{{user_id}}.csv`, where `user_id` is the custom user attribute you reference via the `setUser` method while installing the importer code. # Google BigQuery Source: https://help.csvbox.io/destinations/google-bigquery Import CSV or Excel data directly into your Google BigQuery tables using CSVbox. The Google BigQuery destination inserts the data your users upload into an existing BigQuery table. Follow the steps below to securely connect your BigQuery project and map your columns. ## Set up the destination **1. Choose Google BigQuery as the destination** On your sheet's **Destination Settings** page, select **Google BigQuery** from the **Send Data To** dropdown. This enables all the fields needed to configure your BigQuery connection. **2. Enter the connection details** Fill in the following fields: * **Project ID**: your Google Cloud Project ID. You can find this in your Google Cloud Console under **Home** → **Project Info** → **Project ID**. * **Dataset ID**: the dataset where your target table is located. This is the dataset name within your BigQuery project. * **Table Name**: the exact name of the table where the data should be inserted. Make sure this table already exists in your BigQuery dataset. **3. Upload the JSON key file** BigQuery requires authentication via a **Service Account Key**. 1. In your Google Cloud Console, go to **IAM & Admin** → **Service Accounts** → **Keys** → **Add Key** → **Create New Key**. 2. Choose **JSON** as the key type and download the file. 3. In CSVbox, click **Browse**, select your JSON key file, and click **Upload**. > [!WARNING] > > Only `.json` files are accepted for this field. This securely connects CSVbox to your BigQuery project. **4. Test the connection** After entering your credentials, click **Test Connection**. CSVbox attempts to connect to your BigQuery project and validates the configuration. * If it succeeds, you see a confirmation message. * If there's an error, double-check your credentials, dataset, or table name. **5. Map columns** Once your connection is validated, click **Map Columns** and map the columns from your CSV file to the corresponding fields in your BigQuery table. After mapping, all future imports through your CSVbox importer automatically push data into your specified BigQuery table. ## Notes * Ensure that the BigQuery table schema matches the data types in your uploaded CSV to avoid type mismatch errors. * CSVbox uses the **Service Account credentials** only to insert data. No other operations are performed. ## Example configuration | Field | Example value | | - | - | | Project ID | `data-project-123` | | Dataset ID | `sales_data` | | Table Name | `orders` | | JSON Key File | `bigquery-credentials.json` | ## Troubleshooting * **Invalid JSON key**: ensure the key file is not modified and is a valid service account key. * **Table not found**: confirm that the specified table exists in the dataset. * **Permission denied**: verify that your service account has the `BigQuery Data Editor` role or higher. # Google Cloud Storage Source: https://help.csvbox.io/destinations/google-cloud-storage Send every import to a bucket in your own Google Cloud Storage as a single CSV or JSON file. The Google Cloud Storage destination sends every import to a bucket in your own Google Cloud Storage as a single file, in CSV or JSON format. Each import produces one file in your bucket. Importing again with the same file name replaces the earlier file. ## Before you start You need: * A Google Cloud project with a Cloud Storage bucket. * A **service account** in that project, with a JSON key file. * The service account allowed to write to the bucket (see [Permissions](#permissions)). ### Create the service account and key **1. Create or pick a service account** In the Google Cloud console, open **IAM & Admin > Service Accounts** and create a service account (or pick an existing one). **2. Download a JSON key** Open the service account, go to **Keys > Add key > Create new key**, choose **JSON** and download the file. > [!WARNING] > > Keep the file safe. It gives access to your bucket. ### Permissions Open your bucket in the console, go to **Permissions**, and grant the service account one of these roles on the bucket: | Role | What it allows | | - | - | | **Storage Object Admin** (recommended) | Create files and replace existing ones. | | **Storage Object Creator** | Create new files only. It cannot replace an existing file, so an import that reuses a file name fails. | The service account does not need access to anything else in your project. ## Set up the destination **1. Select Google Cloud Storage as the destination** Open your importer, go to the **Destination** tab and choose **Google Cloud Storage**. **2. Add the key file** For **JSON Key File**, choose the key file you downloaded. **3. Set the bucket and path** Enter the **Bucket Name**: the bucket name only, for example `my-bucket`. Do not include `gs://`. Optionally, enter a **Path**: a folder inside the bucket, for example `imports/2026`. Folders are created automatically. See [Path placeholders](#path-placeholders) for values that change with each import. **4. Set the file name and data type** Optionally, enter a **File Name**: the name of the file, without the extension. See [File names](#file-names). Then choose the **Data Type**: **CSV** or **JSON**. **5. Test the connection** Click **Test Connection**, then **Save**. > [!NOTE] > > Test Connection checks the key, finds the bucket and confirms the service account can write to it. Nothing is stored until Google accepts the key. When the destination is connected, the key file and its service account email are shown and the bucket, path and data type are locked. To change them, click **Disconnect** and set the destination up again. Disconnecting deletes the stored key and clears the bucket name. The path, file name and data type are kept. Imports fail with a "not connected" error until you reconnect. > [!NOTE] > > If Google rejects a key, it is discarded and the file picker comes back so you can choose another file. ## File names The file is saved as `/.`. The extension is added for you, and never doubled: `report.csv` in the File Name field still produces `report.csv`. The name is chosen in this order: 1. A file name passed with the import itself, if there is one. 2. The **File Name** setting on the destination. 3. The default, `_`, for example `9368_default123`. The **File Name** setting accepts these placeholders: | Placeholder | Replaced with | | - | - | | `{IMPORT_ID}` | The ID of the import. Different for every import. | | `{UNIQUE_ID}` | A timestamp. | | `{{variable}}` | A value you pass with the import, such as a user field. | A name can be up to 200 characters and cannot contain slashes or line breaks. Use the **Path** field for folders. Leading and trailing spaces are removed, and control characters are stripped. ### Path placeholders The **Path** setting accepts these placeholders: | Placeholder | Replaced with | | - | - | | `{UNIQUE_ID}` | A timestamp. | | `{{variable}}` | A value from the [environment variables](/advanced-installation/environment-variables) of the embedded importer, or from `import.environment` in the REST File API. | For example, the path `imports/{{tenant}}` writes to `imports/acme/` when `tenant` is `acme`. Each value becomes one folder name. Slashes (`/` and `\`) are removed from the value, and a value of `.` or `..` is dropped, so one value cannot create nested folders or step outside the folder. For example, `a/b` becomes `imports/ab/`, and `../x` becomes `imports/..x/`. ### Replacing and keeping files * **A fixed name** (for example `customers`) means every import replaces the previous file. Use it when you always want the latest data in one place. * **A name with `{IMPORT_ID}` or `{UNIQUE_ID}`** means every import creates a new file. Use it to keep a history. > [!WARNING] > > If the service account has only the Storage Object Creator role, a repeated name fails with a permission error. The destination shows a warning when it detects this. ## What is written to the bucket **CSV** * UTF-8 with a byte order mark, so Excel opens it correctly. * The first row holds the column headers; the remaining rows hold the data. * Content type `text/csv`. **JSON** * A single JSON array with one object per row, keyed by column name. * Content type `application/json`. * If two columns share a name, the repeats are numbered `_2`, `_3` and so on. A blank column name becomes `column_`. An [unmapped column](/sheet-settings/import-steps/map-columns#accept-unmapped-columns) named like a mapped one also gets a suffix. No value is overwritten. For example, `col1, col1` becomes `col1`, `col1_2`. * Text that is not valid UTF-8 is replaced with the replacement character (`�`), so the file stays valid JSON. For example, `Caf\xE9` becomes `Caf�`. Each file also carries your CSVBox user ID as custom metadata (`user_id`). ## Changing the bucket or key If you save a new bucket or key and Google rejects it, the path, file name and data type are still saved, but imports pause with a "not connected" error until **Test Connection** succeeds. ## Copying a sheet A copied sheet keeps the bucket, path, file name and data type, but not the service account key. The copy starts disconnected: choose the key file on the copy to resume imports. ## File size and large imports * An import is written as **one file**, no matter how many rows it has. * Large files are supported. A test import of 1,000,000 rows (about 146 MB as CSV) completed and stored as one file. * Google allows objects up to 5 TiB. * The number of rows imported is still limited by your CSVBox plan. > [!NOTE] > > Large imports take longer, because the whole file is sent when the import finishes. Wait for the import to show as complete. ## Troubleshooting Failed imports show a message on the import. The common ones: | Message | What to do | | - | - | | Google rejected the service account key | The key was deleted, disabled or is not a service account key. Create a new key and reconnect. | | Bucket not found | Check the bucket name. Use the name only, without `gs://`. | | Service account cannot write to the bucket | Grant it Storage Object Creator or Storage Object Admin on the bucket. | | Service account cannot overwrite an existing file | Grant Storage Object Admin, or use a file name that changes every import. | | Google Cloud Storage API is not enabled | Enable the Cloud Storage API for the project that owns the service account. | | Rate limit, Google is unavailable, or the network dropped | CSVBox retries a failed upload up to 3 times with short pauses. If it still fails, import again later. | | The connection dropped, and Google then refused the retry | The file may already be in the bucket. Check the bucket before importing again. | | CSVBox Import Error. It has been notified to the team and will be resolved soon. | A problem on the CSVBox side. The team is notified automatically. | If the destination is disconnected, imports to it fail instead of writing with an old key. ## Frequently asked questions > **Can I send to more than one bucket?** > > Each importer has one Google Cloud Storage destination. Create another importer, or use a different destination, for a second bucket. > **Is my key safe?** > > The key is stored encrypted. It is never sent back to your browser; only its file name and the service account email are shown. Disconnecting deletes it. > **Can I use the same key for several importers?** > > Yes. Choose the key file in each importer. # Google Sheets Source: https://help.csvbox.io/destinations/google-sheets Import CSV files and Excel sheets directly into Google Sheets. Import CSV files and Excel sheets directly into [Google Sheets](https://www.google.co.in/sheets/about/). **1. Select Google Sheets as the destination** Select **Google Sheets** as the destination type. **2. Connect your Google account** Click the Google button and accept the relevant permissions. > [!NOTE] > > The importer requires permission to view the list of Google sheets in your account and to edit sheet data. **3. Set the target sheet** Provide the Google sheet name, and specify the worksheet name where you want the data to be pushed. **4. Map columns** Map the template columns to the Google sheet columns. You can also map custom attributes to sheet columns. Your users' CSV data is then added directly to the Google sheet. # Hasura Source: https://help.csvbox.io/destinations/hasura Push uploaded spreadsheet data straight into a table exposed by your Hasura GraphQL API. The Hasura destination inserts uploaded spreadsheet data from CSVbox into a table exposed by your Hasura GraphQL API. Rows are validated, batched, and sent as GraphQL mutations, with optional upsert support. ## Before you start * A Hasura project with a GraphQL endpoint URL, for example `https://your-project.hasura.app/v1/graphql` * The project's admin secret * A table already tracked in Hasura, with insert permissions available to the admin role * An endpoint reachable from the public internet > [!NOTE] > > A sheet can have only one destination at a time. Selecting Hasura replaces whatever the sheet was writing to before. ## Setup In your **Sheet Settings**, open the **Destination** tab and choose **Hasura**. Then work through the fields in order. The column mapping unlocks only after the connection test passes. **1. Enter your GraphQL endpoint** Paste the full endpoint URL, including the `/v1/graphql` path. ```text theme={"dark"} https://your-project.hasura.app/v1/graphql ``` You'll find this on the Hasura Cloud project page, or it's the endpoint your own instance serves. **2. Enter your admin secret** Provide the value of your project's `x-hasura-admin-secret`. In Hasura Cloud, it lives under **Project** → **Env Vars** → `HASURA_GRAPHQL_ADMIN_SECRET`. > [!NOTE] > > CSVbox stores credentials in encrypted form and uses them only to insert rows into the table you specify. **3. Set the target table** Enter the table you want rows inserted into, for example `users`. Use the name exactly as Hasura exposes it in your GraphQL schema. If the table is tracked under a non-`public` schema or carries a custom GraphQL name, use that name: the one that appears as `insert_` in your API. **4. Test the connection** Click **Test Connection**. CSVbox introspects your schema to confirm that the endpoint, admin secret, and table all check out, and loads the table's column list for mapping. A green check means everything is ready. If it fails, see [Troubleshooting](#troubleshooting). **5. Map columns to table fields** Click **Map Columns**. For each column in your importer, including any virtual columns, pick the Hasura column it should be written to. Each target's data type is shown next to its name, so you can confirm the destination is the one you meant. Leave a row set to `(empty)` to skip that column; it isn't sent. **6. Map custom attributes (optional)** In the same window, the **Custom Attributes** table writes values you pass into the importer at runtime into columns on the target table. This is how every imported row gets tagged with the tenant, account, or user it belongs to. `user_id` is available by default, and you can define up to five attributes in total. Values come from the user object you set on the importer: ```javascript theme={"dark"} importer.setUser({ user_id: "1234", team_id: "acme-42" }); ``` Map `team_id` to a `team_id` column, and every row from that import carries it. **7. Save** Save the mapping, then save the sheet. The next file submitted through this importer writes to Hasura. ## Insert vs. upsert By default, every import performs a plain insert: each row becomes a new row in the table. To upsert instead, updating existing rows rather than duplicating them, fill in the two optional fields: | Field | Description | | - | - | | **Upsert Constraint** | The Postgres unique constraint to match on, e.g. `users_email_key`. Constraint names are listed in the Hasura Console under **Data** → your table → **Modify**. | | **Update Columns on Conflict** | Comma-separated columns to overwrite when a matching row is found, e.g. `name, email, updated_at`. | Leaving **Upsert Constraint** blank disables upsert entirely; the update-columns value is then ignored. > [!WARNING] > > Be careful with large files. Plain inserts are not idempotent: if an import is retried after a partial failure, rows already written by a completed batch can be inserted a second time. An upsert on a unique constraint makes retries safe, which is why it's the better choice for big files, not just for deduplication. ## Data flow Once setup is complete, every submitted file is processed without further intervention. | Step | Description | | - | - | | **01 · Validate** | Your sheet's rules and transforms run on every row. | | **02 · Batch** | Rows are grouped 500 at a time. | | **03 · Mutate** | Each batch goes out as one `insert_` mutation using GraphQL variables. | | **04 · Report** | Progress streams back to the widget; `affected_rows` becomes the imported count. | Each import ends in one of three states, visible on the **Imports** page in your dashboard: | Status | Meaning | | - | - | | **Success** | Every batch was accepted by Hasura. | | **Partial** | Some batches succeeded and others were rejected. The failing errors are recorded against the import. | | **Failed** | No rows were written. | ## How values are converted Spreadsheet cells are text. Before sending a batch, CSVbox converts each value to the JSON type your column expects, based on the schema read during **Test Connection**. | Hasura column type | Sent as | | - | - | | `Int`, `smallint`, `bigint` | Number (integer) | | `Float`, `numeric`, `money`, `float4`, `float8` | Number (decimal) | | `Boolean` | `true` for `true`, `1`, `yes`, `on`; `false` for `false`, `0`, `no`, `off` | | `timestamptz`, `timestamp`, `date`, `time`, `interval`, `uuid`, `json`, `jsonb`, `citext`, and others | A string, for Postgres to parse | | Any type, empty cell | `null` | > [!TIP] > > Because date, timestamp, UUID, and JSON values pass through as strings, the values in your file need to be in a form Postgres accepts, for instance `2026-03-14` or `2026-03-14T09:30:00Z` for timestamps. Use validation rules and data transform functions to normalize them before they're sent. ## Environment variables The endpoint, admin secret, table name, and upsert settings all accept environment variables. Wrap the variable name in double curly braces, and CSVbox substitutes it at import time: ```text theme={"dark"} https://{{tenant}}.hasura.app/v1/graphql ``` Pass the value when you create the importer: ```javascript theme={"dark"} let importer = new CSVBoxImporter("YOUR_LICENSE_KEY_HERE", {}, callback, { lazy: true, environment: { tenant: "acme" } }); ``` One importer can then write to a different Hasura project, table, or upsert constraint per customer or per environment. ## Troubleshooting | Message | What to check | | - | - | | **Invalid Admin Secret** | The secret doesn't match your project's `HASURA_GRAPHQL_ADMIN_SECRET`. Re-copy it, watching for trailing spaces. | | **Could not reach the Hasura GraphQL Endpoint** | The URL is wrong, missing `/v1/graphql`, or the instance isn't publicly reachable. A self-hosted Hasura behind a VPN or firewall must allow inbound requests from CSVbox. | | **Table not found in Hasura schema** | The table isn't tracked, the name is misspelled, or it's exposed under a different GraphQL name. Confirm `insert_
` appears in your Hasura API explorer. | | **One or more mapped columns were not found on the table** | The schema changed after you mapped columns. Run **Test Connection** to reload the column list, then re-map. | | **Constraint does not exist** | The upsert constraint name doesn't match a unique constraint on the table. Use the constraint name, not the column name. | ## Notes & limits * Only insertable scalar columns appear in the mapping list. Columns backed by Postgres enums, arrays, or Hasura relationships aren't offered as targets, and nested or related inserts aren't supported. * Authentication uses the admin secret only. JWT and webhook auth modes aren't supported for this destination. * Column names are case-sensitive and must match your Hasura schema exactly. * Generated columns and columns with database defaults can be left unmapped; Hasura and Postgres fill them in. * Hasura can return errors inside an otherwise successful HTTP response. CSVbox inspects every response body, so a rejected batch is always reported as an import error rather than counted as a silent success. * This destination composes with the rest of CSVbox: validation rules, virtual columns, data transform functions, and AI transforms all apply before rows are sent. # MongoDB Source: https://help.csvbox.io/destinations/mongodb Import CSV files or Excel sheets into your MongoDB collections. Import CSV files or Excel sheets into your MongoDB collections. **1. Choose MongoDB as the destination** Select **MongoDB** as your destination type. **2. Connect your database** Enter your MongoDB credentials to establish a secure connection. **3. Set the target collection** Specify the name of the collection where the data should be inserted. **4. Map columns to fields** Match the columns in your sheet to the corresponding fields in your MongoDB collection. **5. Define field data types** Assign appropriate data types to each field to ensure accurate data import. **6. Map custom attributes (optional)** You can also map custom attributes from the CSV to specific fields in your collection. Once set up, all submitted CSV data is automatically inserted into your MongoDB collection. # MySQL Source: https://help.csvbox.io/destinations/mysql Import CSV files and Excel sheets directly into your MySQL tables. Import CSV files and Excel sheets directly into your MySQL tables. **1. Select MySQL as the destination** Select **MySQL Database** as the destination type. **2. Connect your database** Connect your MySQL database by providing the credentials. **3. Set the target table** Specify the table name where you want the data to be pushed. ![CSV to MySQL destination settings](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/mysql.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=3ac337692c22a8390d4ec5e761f9751b) **4. Map columns** Map the sheet columns to the table columns. You can also map custom attributes to table columns. ![Map sheet columns to table columns](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/map-columns.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=917cba5ac57c4c647f9eae4f6fba9649) Your users' CSV data is then appended directly to the MySQL table. > [!NOTE] > > Boolean columns that use [Display as checkbox](/dashboard-settings/validations#display-as-checkbox) are pushed as `1` or `0`, which fits a `TINYINT(1)` column. # n8n Source: https://help.csvbox.io/destinations/n8n Push user spreadsheet data to n8n and connect your imports to any app it supports. The n8n destination connects your CSVbox imports directly to any of the apps supported by n8n, without needing a webhook setup. With this integration, you can build workflows such as: * Save imported rows into a database (MySQL, Postgres, MongoDB, etc.) * Send imported data to Slack, Teams, or Discord * Trigger downstream API calls automatically * Push leads into your CRM or marketing tools ## Set up the integration **1. Enable n8n as a destination in CSVbox** 1. Go to your [CSVbox Dashboard](https://dashboard.csvbox.io/). 2. Open the **Sheet Settings** for the sheet you want to integrate. 3. Navigate to the **Destinations** tab. 4. Click **Add Destination** → select **n8n**. 5. Click **Connect n8n**. This redirects you to the n8n connections page. 6. Connect n8n with your CSVbox account by providing the API Key and API Secret Key. You can find these keys on the **Accounts** page of your CSVbox dashboard. 7. Save the destination. **2. Configure the CSVbox node in n8n** 1. Open your **n8n Editor** (Cloud or Self-hosted). 2. Create a new workflow. 3. Add the **CSVbox node**. 4. Under **Credentials**, select your CSVbox account. 5. Select the **Trigger** type: **Import New Row** fires whenever new data is imported in CSVbox. 6. Choose the **Sheet Name** from the dropdown list. **3. Add processing nodes** Connect the CSVbox node to other nodes: * **Database Nodes**: store imported data in MySQL, Postgres, MongoDB. * **Messaging Nodes**: send Slack or Teams alerts. * **Spreadsheet Nodes**: save to Google Sheets, Airtable. * **HTTP Node**: call custom APIs with imported data. ## Example workflow A simple flow could be: **CSVbox Node (trigger)** → **Google Sheets Node** → **Slack Notification Node** This setup automatically saves imported data into a Google Sheet and then posts a confirmation message to Slack. ## Error handling * If the connected nodes succeed, the workflow continues normally. * If there's a failure (e.g. a database timeout), n8n shows the error in **Executions** → **Error Log**. * You can use n8n's **Error Workflow** feature for retries or notifications. ## Alternative: Webhook node If you don't want to use the official CSVbox node, you can still integrate using n8n's **Webhook node**: **1. Add a Webhook node** Add a **Webhook node** in n8n. **2. Copy the webhook URL** Copy the generated webhook URL. **3. Add the URL in CSVbox** Add this URL as a **Webhook destination** in CSVbox. On each import, CSVbox sends validated rows to this webhook as `POST` requests. # Neon Source: https://help.csvbox.io/destinations/neon Push your CSV files and Excel sheets directly into your Neon (serverless Postgres) database. The Neon destination appends uploaded spreadsheet data from CSVbox straight into a table in your Neon serverless Postgres database. ## How it works **1. Select Neon as the destination type** Open your sheet, go to **Destination**, and choose **Neon** from the list. ![Neon selected as the destination type](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-38.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=160c18a3c2fce0afa29dc294550baca4) **2. Connect your Neon database** Enter your Neon credentials: the host, database name, user, and password. You can copy these from your Neon project dashboard under **Connection Details**. ![Neon database connection credentials](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-39.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=7c221147433f2a1900e0960eb8f83aa6) **3. Specify the table name** Enter the name of the table where you want the data to be pushed. **4. Map sheet columns to table columns** Match each column in your sheet to the matching column in your Neon table. You can also map custom attributes to table columns. Once set up, your CSV data is appended directly to the Neon table. # None Source: https://help.csvbox.io/destinations/none Don't push uploaded data anywhere; files stay downloadable from the CSVbox admin. The user-uploaded data isn't pushed anywhere. The files are, however, available for download via the CSVbox admin. # Notion Source: https://help.csvbox.io/destinations/notion Import customer CSV data to your Notion database. The Notion destination pushes the CSV and Excel files your users upload directly into a Notion database. ## Set up the destination **1. Log in to CSVbox** Log in to [csvbox.io](https://app.csvbox.io/login). **2. Add a sheet** ![Add a sheet](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-25.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=d14240679337fc10a71bd660e9620cce) **3. Add columns** Add columns to the sheet as per your requirement. ![Add columns to the sheet](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-17.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=578d53143729636d7a944f77e4fc2aaa) **4. Select Notion as the destination** Under the **Destination** section, for the **Send Data To** setting, select **Notion**. Then click **Connect Notion**. ![Connect Notion button](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-20.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=942bd6702959a240a1f06d50a4fcba3b) **5. Authorize the integration** You are redirected to the Notion Integration Authorization screen. ![Notion integration authorization screen](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-13.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=36ed5c13e239f80bf9be368eede07655) Select the page and the relevant workspace where you want the CSV data to be pushed. ![Select Notion pages to share](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-15.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=9581ca48a3172a6944496102f6421bdd) Click **Allow access**. **6. Share the workspace with the integration** Log in to your Notion account and go to the workspace where you want to receive the CSV data. Click **Share** (top right of the dashboard) and share the workspace with the **CSV to Notion** integration. ![Share workspace with CSVbox integration](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/share.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=36e199bbd0c220878e5b38f102d5a977) > [!NOTE] > > The Notion database is visible in the CSVbox dashboard only after you share the workspace with the CSV to Notion integration. **7. Pick the Notion database** Go back to your CSVbox sheet and pick the Notion database from the list. ![Select the Notion database](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-27.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=df7319ec189bfe31ac3ba5029abd3eb1) **8. Map columns** Click **Map Columns** and map the sheet columns to the Notion database columns. ![Map sheet columns to Notion database columns](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-21.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=5f2ea60f9b5b455f8c9f12a4239feed1) **9. Save the sheet** Click **Save**. The CSVs uploaded by your users are now pushed to the Notion database. # OpenAPI Source: https://help.csvbox.io/destinations/openapi Send your CSV or Excel sheet data directly to any API described by an OpenAPI specification. The OpenAPI destination sends each row of your users' CSV or Excel data to an endpoint of any API that publishes an OpenAPI specification. CSVbox loads the spec, lets you pick the endpoint, and maps your sheet columns to the fields it expects. ## How it works **1. Select OpenAPI as the destination type** Open your sheet, go to **Destination**, and choose **OpenAPI** from the list. ![OpenAPI selected as the destination type](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-40.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=113b5bc4eaa3682c0e0c517769580b8e) **2. Load the OpenAPI specification** Paste the **OpenAPI Specification URL** (a link to the API's spec file) and click **Load Specification**. This pulls in the list of available endpoints. **3. Select the endpoint** Pick the endpoint you want to send data to, for example `POST /v1/prices - Create Tiered Price`. **4. Set the HTTP method** Choose the method for the request, such as **POST** to create new records. **5. Choose the authentication type** Select how the API verifies you (for example, **Bearer Token**) and enter your credentials in the field that appears, such as your **Bearer Token**. **6. Test the connection** Click **Test Connection**. A green checkmark means your settings are correct. **7. Map sheet columns to the endpoint fields** Match each column in your sheet to the matching field expected by the API. You can also map custom attributes. ![Map sheet columns to API endpoint fields](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-42.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=cbefa739b929af765b4bfe914c690170) Once set up, your sheet data is sent to the API endpoint, one request per row. ## Example This example shows how to test the OpenAPI destination end to end, for free, using a temporary inbox. You send sheet data to a test URL and watch it arrive live. Once it works, you swap in a real API. ### What you'll use * **webhook.site**: a free service that gives you a temporary URL and shows every request it receives. It stands in for a real API so you can see your data arriving. * **GitHub Gist**: a free place to host your OpenAPI spec file so the destination can load it from a URL. ### Walkthrough **1. Get your test URL** Go to **webhook.site**. It instantly shows a unique URL at the top, like: ```text theme={"dark"} https://webhook.site/abc-123 ``` Leave this tab open. Every request you send appears here in real time. **2. Create the spec file** Go to **gist.github.com** and create a new gist. Paste in the spec below, replacing the `servers` URL with **your** webhook.site URL from the previous step. ```json theme={"dark"} { "openapi": "3.0.0", "info": { "title": "Test API", "version": "1.0" }, "servers": [{ "url": "YOUR WEBHOOK URL" }], "paths": { "/": { "post": { "summary": "Send Row", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "email": { "type": "string" } } } } } }, "responses": { "200": { "description": "OK" } } } } } } ``` **3. Configure the destination** In your sheet, go to **Destination** and set it up: | Field | Value | | - | - | | Send Data To | **OpenAPI** | | OpenAPI Specification URL | Your **Raw** gist URL → click **Load Specification** | | Select Endpoint | `POST / - Send Row` | | HTTP Method | `POST` | | Authentication Type | **None** | Then click **Test Connection**. > [!TIP] > > Why **None**? webhook.site accepts anything, so there's no token to provide. Leaving authentication on **Bearer Token** with an empty token is the most common reason the test fails. **4. Map your columns** Match each column in your sheet to a field in the API: | Sheet column | API field | | - | - | | Name | name | | Email | email | **5. Import and watch it work** Upload a small CSV with a couple of rows. As the import runs, switch to your webhook.site tab. Each row appears as its own incoming POST request, with the data inside it. That confirms the whole loop is working. # Pipedream Source: https://help.csvbox.io/destinations/pipedream Import your CSV or Excel data directly into your Pipedream workflows with CSVbox. The Pipedream integration triggers your Pipedream automations in real time whenever a spreadsheet import is submitted. Use it to connect data to your APIs, CRMs, or databases without writing custom code. ## How it works CSVbox sends the imported CSV data to your selected Pipedream workflow as soon as a user submits it. Each import becomes a new event in Pipedream, where you can process or forward the data to hundreds of apps. ### Example workflow 1. A user uploads a CSV → CSVbox validates it and sends the data to Pipedream. 2. The Pipedream trigger receives the event. 3. The workflow inserts rows into a database, sends Slack alerts, or posts data to your API. ## Setup instructions **1. Choose Pipedream as your destination** In your CSVbox **Sheet Settings**, select **Pipedream** as the destination and click **Save**. **2. Create a Pipedream trigger** 1. Log in to your [Pipedream account](https://pipedream.com/). 2. Create a **new workflow**. 3. When prompted to select a trigger source, choose **CSVbox** → **New Import**. ![CSVbox New Import trigger in Pipedream](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/1trigger.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=400ab70abb1a993cc952b6f2e6972646) **3. Connect CSVbox to Pipedream** In the trigger setup screen, paste your CSVbox **API Key** and **API Secret Key**. You can find these under **CSVbox Dashboard** → **Account Settings** → **API Keys**. ![Connect CSVbox account in Pipedream](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/connect-csvbox.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=b7cb6f19322e0edb02a0f74a5b00c871) **4. Select your sheet** In the **Trigger Settings** window in Pipedream, choose the **Sheet Name** you want to connect from the dropdown. Click **Save and continue** to confirm. ![Select sheet in Pipedream trigger settings](https://mintcdn.com/csvbox-io/l4j5cgTPiOdRvWQ3/images/select-sheet.png?fit=max\&auto=format\&n=l4j5cgTPiOdRvWQ3\&q=85\&s=36919f89838f07e2350d590f575aba8c) **5. Verify the connection** Return to **CSVbox** → **Sheet Settings** → **Destination**. The **Pipedream Connection** now shows as **successful**. ![Pipedream connection successful](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/connection-successful.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=d3944dc890aae74a527bdb5feed71e02) **6. Test the importer** * Upload a sample CSV using your importer. * Pipedream instantly receives the data as an event payload. * You can view the incoming event in your Pipedream workflow's **Event** tab. > [!NOTE] > > After making changes in your Pipedream workflow (such as reconnecting CSVbox or editing the trigger), wait **a few seconds** before testing from CSVbox. It can take a short time for Pipedream to **propagate configuration updates** across their servers. ## Common use cases * **Sync leads to your CRM** (HubSpot, Salesforce, Pipedrive, etc.) * **Insert or update records** in databases (PostgreSQL, MySQL, Supabase, Airtable) * **Send notifications** on Slack, Discord, or Email * **Transform or enrich data** before passing it to another service # PostgreSQL Source: https://help.csvbox.io/destinations/postgresql Import CSV files and Excel sheets directly into your PostgreSQL tables. Import CSV files and Excel sheets directly into your PostgreSQL tables. **1. Select PostgreSQL as the destination** Select **PostgreSQL** as the destination type. **2. Connect your database** Connect your PostgreSQL database by providing the credentials. **3. Set the target table** Specify the table name where you want the data to be pushed. ![PostgreSQL data destination settings](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/postgresql-settings.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=d745e71e8b03050cf5ad3022e044df82) **4. Map columns** Map the sheet columns to the table columns. You can also map custom attributes to table columns. ![Map sheet columns to table columns](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/map-columns.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=917cba5ac57c4c647f9eae4f6fba9649) Your users' CSV data is then appended directly to the PostgreSQL table. > [!NOTE] > > Boolean columns that use [Display as checkbox](/dashboard-settings/validations#display-as-checkbox) are pushed as `true` or `false`, which PostgreSQL accepts for boolean columns. # Private Mode Source: https://help.csvbox.io/destinations/private-mode Keep user data off CSVbox servers and data stores by processing imports entirely in the client browser. CSVbox offers three configurations for handling user data. Choose the one that matches your privacy and retention requirements. | | Standard | No Store | Private | | - | - | - | - | | **Data processing** | Client browser, CSVbox server | Client browser, CSVbox server | Client browser | | **Data storage** | CSVbox datastore | - | - | ## Standard mode ![Standard Mode: files go from the browser to CSVbox servers, which push data to your system and store a copy in the CSVbox datastore](https://mintcdn.com/csvbox-io/sPAlIq2pGCUwvyh4/images/standard-mode-flow.svg?fit=max\&auto=format\&n=sPAlIq2pGCUwvyh4\&q=85\&s=59175efc36e910ff2f64849ca1ecb09e) Standard Mode This is the default configuration. User data is encrypted in transit and at rest. The data is pushed to your system, and a copy of it is stored in the CSVbox database. The copy is auto-deleted after one month. Your system can access the data from the CSVbox datastore any time during this month. Optionally, the data is also available in the client browser. ## No store mode ![No Store Mode: files go from the browser to CSVbox servers, which push data straight to your system without storing the file](https://mintcdn.com/csvbox-io/HENFqhMdtB5i0lf3/images/no-store-mode-flow.svg?fit=max\&auto=format\&n=HENFqhMdtB5i0lf3\&q=85\&s=d1f3b640a2a93239ff4ee40e6bcfd607) No Store Mode In this mode, the user data isn't stored in the CSVbox database. It's pushed directly to your system. Optionally, the data is also available in the client browser. > [!WARNING] > > Metadata that describes the import is stored in CSVbox. This includes data such as Import ID, Import Start Time, End Time, Sheet ID, etc. To activate this mode, go to your CSVbox dashboard → **Edit Sheet** → **Security** tab, and for **File Delete Policy** select **Do not store the file**. ![File Delete Policy set to Do not store the file](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/do-not-store.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6a9112578059d526b2716acccf7eba8b) ## Private mode ![Private Mode: files are processed in the browser and your code sends the data straight to your system, bypassing CSVbox servers](https://mintcdn.com/csvbox-io/HENFqhMdtB5i0lf3/images/private-mode-flow.svg?fit=max\&auto=format\&n=HENFqhMdtB5i0lf3\&q=85\&s=de25e52da0aa3b208a7470b244c0f7ae) Private Mode In Private Mode, the user data doesn't transit CSVbox servers and isn't stored in our databases. The data is processed in the client browser and is available for consumption there. You can then push the data to your system by implementing custom code. > [!WARNING] > > Metadata that describes the import is stored in CSVbox. This includes data such as Import ID, Import Start Time, End Time, Sheet ID, etc. To activate Private Mode: **1. Turn off file storage** Go to your CSVbox dashboard → **Edit Sheet** → **Security** tab, and for **File Delete Policy** select **Do not store the file**. ![File Delete Policy set to Do not store the file](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/do-not-store.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6a9112578059d526b2716acccf7eba8b) **2. Clear the destination** Go to Sheet **Settings** → **Destination** tab and select **--** for the **Send Data To** option. **3. Send a copy of the data to the client** Select **Yes** for the **Send a copy of data to client?** option. ![Send a copy of data to client setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sheetsettings.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=ab614a996b0426c9829d16246ef2e7d3) The user data is available at the client in the format shown [here](/getting-started/3-receive-data#data-on-the-client-side). # Softr Source: https://help.csvbox.io/destinations/softr Collect spreadsheets from users and push clean data to your Softr database. CSVbox sends imported spreadsheet data directly into **Softr Databases**, enabling no-code workflows such as internal tools, portals, directories, and dashboards powered by Softr. With this destination, every successful CSV import inserts rows into a selected Softr table. ## When to use Softr as a destination Use the **Softr** destination when you want to: * Import CSV / Excel data into Softr databases * Power Softr apps with bulk uploads * Allow non-technical users to upload structured data * Replace manual Softr data entry with a guided importer ## Configure the Softr destination in CSVbox Follow the steps below to configure Softr as your data destination. **1. Select Softr as the destination** Go to **Sheet Settings** → **Destination**, click **Select Destination**, and choose **Softr** from the list. **2. Enter your Softr credentials** Fill in the following required fields: * **API Key**: your Softr API Key, used to authenticate requests from CSVbox to Softr. * **Database ID**: the ID of the Softr database where data should be inserted. This identifies the parent database inside Softr. * **Table ID**: the specific table inside the database that receives the data. Each imported row becomes a new record in this table. > [!TIP] > > To get the Database ID and Table ID from Softr: > > 1. Log in to Softr. > 2. Go to **Data** → **Databases**. > 3. Click the **database** you want. > 4. Click the **table** inside that database. > 5. Look at the **browser URL**. > > You'll see something like `https://studio.softr.io/databases/ecc84771-ca85-48f2-abc3?table=ajZqlE5O9KOy1`. Extract the IDs: > > * **Database ID**: `ecc84771-ca85-48f2-abc3` > * **Table ID**: `ajZqlE5O9KOy1` **3. Test the connection** Click **Test Connection** to verify: * API key validity * Access to the specified database * Access to the selected table A successful test confirms CSVbox can write data to Softr. **4. Map columns** Click **Map Columns** to: * Map CSV / Excel columns to Softr table fields * Ensure field types are compatible * Control which columns are sent to Softr > [!NOTE] > > Column mapping is mandatory before running an import. **5. Save the configuration** Click **Save** to persist the Softr destination settings. Your importer is now ready to send data directly into Softr. ## How data is sent to Softr * Each successfully imported row becomes **one record** in the selected Softr table. * Data is sent **after validation** and **after transforms**. ## Troubleshooting **Connection test fails** * Verify API key permissions. * Double-check the Database ID and Table ID. * Ensure the table exists and is accessible. **Columns not appearing** * Revisit **Map Columns**. * Ensure Softr field names and types match the incoming data. ## Notes & limitations * The Softr destination currently supports **row inserts**. * Large imports may take longer depending on Softr API limits. # SQL Server Source: https://help.csvbox.io/destinations/sql-server Import CSV files and Excel sheets directly into your SQL Server tables. Import CSV files and Excel sheets directly into your SQL Server tables. **1. Select SQL Server as the destination** Select **SQL Server Database** as the destination type. **2. Connect your database** Connect your SQL Server database by providing the credentials. **3. Set the target table** Specify the table name where you want the data to be pushed. **4. Test the connection** Click **Test Connection**. **5. Map columns** If the connection is successful, click **Map Columns** and match the sheet template columns to the SQL Server table columns. You can also map custom attributes to table columns. **6. Choose the operation** Select one of the following 2 operations: * **Insert**: the importer always pushes the incoming CSV data as new records in the database. * **Upsert**: the importer checks whether the record exists in the database. If it exists, it's updated with the incoming data from the CSV. If it doesn't, a new record is inserted. The record check is based on the index keys specified in the mapping modal. ![Define unique key for upsert operation](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/unique-1.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=c970661185ffe948a4296a201d679f28) > [!WARNING] > > The **Upsert** operation is significantly slower than the **Insert** operation. With **Insert**, records can be pushed in chunks, whereas **Upsert** processes only one record at a time and requires multiple queries. > [!NOTE] > > Boolean columns that use [Display as checkbox](/dashboard-settings/validations#display-as-checkbox) are pushed as `true` or `false`, which SQL Server accepts for boolean columns. # Supabase Source: https://help.csvbox.io/destinations/supabase Import CSV and Excel data directly into your Supabase tables. The Supabase destination pushes uploaded spreadsheet data from CSVbox straight into your Supabase database. It's ideal for SaaS products that already use Supabase as their backend. ## Set up the destination **1. Choose Supabase as the destination** In your **Sheet Settings**, set **Destination Type** to **Supabase**. **2. Connect your database** Provide your Supabase project credentials: * **Project URL**: found in your Supabase project settings. * **Service Role Key**: available under **Project → API → Service Role**. > [!NOTE] > > CSVbox stores credentials securely and uses them only for insert operations. **3. Set the target table name** Enter the **Table Name** where you want the imported data to be inserted. The table must already exist in your Supabase database. Click **Test Connection** to confirm that the connection is successful. **4. Map columns to fields** Match each column in your CSV or Excel sheet to the corresponding field in your Supabase table. **5. Map custom attributes (optional)** You can also map custom attributes from the CSV to specific fields in your table. ## Data flow Once setup is complete, every submitted file automatically inserts the processed data into your Supabase table, row by row, without any manual intervention. ## Notes * Your Supabase table schema must match the uploaded columns. Column names are case-sensitive. * Insert operations use Supabase's REST API under the hood. * Bulk uploads are optimized for large CSV files. * You can combine Supabase with CSVbox features like **validation rules**, **virtual columns**, and **AI transforms** for advanced workflows. # Test API Source: https://help.csvbox.io/destinations/test-api Validate your CSVbox setup with a unique testing endpoint before wiring up your own backend. A lightweight destination that helps you validate your CSVbox setup quickly, before wiring up your own backend. When selected, every successful import posts the parsed spreadsheet data to a **unique HTTPS URL** hosted at [https://webhooks.csvbox.io/](https://webhooks.csvbox.io/). Example: ```html theme={"dark"} https://webhooks.csvbox.io/b/5f3b0901-1c32-4d83-9fdd-a454e56e1938 ``` Use it to confirm payload shape, headers, and delivery behavior during initial integration. > [!WARNING] > > The Test API is designed **for initial testing only**. Do not use it for production data flows. ## When to use it * You're integrating CSVbox for the first time and want to **see the JSON** CSVbox sends. * You need to **confirm columns, data types, and null handling** after the mapper and validators run. * You want a **no-setup** endpoint to verify end-to-end delivery before connecting your real destination. # Webflow Source: https://help.csvbox.io/destinations/webflow Import customer CSV data to your Webflow CMS. The Webflow destination pushes the CSV and Excel files your users upload directly into a Webflow CMS collection. ## Set up the destination **1. Log in to CSVbox** Log in to [csvbox.io](https://app.csvbox.io/login). **2. Add a sheet** ![Add a sheet](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-25.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=d14240679337fc10a71bd660e9620cce) **3. Add columns** Add columns to the sheet as per your requirement. ![Add columns to the sheet](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-17.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=578d53143729636d7a944f77e4fc2aaa) **4. Select Webflow as the destination** Under the **Destination** section, for the **Send Data To** setting, select **Webflow**. Then click **Connect Webflow**. ![Connect Webflow](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/connect-webflow.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=4e750ab2c6ac706cfe1cdd80ea2a6efd) **5. Authorize the application** You are redirected to the Webflow CSVbox Integration Authorization screen. ![Webflow authorization](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/webflow-auth.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=7bf714f5cdfa28adb5e6727ed5104b82) Select the site where you want the CSV data to be pushed, then click **Authorize Application**. **6. Pick the site and collection** Go back to your CSVbox sheet and pick the Webflow site and the collection from the list. ![Select site and collection](https://mintcdn.com/csvbox-io/l4j5cgTPiOdRvWQ3/images/webflow-site-selection.jpg?fit=max\&auto=format\&n=l4j5cgTPiOdRvWQ3\&q=85\&s=15d21c7be3c6a400a801723a96fa8f00) **7. Map columns** Click **Map Columns** and map the sheet columns to the Webflow CMS collection fields. ![Column mapping](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/col-mappings.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=46ab57d8e27223d5f146f9f38191d573) **8. Save the sheet** Click **Save**. The CSVs uploaded by your users are now pushed to the Webflow CMS. # Xano Source: https://help.csvbox.io/destinations/xano Send your CSV or Excel sheet data to a Xano API endpoint, with columns mapped to the endpoint's input fields. The Xano destination sends your users' CSV or Excel data to one of your own [Xano](https://www.xano.com) API endpoints. CSVbox reads your API group's OpenAPI (Swagger) specification, so you pick an endpoint and map sheet columns to its input fields, with no manual URL or payload building. | Setting | Value | | - | - | | Connection method | Xano API group OpenAPI (Swagger) spec URL | | Supported methods | `POST`, `PUT`, `PATCH` | | Send modes | One request per row, or one request per file | | Authentication | Token in the spec URL, or a Bearer token | | Retries | Up to 3 retries on server errors (HTTP 5xx) | ## Before you start * A Xano workspace with an API endpoint that accepts the data you want to import, for example `POST /customers`. * **Swagger documentation** turned on for the API group that contains the endpoint. In Xano, open the API group → **Settings** and set **Swagger documentation** to **Public** or **Private (with token)**. It must not be **Disabled**. * The full spec URL for the API group. For a private group, copy the URL including `?token=...`. > [!NOTE] > > The spec URL must be publicly reachable. Private and internal network addresses are rejected. ## How it works **1. Select Xano as the destination type** Open your sheet, go to **Destination**, and choose **Xano** from the list. **2. Load your API spec** Paste your Xano spec URL, for example: ```text theme={"dark"} https://x8ki-letl-twmt.n7.xano.io/apispec:abc123?type=json&token=eyJ... ``` Click **Load Endpoints**. CSVbox downloads the spec and lists every endpoint that accepts `POST`, `PUT`, or `PATCH`. If the URL has no `token=` parameter and your docs are protected, add a **Docs Auth** token. You can use a Bearer token, or a custom header name and value. **3. Select the endpoint** Pick the endpoint that should receive the data. CSVbox loads its input fields (name, type, required, and allowed values) and detects whether the endpoint expects a single object or an array of objects. **4. Test the connection (optional)** Click **Test Connection**. This is a read-only check: it fetches your spec URL and confirms that it contains a valid `paths` object. It doesn't call your endpoint or create any data. | Result | Meaning | | - | - | | `Spec verified — found N path(s).` | The URL and token are valid | | `Authentication failed (HTTP 401/403)` | The token is missing or wrong | | `Response is not a valid OpenAPI spec` | The URL doesn't point to a Swagger JSON spec | | `Spec URL resolves to a private or reserved IP address` | Not allowed for security reasons | **5. Map sheet columns to the endpoint fields** Match each column in your sheet to an input field of the endpoint. You can also map custom attributes, such as `user_id`, to send them with every row. * Use dot notation for nested objects, such as `address.city`. * Use brackets for arrays, such as `tags[0]` or `items[0].sku`. * Columns you leave unmapped aren't sent. * Required fields from the spec are highlighted. Map all of them, or Xano rejects the request. CSVbox rebuilds nested and array fields into proper JSON before sending: ```json theme={"dark"} { "address": { "city": "Pune" }, "tags": ["a"], "items": [ { "sku": "X1" } ] } ``` **6. Save the destination** Click **Save**. The destination is active for all new uploads. ## How data is sent ### One request per row By default, each row becomes one request. Progress is updated after every row. ```text theme={"dark"} POST https://.xano.io/api:abc123/customers Authorization: Bearer (only if a token is configured) Accept: application/json { "name": "Asha", "email": "asha@example.com", "age": 31 } ``` ### One request per file If the request body of the selected endpoint is an **array**, CSVbox sends all rows in a single request: ```json theme={"dark"} [ { "name": "Asha" }, { "name": "Ravi" } ] ``` CSVbox detects this automatically from your spec. In this mode, a failure affects the whole file, because Xano answers the request as a whole. ### Type conversion CSVbox converts each value to the type declared in your Xano input before sending it. | Xano type | Accepted values | | - | - | | `integer` | Whole numbers only (`12` is accepted, `12.5` is not) | | `number` / `decimal` | Any numeric value | | `boolean` | `true`, `false`, `1`, `0`, `yes`, `no`, `on`, `off` (case-insensitive) | | `string` | Sent as-is | | Enum | Must match one of the allowed values | * Empty cells are sent as `null`. * A row that fails conversion isn't sent. It's logged with the reason, for example `field age: cannot coerce 'abc' to integer`. ## Error handling | Response from Xano | What CSVbox does | | - | - | | `2xx` | The row is counted as imported | | `400` or `422` | The row is marked failed with Xano's message (first 300 characters), and the import continues | | `401` or `403` | The import is aborted because authentication failed | | `429` | The import is aborted immediately, with no retry | | `5xx` | The request is retried up to 3 times. If it still fails, the row is marked failed and the import continues | | Network error or timeout (30 seconds) | The row is marked failed and the import continues | > [!WARNING] > > Xano plans enforce request limits. Because one-request-per-row mode makes one call per row, large files on low-limit plans can hit a `429`. For large imports, use an endpoint that accepts an array, or raise the limit on your Xano plan. ## Import results | Status | Meaning | | - | - | | Success | All rows were accepted | | Partial | Some rows were accepted and some failed | | Failed | No rows were accepted, or the import was aborted before anything succeeded | Row-level errors appear in the import's error log with the row number, the field (when known), the HTTP status, and the message. ## Troubleshooting | Message | Cause | Fix | | - | - | - | | `Spec requires a token. Copy the full URL from Xano (it includes &token=...)` | A private API group with no token in the URL | Paste the complete URL, or fill in Docs Auth | | `Spec URL not reachable — confirm Swagger is enabled` | Swagger is disabled for the API group | Enable it in the API group settings in Xano | | `Spec URL returned an HTML page` | You pasted the Xano dashboard URL instead of the spec URL | Use the `apispec:` URL from the Swagger settings | | `This spec has no endpoints` | The API group has no endpoints, or the URL is for the wrong group | Check the group in Xano | | `Please load the OpenAPI spec and select an endpoint.` | You tried to save before choosing an endpoint | Click **Load Endpoints**, then pick one | | `Authentication failed — import aborted (HTTP 401/403)` | The endpoint needs a token that is missing or expired | Update the token in Docs Auth and test again | | `Row rejected (HTTP 422): ...` | Xano's input validation failed for that row | Fix the data or the mapping for that field | | `Rate limit hit (HTTP 429) — import aborted.` | The Xano request limit was reached | Use an array endpoint or upgrade your Xano plan, then re-import | ## Good to know * The spec URL and token are stored per sheet. If you regenerate the token in Xano, reload the spec and save again. * Switching to a different endpoint resets the available fields, so check your mapping again. * Only `POST`, `PUT`, and `PATCH` endpoints are listed. * A single file is limited by your plan's row limit. Rows beyond the limit aren't sent. # Xero Source: https://help.csvbox.io/destinations/xero Send your CSV or Excel sheet data to your Xero organisation, including contacts, invoices, payments, and bank transactions. The Xero destination sends your users' CSV or Excel data straight into your Xero organisation. You can import contacts, invoices, payments, bank transactions, and any other Xero Accounting object that accepts `POST` or `PUT`. | Setting | Value | | - | - | | Connection method | OAuth 2.0 (sign in with Xero, no API keys to copy) | | Xero API | Accounting API | | Supported operations | `POST` (create) and `PUT` (create or update, depending on the Xero endpoint) | | Batch size | 100 records per request | | Multiple organisations | Supported. The first authorised organisation is selected by default. | ## Before you start * A Xero account with permission to connect apps to the organisation you want to import into. * A CSVbox sheet with its columns defined. ## How it works **1. Select Xero as the destination type** Open your sheet, go to **Destination**, and choose **Xero** from the list. **2. Connect your Xero account** Click **Connect to Xero**. You're redirected to Xero's sign-in and consent screen. Select the organisation you want to authorise and click **Allow access**. You're returned to CSVbox with the connection marked as valid, and the name of the connected organisation is shown. > [!NOTE] > > If you cancel on the Xero consent screen, your sheet keeps its previous destination. **3. Choose an endpoint** Select the Xero API endpoint that should receive the data, for example `/Contacts`, `/Invoices`, or `/Payments`. The list is built from Xero's official Accounting OpenAPI specification and only includes endpoints that accept `POST` or `PUT`. Each entry shows its HTTP method. An endpoint and method are required. You can't save the destination without them. **4. Map sheet columns to Xero fields** Match each column in your sheet to a Xero field. The fields come from the selected endpoint and show their type (string, number, boolean, date, or enum). * Use dot notation for nested fields, such as `Phones.PhoneNumber` or `Addresses.AddressLine1`. * Use `[]` for line items on an array field, such as `LineItems[].Description` or `LineItems[].UnitAmount`. * Columns you leave unmapped aren't sent. You can also map custom attributes, such as the logged-in user's ID, to a Xero field to send them with every row. **5. Save the destination** Click **Save**. The destination is active for all new uploads. ### Permissions CSVbox requests | Scope | Why it's needed | | - | - | | `accounting.contacts` | Create and update contacts | | `accounting.invoices` | Create and update invoices and credit notes | | `accounting.payments` | Create payments | | `accounting.banktransactions` | Create bank transactions | | `accounting.settings` | Read organisation settings and reference data | | `offline_access` | Keep the connection alive without asking you to sign in again | ## How data is sent CSVbox reads each row, converts the mapped columns to the types Xero expects, and groups the rows into batches of 100. Each batch is sent as one request: ```text theme={"dark"} POST https://api.xero.com/api.xro/2.0/Contacts?summarizeErrors=false Authorization: Bearer xero-tenant-id: { "Contacts": [ { ... }, { ... } ] } ``` Because `summarizeErrors=false` is set, Xero validates every record on its own. One bad row doesn't block the other 99 in the batch. Progress is streamed live to the importer. ### Type conversion | Xero type | Accepted values | | - | - | | Boolean | `true`, `false`, `1`, `0`, `yes`, `no`, `on`, `off` (case-insensitive) | | Integer or number | Any numeric value | | Date | Any recognisable date, sent as `YYYY-MM-DD` | | Date-time | Any recognisable date-time, sent as ISO 8601 | | Enum | Must exactly match one of Xero's allowed values | * Empty cells are skipped. The field isn't sent. * A row that fails conversion isn't sent. It's reported with its row number and field, for example `row 12, field Status: invalid value "Active"; allowed: ACCOUNTS, ...`. ## Import results | Status | Meaning | | - | - | | Success | Every row was accepted by Xero | | Partial | Some rows were accepted and some failed | | Failed | No rows were accepted, or the file contained no rows | Per-row problems, including Xero validation messages and conversion errors, are listed in the import's error log. For example: ```text theme={"dark"} row 4: Email address must be valid; Name must be unique ``` ## Token handling * Access tokens are refreshed automatically before they expire, so you never have to re-enter anything. * If Xero rejects a request with `401`, CSVbox refreshes the token and retries once. * If the refresh token itself is no longer valid, the connection is marked as disconnected and the import fails with `Xero refresh token expired — reconnect Xero to continue`. This happens when access was revoked in Xero, or when the connection went unused for 60 days. Click **Connect to Xero** again to fix it. ## Troubleshooting | Message | Cause | Fix | | - | - | - | | `Please select a Xero API Endpoint before saving.` | No endpoint is chosen | Pick an endpoint in the destination settings | | `Xero refresh token expired — reconnect Xero to continue` | Authorisation was revoked or expired | Click **Connect to Xero** again | | `Xero 403: permissions missing — reconnect Xero` | The connection lacks a scope the chosen endpoint needs | Reconnect and approve all requested permissions | | `Xero 429: rate limit hit — try again later` | Xero's API rate limit was reached | Wait a minute and re-import the failed rows | | `Xero 400: row N: ...` | Xero rejected the batch, usually because a required field is missing | Check that the mapping covers Xero's required fields for that endpoint | | `row N, field X: cannot cast "..." to ...` | A cell value doesn't match the field's type | Fix the value in the file, or add a validation or transform on the column | | The endpoint list is empty | Xero's spec couldn't be loaded when you connected | Reopen the destination settings. The list loads again automatically. | ## Disconnecting Click **Disconnect** in the destination settings to remove the stored Xero tokens and mapping from the sheet. To also revoke CSVbox's access on Xero's side, remove the app under **Xero** → **Settings** → **Connected apps**. ## Good to know * Each sheet connects to one Xero organisation at a time. * Credentials are stored per sheet and aren't shared between sheets. * Only endpoints that accept `POST` or `PUT` are offered. Read-only endpoints aren't available. * A single file is limited by your plan's row limit. Rows beyond the limit aren't sent. # Zapier Source: https://help.csvbox.io/destinations/zapier Push user CSV data to Zapier as a trigger and move it to any connected app. The Zapier destination pushes the data from files your users upload to Zapier as a trigger. You can then move this data to any connected app of your choice. ## Set up the destination **1. Log in to CSVbox** Log in to [csvbox.io](https://app.csvbox.io/login). **2. Add a sheet** ![Add a sheet](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/add-sheet.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=69f7b40d5ca58b9ea1a6121227561873) **3. Add columns** Add columns to the sheet as per your requirement. ![Add columns](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/add-columns.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=32b2e1f3586aa0890240c0ce7241627e) **4. Select Zapier as the destination** Under the **Settings** section, for the **Send Data To** setting, select **Zapier**. **5. Connect a Zap** Click **Connect Zap**. This redirects you to Zapier. ![Connect Zap](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/connect-zap.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=101ea54ce6e587e404ef9afb553490f9) **6. Create a new Zap** Log in to your Zapier account and create a new Zap. **7. Choose the CSVbox trigger** Select **csvbox.io** as the Trigger. ![csvbox.io trigger in Zapier](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/csvbox-trigger.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=04ee0306588963087f1ea0dbd981b969) Select **New Import Row** as the Trigger Event. **8. Connect your CSVbox account** Provide your API Key and API Secret Key. You can find these keys on the **Accounts** page of your CSVbox dashboard. ![API credentials](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/keys.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=8a1f2bc4c74d45c5395ffcac758b1244) **9. Select the sheet** Select the sheet (template) in the **sheets** dropdown of the **Set up Trigger** section. Data from this sheet is pushed to Zapier one row at a time. ![Select sheet](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/trigger-sheet.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=f28e3b2fb713353dbc6c2947a396a23b) **10. Test the trigger** Test the trigger and continue with setting up the Action of your Zap. # Getting Started Source: https://help.csvbox.io/getting-started Add a production-ready spreadsheet import feature to your web app in just a few minutes with CSVbox. CSVbox gives your web app a production-ready import feature in just a few minutes. Your users upload spreadsheets through an embeddable importer, and CSVbox validates the data and pushes it to the destination you choose. ## Key concepts These terms are used throughout the application: | Term | Definition | | - | - | | **User** | Any person who uses your application. | | **File** | The spreadsheet file that the users want to upload to your application. Users can upload `.csv`, `.xlsx`, or `.xls` files. | | **Sheet (template)** | The data model that specifies the structure of the data you want to accept. You add columns to the sheet and configure validation criteria in your CSVbox dashboard. Users match the headers of their file columns with the sheet columns and clean the data before uploading. | | **Import** | The entire process where the user opens the CSVbox importer to select the file, match columns, validate data, and submit the file. | | **Destination** | The end location where the CSVbox importer pushes the data uploaded by the user. | ## Quick start Follow these three steps to install the CSVbox CSV importer widget in your app and start accepting data from your users. > **[1. Add Template](/getting-started/1-add-template)** > > Define the model of the incoming data. > **[2. Install Code](/getting-started/2-install-code)** > > Add the code snippet to your app to embed the widget. > **[3. Receive Data](/getting-started/3-receive-data)** > > Accept CSV data into your application. ## Third-party licenses > [!NOTE] > > * This importer uses the PapaParse library to parse spreadsheet files. © 2015 Matthew Holt. Licensed under the MIT License. > * The project also uses the SheetJS Community Edition (XLSX.js), an open-source library for handling spreadsheet files. © 2012-present SheetJS LLC. Licensed under the Apache License, Version 2.0. # Add a Template Source: https://help.csvbox.io/getting-started/1-add-template Configure the data model for your imports in your CSVbox dashboard. Templates (or sheets) define the structure of the data that you want to accept from your users. ## Create a sheet **1. Add a sheet** Go to the **Sheets** page in your dashboard and add a sheet. **2. Specify columns** Add the columns you want to accept, then configure the validation rules and data format for each column. > [!NOTE] > > When users upload a file, the importer validates the data in every column and tells them about any errors. Users must resolve the errors before they can submit the file. **3. Configure the destination** On the **Data Destination** tab, configure where you want the data to be pushed. The destination can be an API endpoint, an Amazon S3 bucket, a MySQL database, or any of the other [destinations](/destinations). ## Next steps > **[2. Install Code](/getting-started/2-install-code)** > > Add the code snippet to your app to embed the importer. > **[Destinations](/destinations)** > > Explore every place CSVbox can send your data. # Install the Code Source: https://help.csvbox.io/getting-started/2-install-code Add a snippet of code to your app to start accepting spreadsheets from your users. Embed the CSVbox importer in your app with a short code snippet. Go to the **Code** tab of the sheet, find the integration code, and place it in your application where you want the import button to appear. ## Install the importer **JavaScript** Sample code with basic usage: ```javascript theme={"dark"} ``` > [!NOTE] > > Each sheet has a unique license key. Find it on the **Code** tab of the sheet page and pass it to the `CSVBoxImporter` function. **React** Install using npm: ```javascript theme={"dark"} npm install @csvbox/react ``` This gives you access to the `CSVBoxButton` component, which has the basic functionality of the importer. Import the `CSVBoxButton` component into your project. ```javascript theme={"dark"} import { CSVBoxButton } from '@csvbox/react' ``` Basic usage: ```javascript theme={"dark"} { if(result){ console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code }else{ console.log("fail"); //custom code } }} render={(launch, isLoading)=>{ return ; }} > Import ``` > [!NOTE] > > Each sheet has a unique license key. Find it in the **Code** section of the sheet page and attach it to the `licenseKey` property of the `CSVBoxButton` component. > > The optional `render` property lets you pass in your own button to use in place of the standard CSVbox element. **Angular** Install using npm: ```javascript theme={"dark"} npm install @csvbox/angular ``` > [!NOTE] > > For Angular versions below 12, use `@csvbox/angular_8`. For Angular 12 and above, use `@csvbox/angular`. **Import** Add `CSVBoxAngularModule` to your module imports. ```javascript theme={"dark"} import { CSVBoxAngularModule } from "@csvbox/angular"; @NgModule({ ... imports: [ ... CSVBoxAngularModule ] }) ``` Once this is set up, you can import and access the `CSVBoxMethods` module in your app component file. It brings the `csvbox-button` component into your project. Example: ```text theme={"dark"} Import ``` Basic usage: ```javascript theme={"dark"} @Component({ selector: 'app-root', template: ` Import ` }) export class AppComponent { title = 'example'; licenseKey = 'YOUR_LICENSE_KEY_HERE'; user = { user_id: 'default123' }; imported(result: boolean, data: any) { if(result) { console.log("Sheet uploaded successfully"); console.log(data.row_success + " rows uploaded"); }else{ console.log("There was some problem uploading the sheet"); } } } ``` > [!NOTE] > > Each sheet has a unique license key. Find it in the **Code** section of the sheet page and attach it to the `licenseKey` property of the `AppComponent`. **Styling the button** To style `` from within your parent component, make sure the parent component has `ViewEncapsulation.None`, then pass a class down to ``. You can then style the `button` one level down. ```javascript theme={"dark"} import { Component, ViewEncapsulation } from '@angular/core'; ``` ```javascript theme={"dark"} @Component({ selector: 'app-root', template: ` Import `, encapsulation: ViewEncapsulation.None, styles: [` .csvbox-btn button { background: #007bff; border-radius: 3px; } `], }) export class AppComponent { //... } ``` **Vue.js** Install using npm: ```javascript theme={"dark"} npm install @csvbox/vuejs ``` This gives you access to the `CSVBoxButton` component. Import the `CSVBoxButton` component into your project. ```javascript theme={"dark"} import { CSVBoxButton } from '@csvbox/vuejs' ``` Include `CSVBoxButton` in your Vue `components`, and you're ready to get started. Basic usage: ```javascript theme={"dark"} ``` > [!NOTE] > > Each sheet has a unique license key. Find it in the **Code** section of the sheet page and attach it to the `licenseKey` property of the `CSVBoxButton` component. **Implementation demos** * Vue2: [https://codesandbox.io/s/csvbox-vue2-plzl0q](https://codesandbox.io/s/csvbox-vue2-plzl0q) * Vue3: [https://codesandbox.io/s/csvbox-vue3-vuselr](https://codesandbox.io/s/csvbox-vue3-vuselr) > [!WARNING] > > If your app or database restricts access to an IP allowlist, you need to manually add CSVbox's addresses to use the importer. Allowlist all of the following IP addresses: > > * `18.233.84.183` > * `18.213.249.53` > * `3.73.26.144` > > Only one of these addresses is in use at any time, but the active address can change at any time. Add them all to your allowlist to avoid interruptions in service. ## Referencing the user Configure **custom user attributes** in the installation code to identify the users on your platform and match them with their imports. **JavaScript** Pass custom user attributes as input parameters to the `setUser` method. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} importer.setUser({ user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" }) ``` **React** Pass custom user attributes as an object to the `user` property of the `CSVBoxButton` component. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} user={{ user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" }} ``` **Angular** Pass custom user attributes as an object to the `user` property of the `AppComponent`. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} user={ user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" } ``` **Vue.js** Pass custom user attributes as an object to the `user` property of the `CSVBoxButton` component. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} user: { user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" }, ``` ## Callback function Once the user uploads a file, the importer returns the status of the import along with metadata describing the completed import. Data is returned in two variables, `result` and `data`: * **`result`**: a boolean that is `true` if the import succeeds and `false` if it fails. * **`data`**: JSON data as shown below. ```javascript theme={"dark"} { "import_id": 79418895, "sheet_id": 575, "sheet_name": "Products Import", "destination_type": "webhook", "row_count": 100, "row_success": 98, "row_fail": 2, "import_status": "Partial", "import_starttime": 87987897897, "import_endtime": 90890890809, "original_filename": "example-1.csv", "raw_file": "https://file-download-link", "custom_fields": { "user_id": "Z1001" }, "column_mappings": [ { "Name": "Name" }, { "SKU": "Product SKU" }, { "Price": "Sale Price" }, { "Quantity": "Inventory"}, { "Image URL": "Img"} ] } ``` > [!NOTE] > > The `data` object is null if the import fails. You can also configure the importer to receive the entire file data in JSON format in the `data` object. [Learn more](/getting-started/3-receive-data#data-on-the-client-side). You can write custom code to handle the success or failure conditions on the client side. **JavaScript** The `result` and `data` variables are available in the `callback` function, which is triggered when the import completes. ```javascript theme={"dark"} function callback(result, data) { if(result){ console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code }else{ console.log("fail"); //custom code } } ``` **React** The `onImport` property of the `CSVBoxButton` component provides access to the `result` and `data` variables. ```javascript theme={"dark"} onImport={(result, data) => { if (result) { console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code } else { console.log("fail"); //custom code } }} ``` **Angular** The `imported` property provides access to the `result` and `data` variables through the specified callback function. ```javascript theme={"dark"} imported(result: boolean, data: any) { if(result) { console.log("Sheet uploaded successfully"); console.log(data.row_success + " rows uploaded"); }else{ console.log("There was some problem uploading the sheet"); } } ``` **Vue.js** The `onImport` property provides access to the `result` and `data` variables. ```javascript theme={"dark"} onImport: function (result, data) { if(result){ console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code }else{ console.log("fail"); //custom code } } ``` ## Options These additional configuration options are available with the CSVbox importer. | Option | Type | Default | What it does | | - | - | - | - | | `max_rows` | `number` | `null` | Maximum number of data rows a single file can import. Headers are not counted: a file with 101 rows whose first row is the header has 100 data rows. | | `max_rows_allow_submit` | `boolean` | `true` | When a file has more rows than `max_rows`: if `true`, the user can submit the first `max_rows` rows; if `false`, the user can't submit any rows. | | `max_rows_custom_message` | `string` | `null` | Custom message shown when a file has more rows than `max_rows`. Shown only when `max_rows_allow_submit` is `false`. | | `min_rows` | `number` | `null` | Minimum number of rows required for a single upload. | | `min_rows_custom_message` | `string` | `null` | Custom message shown when a file has fewer rows than `min_rows`. | | `language` | `string` | `null` | Importer frontend language. Overrides the default language set in the CSVbox dashboard. See [supported language codes](#supported-language-codes). | | `allow_invalid` | `boolean` | `0` | Whether users can submit the file even if it has validation errors. | | `request_headers` | `object` | `null` | Additional headers passed with each HTTP request, as `{ "Header-Name": "value" }` pairs. | | `dynamic_list_request_headers` | `object` | `null` | Additional headers passed with each request to the [dynamic list API](/dashboard-settings/validations#dynamic-list). | | `sample_template_url` | `string` | `null` | URL from which end users download the sample CSV file. Use with `sample_template_button_text` to give each user a customized sample file. | | `sample_template_button_text` | `string` | `null` | Text on the button that downloads the sample CSV file. | | `target_file_name` | `string` | `null` | Name of the file pushed to your destination. Applies only to the S3, Google Cloud Storage, FTP Server, and Google Sheets destinations. | | `upload_file_url` | `string` | `null` | URL of a file to preload into the importer, so users don't have to upload one. The importer loads the data when the user clicks **Import**. | | `upload_file_worksheet_name` | `string` | `null` | Worksheet to load when the `upload_file_url` file has multiple tabs. | | `theme` | `string` | `null` | Theme applied at runtime: `light`, `light-custom`, `dark`, or `dark-custom`. If not set, the theme from the sheet dashboard is used. | | `default_header_row` | `number` | `1` | Row auto-selected as the header on the **Header Selection** page. Rows are 1-indexed. | > **Supported language codes** > > | Value | Language | > | - | - | > | `en` | English | > | `de` | German | > | `fr` | French | > | `es` | Spanish | > | `nl` | Dutch | > | `pt` | Portuguese | > | `th` | Thai | > | `pl` | Polish | > | `ro` | Romanian | > | `he` | Hebrew | > | `ja` | Japanese | > | `da` | Danish | > | `tr` | Turkish | > | `sk` | Slovak | > | `hi` | Hindi | > | `ms` | Bahasa Malaysia (Malay) | > | `ru` | Russian | > | `vi` | Vietnamese | > | `ko` | Korean | > | `id` | Bahasa Indonesia | > | `ar-EG` | Egyptian Arabic | > | `ur` | Urdu | > | `zh-CN` | Chinese (Simplified) | > | `zh-TW` | Chinese (Traditional) | > | `bg` | Bulgarian | > | `cs` | Czech | > | `hu` | Hungarian | > | `uk` | Ukrainian | The following examples set several of these options: **JavaScript** Pass additional options as input parameters to the `setOptions` method. ```javascript theme={"dark"} importer.setOptions({ max_rows: 50, language: 'de', request_headers: { "Content-Type": "application/json", "X-Access-Token": "71ab1d73a4d1319b260e9a0sdbdbc1c" }, sample_template_url: 'https://files.myapp.com/user-18768', sample_template_button_text: 'Starter Template' }) ``` **React** Pass the additional options as an object to the `options` property of the `CSVBoxButton` component. ```javascript theme={"dark"} options={{ max_rows: 50, language: 'de', request_headers: { "Content-Type": "application/json", "X-Access-Token": "71ab1d73a4d1319b260e9a0sdbdbc1c" }, sample_template_url: 'https://files.myapp.com/user-18768', sample_template_button_text: 'Starter Template' }} ``` **Angular** Pass the additional options as an object to the `options` property of the `AppComponent`. ```javascript theme={"dark"} options = { max_rows: 50, language: 'de', request_headers: { "Content-Type": "application/json", "X-Access-Token": "71ab1d73a4d1319b260e9a0sdbdbc1c" }, sample_template_url: 'https://files.myapp.com/user-18768', sample_template_button_text: 'Starter Template' } ``` **Vue.js** Pass the additional options as an object to the `options` property of the `CSVBoxButton` component. ```javascript theme={"dark"} options: { max_rows: 50, language: 'de', request_headers: { "Content-Type": "application/json", "X-Access-Token": "71ab1d73a4d1319b260e9a0sdbdbc1c" }, sample_template_url: 'https://files.myapp.com/user-18768', sample_template_button_text: 'Starter Template' }, ``` ## Events These additional importer events and properties are available. | Event | Angular name | Arguments | When it fires | | - | - | - | - | | `onReady` | `importerReady` | None | The importer is initialized and ready for use. Users can then click the **Import** button to open the importer modal dialog. | | `onLoadStart` | `loadStarted` | None | The importer iframe starts loading. In vanilla JavaScript, it fires only when [Lazy Load](#lazy-load) is activated; without Lazy Load, the iframe starts loading as soon as the importer is initialized. | | `onClose` | `closed` | None | The importer is closed. | | `onSubmit` | `submitted` | `data` (object) | The user clicks **Submit** to upload the validated file. `data` contains metadata about the import; see the [sample](#onsubmit-data-object-sample) below. | | `onImport` | `imported` | `result` (boolean), `data` (object) | All the data is pushed to the destination. `result` is `true` when the import succeeds and `false` when it fails; `data` contains metadata about the import. | > **onSubmit data object sample** > > ```json theme={"dark"} > { > "import_id": 79418895, > "sheet_id": 575, > "sheet_name": "Products Import", > "destination_type": "webhook", > "row_count": 100, > "import_starttime": 87987897897, > "original_filename": "example-01.csv", > "custom_fields": { > "user_id": "Z1001" > }, > "column_mappings": [ > { > "Item": "Product Name" > }, > { > "SKU": "Product SKU" > }, > { > "Price": "Sale Price" > }, > { > "Quantity": "Inventory" > }, > { > "Image URL": "Img" > } > ] > } > ``` The following examples listen to these events: **JavaScript** ```javascript theme={"dark"} ``` **React** ```javascript theme={"dark"} import React from "react"; import { CSVBoxButton } from "@csvbox/react"; const App = () => { return ( { if (result) { console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code } else { console.log("fail"); //custom code } }} loadStarted={() => { console.log("loadStarted"); }} onReady={() => { console.log("onReady"); }} onClose={() => { console.log("onclosed"); }} onSubmit={(data) => { console.log("onSubmit"); console.log(data.import_id); }} > Import ); }; export default App; ``` **Angular** Angular uses the event names in the **Angular name** column of the table above. ```javascript theme={"dark"} import { Component } from '@angular/core'; @Component({ selector: 'app-root', template: ` Import ` }) export class AppComponent { title = 'example'; licenseKey = 'YOUR_LICENSE_KEY_HERE'; user = { user_id: 'default123' }; dynamicColumns = [ { column_name: 'col2', type: 'text' } ]; imported(result: boolean, data: any) { console.log("result", result, "data", data) if(result) { console.log("Sheet uploaded successfully"); console.log(data.row_success + " rows uploaded"); }else{ console.log("There was some problem uploading the sheet"); } } loadStarted() { console.log("loadStarted"); } closed(){ console.log("onClose"); } importerReady(){ console.log("onReady"); } submitted(data: any){ console.log("onSubmit"); console.log(data.import_id); } } ``` **Vue.js** ```javascript theme={"dark"} ``` ## Other settings ### Lazy load The importer assets load when the webpage loads. This can slow your app if you initialize multiple importers on the same page. As a workaround, defer loading the importer assets until the **Import** button is clicked by adding the `lazy: true` parameter to the initialization code. **JavaScript** ```javascript theme={"dark"} let importer = new CSVBoxImporter("YOUR_LICENSE_KEY_HERE",{ }, callback, { lazy: true }); ``` **React** ```javascript theme={"dark"} import { CSVBoxButton } from '@csvbox/react' import './App.css'; function App() { return (
{ if(result){ console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code }else{ console.log("fail"); //custom code } }} lazy={true} > Import
); } export default App; ``` **Angular** ```javascript theme={"dark"} @Component({ selector: 'app-root', template: ` Import ` }) export class AppComponent { title = 'csvbox-test'; licenseKey = 'YOUR_LICENSE_KEY_HERE'; user = { user_id: 'default123' }; lazy = true; imported(result: boolean, data: any) { if(result) { console.log("Sheet uploaded successfully"); console.log(data.row_success + " rows uploaded"); }else{ console.log("There was some problem uploading the sheet"); } } } ``` **Vue.js** ```javascript theme={"dark"} Upload File ``` ## Next steps > **[3. Receive Data](/getting-started/3-receive-data)** > > Receive the imported data in your app. > **[Destinations](/destinations)** > > Choose where CSVbox sends the imported data. # Receive Data Source: https://help.csvbox.io/getting-started/3-receive-data Receive validated, ready-to-use spreadsheet data in your app through your destination, a webhook, or the client-side callback. Once the code is installed, your users can submit their files through the CSVbox importer. The raw files they upload are available on the **Import** page of your dashboard. CSVbox also pushes the data to your app according to the [destination](/destinations) type configured for your sheet. See the [sample response](#sample-response) below for the payload format. ## Sample response This sample JSON response is sent to an API/webhook destination: ```json theme={"dark"} [ { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 1, "total_rows": 1009, "env_name": "default", "original_filename": "products01_24.csv", "row_data": { "Name": "TP-Link TL-WN822N Wireless N300 High Gain USB Adapter", "SKU": "AS-100221", "Price": "33.00", "Quantity": "3", "Image URL": "https://cdn.shopify.com/s/files/1/1491/9536/products/31jJOj1DS5L_070b4893-b7af-482f-8a15-d40f5e06760d.jpg?v=1521803806" }, "custom_fields": { "user_id": "1002" } }, { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 2, "total_rows": 1009, "env_name": "default", "original_filename": "products01_24.csv", "row_data":{ "Name": "EPower Technology EP-600PM Power Supply 600W ATX12V 2.3 Single 120mm Cooling Fan Bare", "SKU": "AS-103824", "Price": "95.35", "Quantity": "8", "Image URL": "https://cdn.shopify.com/s/files/1/1491/9536/products/71pRC5VjF-L_8f840eb9-6a47-407f-999c-490f7814159d.jpg?v=1521803806" }, "custom_fields": { "user_id": "1002" } }, ] ``` > [!WARNING] > > All import data and raw files are retained for one month. You can also choose to bypass storing the files in our data store. ## Import complete webhook Optionally, subscribe to the import complete event webhook on the sheet settings page. This webhook fires when CSVbox completes the import process for any user. Here is an example of the JSON that could be sent to your webhook endpoint: ```json theme={"dark"} { "import_id": 79418895, "sheet_id": 575, "sheet_name": "Products Import", "env_name": "default", "original_filename": "products01_24.csv", "destination_type": "webhook", "row_count": 100, "row_success": 98, "row_fail": 2, "import_status": "Partial", "import_starttime": 87987897897, "import_endtime": 90890890809, "original_filename": "example-01.csv", "raw_file": "https://file-download-link", "custom_fields": { "user_id": "Z1001" }, "raw_columns": [ "Name", "Product SKU", "Origin Date", "Sale Price", "Inventory", "Img", "Notes" ], "column_mappings": [ { "Name": "Name" }, { "SKU": "Product SKU" }, { "Price": "Sale Price" }, { "Quantity": "Inventory"}, { "Image URL": "Img"} ] } ``` ## Data on the client side You can also receive the entire CSV data in JSON format inside the `data` object of the [`callback`](/getting-started/2-install-code#callback-function) function. To receive the CSV data in the callback function, activate this option on the sheet **Destination** page. ![Send JSON data to client option on the sheet Destination page](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/client-data.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=c74d7bfc9331601347c1efdb0336999d) You then receive the JSON data in the `rows` property of the `data` object. For example: ```json theme={"dark"} { "import_id": 79418895, "sheet_id": 575, "sheet_name": "Products Import", "destination_type": "webhook", "env_name": "default", "original_filename": "products01_24.csv", "row_count": 2, "row_success": 2, "row_fail": 0, "import_status": "Success", "import_starttime": 87987897897, "import_endtime": 90890890809, "raw_file": "https://file-download-link", "custom_fields": { "user_id": "Z1001" }, "column_mappings": [ { "Name": "Name" }, { "SKU": "Product SKU" }, { "Price": "Sale Price" }, { "Quantity": "Inventory"}, { "Image URL": "Img"}, { "Barcode": "Barcode"}, { "Tags": "Attributes"} ], "raw_columns": [ "Name", "Product SKU", "Origin Date", "Sale Price", "Inventory", "Img", "Notes" ], "rows": [ { "Name": "Nike Shoes Greenhorn", "SKU": "NSGH", "Price": "195.35", "Quantity": "2", "_dynamic_data": { "inventory": "11", "origin": "uk" }, "_unmapped_data": { "Barcode": "2748937411", "Tags": "green" } }, { "Name": "Nike Shoes Airflow", "SKU": "NSAF", "Price": "295.35", "Quantity": "1", "_dynamic_data": { "inventory": "2", "origin": "uk" }, "_unmapped_data": { "Barcode": "5648937421", "Tags": "blue" } } ] } ``` ## Next steps > **[Destinations](/destinations)** > > Choose where CSVbox sends the imported data. > **[2. Install Code](/getting-started/2-install-code)** > > Review the importer options, events, and callback function. # Help Center Source: https://help.csvbox.io/index Guides and reference for adding a production-ready CSV and Excel importer to your app with CSVbox. CSVbox gives your app a production-ready spreadsheet importer in minutes. Your users upload CSV or Excel files, map their columns, and fix errors in the browser, and the clean data lands wherever you need it. ## Get started > **[Quick start](/getting-started)** > > Learn the key concepts and go live in three steps. > **[Install code](/getting-started/2-install-code)** > > Embed the importer widget in your web app. > **[Receive data](/getting-started/3-receive-data)** > > Accept imported data on the client side or through webhooks. > **[Data destinations](/destinations)** > > Push data to databases, cloud apps, storage, and automation tools. ## Explore > **[Dashboard settings](/dashboard-settings)** > > Configure columns, validations, and importer behavior. > **[Advanced installation](/advanced-installation)** > > Dynamic columns, validation functions, APIs, and more. > **[Account](/account)** > > Manage your account, API keys, and teams. ## Need help? > **[Contact us](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur)** > > Get in touch with the CSVbox team. > **[Changelog](/change-log)** > > See what's new in CSVbox. # Cookie Policy Source: https://help.csvbox.io/legal/cookie-policy Last updated January 31, 2022 This Cookie Policy explains how Thalia Technologies Private Limited ("**Company**", "**we**", "**us**", "**our**", "**csvbox.io**") uses cookies and similar technologies to recognize you when you visit our websites at [http://csvbox.io](http://csvbox.io), [http://app.csvbox.io/](http://app.csvbox.io/) ("**Websites**"). It explains what these technologies are and why we use them, as well as your rights to control our use of them. ## What are cookies? Cookies are small data files that are placed on your computer or mobile device when you visit a website. Cookies are widely used by website owners in order to make their websites work, or to work more efficiently, as well as to provide reporting information. Cookies set by the website owner (in this case, Thalia Technologies Private Limited) are called "first-party cookies". Cookies set by parties other than the website owner are called "third-party cookies". Third-party cookies enable third-party features or functionality to be provided on or through the website (e.g. advertising, interactive content and analytics). The parties that set these third-party cookies can recognize your computer both when it visits the website in question and also when it visits certain other websites. ## Why do we use cookies? We use first- and third-party cookies for several reasons. Some cookies are required for technical reasons in order for our Websites to operate, and we refer to these as "essential" or "strictly necessary" cookies. Other cookies also enable us to track and target the interests of our users to enhance the experience on our Online Properties. Third parties serve cookies through our Websites for advertising, analytics and other purposes. ## How can I control cookies? You have the right to decide whether to accept or reject cookies. You can exercise your cookie rights by setting your preferences in the Cookie Consent Banner. The Cookie Consent Manager allows you to accept or reject the cookies. Essential cookies will not be rejected as they are strictly necessary to provide you with services. The Cookie Consent Banner can be found on our website. If you choose to reject cookies, you may still use our website, though your access to some functionality and areas of our website may be restricted. You may also set or amend your web browser controls to accept or refuse cookies. As the means by which you can refuse cookies through your web browser controls vary from browser to browser, you should visit your browser's help menu for more information. In addition, most advertising networks offer you a way to opt out of targeted advertising. If you would like to find out more information, please visit [http://www.aboutads.info/choices/](http://www.aboutads.info/choices/) or [http://www.youronlinechoices.com](http://www.youronlinechoices.com). ## What about other tracking technologies, like web beacons? Cookies are not the only way to recognize or track visitors to a website. We may use other, similar technologies from time to time, like web beacons (sometimes called "tracking pixels" or "clear gifs"). These are tiny graphics files that contain a unique identifier that enable us to recognize when someone has visited our Websites or opened an e-mail including them. This allows us, for example, to monitor the traffic patterns of users from one page within a website to another, to deliver or communicate with cookies, to understand whether you have come to the website from an online advertisement displayed on a third-party website, to improve site performance, and to measure the success of e-mail marketing campaigns. In many instances, these technologies are reliant on cookies to function properly, and so declining cookies will impair their functioning. ## Do you use Flash cookies or Local Shared Objects? Websites may also use so-called "Flash Cookies" (also known as Local Shared Objects or "LSOs") to, among other things, collect and store information about your use of our services, for fraud prevention and for other site operations. If you do not want Flash Cookies stored on your computer, you can adjust the settings of your Flash player to block Flash Cookies storage using the tools contained in the [Website Storage Settings Panel](http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html). You can also control Flash Cookies by going to the [Global Storage Settings Panel](http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html) and following the instructions (which may include instructions that explain, for example, how to delete existing Flash Cookies (referred to as "information" on the Macromedia site), how to prevent Flash LSOs from being placed on your computer without your being asked, and (for Flash Player 8 and later) how to block Flash Cookies that are not being delivered by the operator of the page you are on at the time). Please note that setting the Flash Player to restrict or limit acceptance of Flash Cookies may reduce or impede the functionality of some Flash applications, including, potentially, Flash applications used in connection with our services or online content. ## Do you serve targeted advertising? Third parties may serve cookies on your computer or mobile device to serve advertising through our Websites. These companies may use information about your visits to this and other websites in order to provide relevant advertisements about goods and services that you may be interested in. They may also employ technology that is used to measure the effectiveness of advertisements. This can be accomplished by them using cookies or web beacons to collect information about your visits to this and other sites in order to provide relevant advertisements about goods and services of potential interest to you. The information collected through this process does not enable us or them to identify your name, contact details or other details that directly identify you unless you choose to provide these. ## How often will you update this Cookie Policy? We may update this Cookie Policy from time to time in order to reflect, for example, changes to the cookies we use or for other operational, legal or regulatory reasons. Please therefore revisit this Cookie Policy regularly to stay informed about our use of cookies and related technologies. The date at the top of this Cookie Policy indicates when it was last updated. # User Data Policy Source: https://help.csvbox.io/legal/data-policy Revision Date: 06 April 2023 ## Data retention Ensuring the privacy and security of user data is a top priority for us. You can rest easy, knowing that we take every precaution to provide an import service with high-grade security. We provide a variety of data processing modes, including the [**Private Mode**](/destinations/private-mode). The following is the description of the Standard Mode. When a user submits a file, CSVbox parses the file on the client side and then sends it to our servers. The data in transit is fully protected with a 256-bit SSL (Secure Socket Layer) connection that uses a SHA256 Certificate. This is the same level of protection used by online banking or e-commerce providers. We use databases from Amazon Web Services (AWS) with encryption enabled by default. The uploaded data is secured at rest and no one else can read it while it resides in our storage. Once the data is fully stored in our database, CSVbox then pushes it to your app or any other destination as configured by you in the dashboard. ![Data flow in Standard Mode](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/csvbox-workflow.svg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=71870a760abc454b53b5ee67cceb736c) Data flow in Standard Mode The user data from our storage is later deleted automatically after one month. Meanwhile, you can securely view and download this data anytime via the csvbox.io dashboard. We provide the option to get all the user-uploaded data deleted from our database (AWS S3) anytime with the click of a button. Lastly, you can configure the importer to completely bypass storing the data in our database (AWS S3). The long-lived data about the import and the user files is not deleted. It mainly consists of supplementary log data helpful for troubleshooting and analyzing the import processes. This data does not include any original data from inside the user files. ## Data residency Data residency refers to where the data is stored in a geographical location. The location is important usually for regulatory or policy reasons. The data, uploaded by your users, goes through our servers and gets stored in our databases, all located in the US by default. We offer the option to configure the data residency location to the US or Europe (Germany). ## Zero-knowledge design csvbox.io collects, processes and stores only information that is required to run the service. We do not proactively build customer profiles, track metadata about the end-users or store unnecessary information in cookies unless our clients explicitly demand it to achieve their business goals. With privacy at heart, we appreciate that the same business objectives can be achieved with multiple approaches. Processing unnecessary information represents a liability for us and a risk for our clients; therefore, by default, we prefer to design our features with a zero-knowledge approach. If you have any specific questions, you may raise a ticket [here](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur). ## GDPR * CSVbox.io is committed to users' right to data privacy and respects the spirit of the EU's General Data Protection Regulation. * We now have a GDPR-compliant [Data Processing Agreement (DPA)](/legal/gdpr/data-processing-addendum), that our customers can optionally sign with us. * We're continuously working on adding more data control options (for activity log data and others). * More information on our GDPR readiness is available [here](/legal/gdpr). ## User data policy changelog ### 06 April 2023 * Added text: > We provide a variety of data processing modes, including the [**Private Mode**](/destinations/private-mode). The following is the description of the Standard Mode. # GDPR Source: https://help.csvbox.io/legal/gdpr At CSVbox we take data protection and privacy seriously. We firmly believe in respecting our customers and their respective users’ privacy rights. ## Introduction The GDPR enforcement puts the control of personal data, collected by businesses, in the hands of the individuals it belongs to, protecting the rights of EU residents. The regulation delineates individuals’ rights to [access, rectify, and restrict](https://gdpr-info.eu/chapter-3/) the processing of personal data, among other key provisions, and aims to unify privacy and security laws for all organizations operating within the EU. In the context of this user document, we will be focused on how to implement the different rights once invoked by the Data Subjects. ## Nomenclature * **Data Subject**: End Users * **Data Controller**: CSVbox Customers * **Data Processor**: CSVbox ## Documents 1. [Data Processing Agreement (DPA)](/legal/gdpr/data-processing-addendum) 2. [Terms of Use](/legal/terms#content) 3. [Privacy Policy](/legal/privacy) ## Data Subject rights ### The right to access Under GDPR, individuals have the right to obtain: * Confirmation that their data is being processed; * Access to their personal data; and * Other supplementary information – this largely corresponds to the information that should be provided in a privacy notice (see [GDPR Article 15](https://gdpr-info.eu/art-15-gdpr/)). **CSVbox Compliance** CSVbox enables you to download the data files uploaded by the users via the CSVbox dashboard. You can then provide this data to the Data Subject in response to their request to access any personal data being processed by CSVbox as a Data Processor on your behalf. If you have disabled file storage in CSVbox, then the data files will not be available. ### The right to rectification Individuals are entitled to have personal data rectified if it is inaccurate or incomplete. If you have disclosed the personal data in question to third parties, you must inform them of the rectification where possible. **CSVbox Compliance** If a Data Subject requests that you rectify inaccuracies within the personal data being processed by CSVbox on your behalf, you can delete the old files and request the Data Subject to re-upload the files using the CSVbox importer. ### The right to erasure Individuals have the right to get personal data concerning them erased by the controllers. The right to erasure is also known as 'the right to be forgotten'. **CSVbox Compliance** You can delete the data files from the CSVbox dashboard if Data Subjects so request. > [!NOTE] > > CSVbox automatically deletes all user data files 30 days after upload. ### The right to restrict processing This right allows users to opt out of sharing any data with Data Processors. **CSVbox Compliance** If you have been asked by the Data Subject to restrict the processing of their data, you can simply stop the CSVbox importer initialization or ask the Data Subjects not to submit their files. ### The right to data portability The right to data portability allows individuals to obtain and reuse their personal data for their own purposes across different services. **CSVbox Compliance** You may use the CSVbox dashboard to download the data files and furnish them to the Data Subject pursuant to his/her request. ## Is GDPR applicable to me? Under the GDPR, it is the location of the individual whose personal data is being processed that determines whether the concerned firm should comply. This means that the GDPR will apply to all organizations, whether within the EU or outside of it, that offer their product or service to individuals in the EU when their data is being collected. That said, your legal/compliance teams will be in a better position to answer if your app/business falls under the purview of GDPR regulations. ## Our commitment to GDPR We are fully committed to GDPR and hence have built product features for greater privacy and data control. As an organization, we have always implemented and practiced processes that ensure that customer data is stored and processed in ways necessary only to serve our customers in the best possible way. Our privacy, security, and data policies are also streamlined with the GDPR goals and objectives. # Data Processing Addendum Source: https://help.csvbox.io/legal/gdpr/data-processing-addendum Last Modified: April 22, 2026 > [!NOTE] > > **Summary of main changes** > > **April 22, 2026** > > * Added Azure as Sub Processor. > > **October 17, 2025** > > * Added Sendgrid as Sub Processor. > * Added Brevo as Sub Processor. > * Added PostHog as Sub Processor. > * Removed Sender.net as Sub Processor. > * Removed Hotjar as Sub Processor. > > **Mar 21, 2024** > > * Added OpenAI as Sub Processor. > > **Nov 21, 2022** > > * Removed ArvanCloud as Sub Processor. > > **February 20, 2022** > > * Document created. This Data Processing Agreement (“DPA”) is for the product named CSVbox offered by Thalia Technologies Private Limited. This agreement includes the Standard Contractual Clauses adopted by the European Commission, as applicable, and reflects the parties’ agreement with respect to the terms governing the Processing of Personal Data under the CSVbox [Terms of Use](/legal/terms). This DPA is an amendment to the Agreement and is effective upon its incorporation into the Agreement, which incorporation may be specified in the Agreement, an Order, or an executed amendment to the Agreement. Upon its incorporation into the Agreement, the DPA will form a part of the Agreement. The term of this DPA shall follow the term of the Agreement. Terms not otherwise defined herein shall have the meaning as set forth in the Agreement. ## Definitions “**Controller**” means the natural or legal person, public authority, agency or other body which, alone or jointly with others, determines the purposes and means of the processing of Personal Data. “**Data Protection Law**” means all applicable legislation relating to data protection and privacy including without limitation the EU Data Protection Directive 95/46/EC and all local laws and regulations which amend or replace any of them, including the GDPR, together with any national implementing laws in any Member State of the European Union or, to the extent applicable, in any other country, as amended, repealed, consolidated or replaced from time to time. The terms “process”, “processes” and “processed” will be construed accordingly. “**Data Subject**” means the individual to whom Personal Data relates. “**GDPR**” means the General Data Protection Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data. “**Instruction**” means the written, documented instruction, issued by the Controller to the Processor, and directing the same to perform a specific action with regard to Personal Data (including, but not limited to, depersonalizing, blocking, deletion, making available). “**Personal Data**” means any information relating to an identified or identifiable individual where such information is contained within Customer Data and is protected similarly as personal data or personally identifiable information under applicable Data Protection Law. “**Personal Data Breach**” means a breach of security leading to the accidental or unlawful destruction, loss, alteration, unauthorized disclosure of, or access to, Personal Data transmitted, stored, or otherwise processed. “**Processing**” means any operation or set of operations that is performed on Personal Data, encompassing the collection, recording, organization, structuring, storage, adaptation or alteration, retrieval, consultation, use, disclosure by transmission, dissemination or otherwise making available, alignment or combination, restriction or erasure of Personal Data. “**Processor**” means a natural or legal person, public authority, agency, or other body which processes Personal Data on behalf of the Controller. ## Subject matter and nature of processing The subject matter of Processing Personal Data by the Processor is the provision of the services to the Controller that involves the Processing of Personal Data. Personal Data will be subject to those Processing activities as may be specified in the Agreement and an Order. ## Types of Personal Data and purpose of processing Contact information, the extent of which is determined and controlled by the Customer in its sole discretion, and other Personal Data such as navigational data (including website usage information), email data, system usage data, application integration data, and other electronic data submitted, stored, sent, or received by end-users via the CSVbox Product. Personal Data will be processed for purposes of providing the services set out and otherwise agreed to in the Agreement and any applicable Order. ## Categories of Data Subjects The Controller’s Contacts and other end users including the Controller’s employees, contractors, collaborators, customers, prospects, suppliers, and subcontractors. Data Subjects also include individuals attempting to communicate with or transfer Personal Data to the Controller’s end users. ## Customer responsibility The Controller shall be solely responsible for complying with the statutory requirements relating to data protection and privacy, in particular regarding the disclosure and transfer of Personal Data to the Processor and the Processing of Personal Data. For the avoidance of doubt, the Controller’s instructions for the Processing of Personal Data shall comply with the Data Protection Law. The Controller shall inform the Processor without undue delay and comprehensively about any errors or irregularities related to statutory provisions on the Processing of Personal Data. ## Obligations of the Processor The Processor shall collect, process, and use Personal Data only within the scope of the Controller’s instructions. If the Processor believes that an Instruction of the Controller infringes the Data Protection Law, it shall immediately inform the Controller without delay. If the Processor cannot process Personal Data in accordance with the instructions due to a legal requirement under any applicable European Union or Member State law, the Processor will (i) promptly notify the Controller of that legal requirement before the relevant Processing to the extent permitted by the Data Protection Law; and (ii) cease all Processing (other than merely storing and maintaining the security of the affected Personal Data) until such time as the Controller issues new instructions with which the Processor is able to comply. The Processor shall take the appropriate technical and organizational measures to adequately protect Personal Data against accidental or unlawful destruction, loss, alteration, unauthorized disclosure of, or access to Personal Data. Such measures include, but are not limited to: 1. the prevention of unauthorized persons from gaining access to Personal Data Processing systems (physical access control), 2. the prevention of Personal Data Processing systems from being used without authorization (logical access control), 3. ensuring that Personal Data cannot be read, copied, modified or deleted without authorization during electronic transmission, transport or storage on storage media, and that the target entities for any transfer of Personal Data by means of data transmission facilities can be established and verified (data transfer control), 4. ensuring that Personal Data is processed solely in accordance with the Instructions (control of instructions), 5. ensuring that Personal Data is protected against accidental destruction or loss (availability control). ## Rectification, restriction, and erasure of data The Processor will provide reasonable assistance, including by appropriate technical and organizational measures and taking into account the nature of the Processing, to enable the Controller to respond to any request from Data Subjects seeking to exercise their rights under the Data Protection Law with respect to Personal Data (including access, rectification, restriction, deletion or portability of Personal Data, as applicable), to the extent permitted by the law. If such a request is made directly to the Processor, the Processor will promptly inform the Controller and will advise Data Subjects to submit their request to the Controller. The Controller shall be solely responsible for responding to any Data Subjects’ requests. The Controller shall reimburse the Processor for the costs arising from this assistance. ## Data breaches The Processor will notify the Controller as soon as practicable after it becomes aware of any Personal Data Breach affecting any Personal Data. At the Controller’s request, the Processor will promptly provide the Controller with all reasonable assistance necessary to enable the Controller to notify relevant Personal Data Breaches to competent authorities and/or affected Data Subjects, if the Controller is required to do so under the Data Protection Law. ## Sub processors The Processor shall be entitled to engage sub-processors to fulfill the Processor’s obligations defined in the Agreement by way of the Controller agreeing to the terms of service of CSVbox. Where the Processor engages sub-processors, the Processor will engage only with sub-processors whose terms of service honor similar obligations that apply to the Processor under this DPA. The Processor hosts its Service with an outsourced cloud infrastructure provider, Amazon Web Services (AWS). The servers and the databases are located in the US and optionally Europe. Additionally, here is the list of Sub-Processors: 1. Cloudflare: CDN and Security 2. Zoho: Email & Collaboration 3. Google Workspace: Business Apps & Collaboration Tools 4. Paddle: Payments 5. Rollbar: Error Logging 6. HubSpot: CRM 7. OpenAI: AI Services 8. Sendgrid: Emails 9. Brevo: Emails 10. PostHog: Analytics 11. Azure: Document Intelligence ## Governing law and jurisdiction This Agreement is governed by Indian law. Any dispute arising in connection with this Agreement, which the Parties will not be able to resolve amicably, will be submitted to the exclusive jurisdiction of the courts of Mumbai, subject to a possible appeal to the Indian Supreme Court in Delhi. # Privacy Policy Source: https://help.csvbox.io/legal/privacy Revision Date: 13 April 2021 This policy details how data about you is used when you access our websites and services, or interact with us. If we update it, we will revise the date mentioned above. ## Protecting your privacy * We take precautions to prevent unauthorized access to or misuse of data about you. * We do not run ads, other than the classifieds posted by our users. * We do not share your data with third parties for marketing purposes. * We do not send you unsolicited communications for marketing purposes. * We do provide email proxy & relay services to reduce unwanted email. * Please review privacy policies of any third-party sites linked to from csvbox.io. * We do not respond to "Do Not Track" signals (see allaboutdnt.com). ## Data we collect, use and disclose Below is a list of all the types of data we collect, where we got it, why we collected it and the categories of third parties to whom we disclosed it. We do not sell your data to third parties. | Data type | Where we got it | Why collected | Disclosed to | | - | - | - | - | | First and last name | User entry | Facilitating transactions and personalizing your use of csvbox.io | No one | | Email address | User entry | Account creation and combatting fraud/abuse | No one | | Geographic location (latitude and longitude) | User entry, IP/geolocation providers | Personalizing your use of csvbox.io and combatting fraud/abuse | Analytics & Customer Engagement service providers | | HTTP browser cookie | User's browser, csvbox.io web server | Facilitating and personalizing your use of csvbox.io and combatting fraud/abuse | No one | | Information about your device and browser such as device ID, browser version, operating system, plugins | User's browser, mobile app | Facilitating and personalizing your use of csvbox.io and combatting fraud/abuse | Analytics & Customer Engagement service providers | | IP address | User's browser, mobile app, IP/geolocation providers | Combatting fraud/abuse | Service providers that help us combat fraud/abuse | | Web page views, access times, HTTP headers | User's browser, mobile app | Combatting fraud/abuse | Analytics & Customer Engagement service providers | | Login credentials for services such as AWS, Dropbox, Google Sheets, etc. | User entry | To authenticate users for transferring data | No one | We may share some or all of the above-listed data in the following circumstances: * to respond to subpoenas, search warrants, court orders, or other legal process. * to protect the rights, property, or safety of csvbox.io users, csvbox.io, or the general public. * at your direction (e.g. if you authorize us to share data with other users). * in connection with a merger, bankruptcy, or sale/transfer of assets. ## Data we store * We retain data as needed to facilitate and personalize your use of csvbox.io, combat fraud/abuse and/or as required by law. * We make good faith efforts to store data securely, but can make no guarantees. * You may access and update certain data about you via your account login. ## Your rights **Right to know:** You have the right to request that we disclose the data we collect, use and disclose, and other information relating to data we collect about you. **Right to delete:** You have the right to request the deletion of data that we have collected from you, subject to certain exceptions. **Right to non-discrimination:** You have the right not to receive discriminatory treatment for exercising the rights listed above. You may submit a request to know or delete [here](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur). Only you, or someone you authorize to act on your behalf, may make a request to know or delete your data. An authorized agent may make a request on your behalf by providing written permission signed by you. We will need to confirm your identity before processing your request by asking you to log into your existing account (if you are a registered user) or by asking you for additional information, such as a government-issued ID, to confirm your identity against information we have already collected. Please note that removal does not ensure complete or comprehensive removal of said content or information from the Internet. ## International users By accessing csvbox.io or providing us data, you agree we may use and disclose data we collect as described here or as communicated to you, transmit it outside your resident jurisdiction, and store it on servers in the United States. ## Data policy for uploaded data csvbox.io provides an import service allowing your users to upload data. The data policy [here](/legal/data-policy) is applicable to the data uploaded by the users. ## Contact If you have any questions or concerns about our privacy policy and practices, please reach out [here](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur). # SOC 2 Type 2 Source: https://help.csvbox.io/legal/soc-2-type-2 Find out how CSVbox is setting the benchmark for the privacy and confidentiality of customer data through its SOC 2 Type 2 compliance. ## What is SOC 2? SOC 2 is a set of standards devised by the American Institute of Certified Public Accountants (AICPA) for organizations that handle sensitive customer data. SOC stands for Service Organization Control, and SOC 2 specifically relates to security, availability, processing integrity, confidentiality, and privacy. A third-party auditor issues the SOC 2 report and assesses whether an organization's systems and controls meet the requisite standards. It is increasingly becoming a standard for companies dealing with sensitive customer data and is often required by customers, partners, and regulators across industries. ## Types of SOC 2 ### Type 1 report An assessment of the system and controls a company has set up, at a specific point in time, with regard to security, privacy, processing integrity, and confidentiality of data. It provides an initial assurance that this company has proper controls available to protect sensitive data. ### Type 2 report This focuses on the operating effectiveness of the controls over a period of time. It provides a more comprehensive assessment of a company's security controls and is often required to safely handle sensitive information. > [!NOTE] > > **CSVbox became SOC 2 Type 2 compliant on 12th October 2023.** ## Features of CSVbox's SOC 2 Type 2 compliance As CSVbox builds the platform to allow the upload of spreadsheets, we must have the right tooling to handle this data. Here’s how SOC 2 Type 2 compliance will play a key role in this: * **Enhanced Security**: With robust controls to protect sensitive and confidential information, we help reduce the risk of data breaches, unauthorized access, and unwarranted security incidents. * **Increased Trust and Credibility**: The SOC 2 certification demonstrates to our customers, partners, and other stakeholders that we take security, data protection, and legal compliance seriously. * **Improved Risk Management**: As SOC 2 compliance required us to identify and assess potential risks to our systems and data, we are now better equipped to mitigate and respond to potential threats. * **Continuous Improvement**: Regular audits are required to maintain the SOC 2 Type 2 certification, thereby guaranteeing that we will continue to stay updated with security best practices. * **Better Incident Response**: With this compliance, we have incident response plans that can help minimize the impact of security incidents. At CSVbox, we understand the importance of data security and privacy, and we are dedicated to ensuring that our customers' information is protected. Our SOC 2 Type 2 compliance means that we have established the necessary security controls and processes to protect customer data. Achieving SOC 2 Type 2 compliance is just one of the many steps we are taking to ensure the security and privacy of our customers' data. We will continue to evaluate and enhance our security controls and processes to ensure that we meet our customers' ever-evolving security and privacy needs. # Terms of Use Source: https://help.csvbox.io/legal/terms Last updated: 02 December 2025 ## Introduction Welcome to Thalia Technologies Private Limited ("**Company**", "**we**", "**us**", "**our**", "**csvbox.io**", "**app**")! As you have just clicked our Terms of Service, please pause, grab a cup of coffee and carefully read the following pages. These Terms of Service (“Terms”, “Terms of Service”) govern your use of our web pages located at csvbox.io, app.csvbox.io, and other sub-domains of csvbox.io operated by Thalia Technologies. Our Privacy Policy also governs your use of our Service and explains how we collect, safeguard and disclose information that results from your use of our web pages. Please read it here: [https://help.csvbox.io/legal/privacy](https://help.csvbox.io/legal/privacy). Your agreement with us includes these Terms and our Privacy Policy (“Agreements”). You acknowledge that you have read and understood Agreements, and agree to be bound by them. If you do not agree with (or cannot comply with) Agreements, then you may not use the Service. These Terms apply to all visitors, users and others who wish to access or use Service. Thank you for being responsible. ## Communications By creating an Account on our Service, you agree to subscribe to newsletters, marketing or promotional materials, and other information we may send. However, you may opt out of receiving any, or all, of these communications from us by following the unsubscribe link. ## Contests, sweepstakes, and promotions Any contests, sweepstakes or other promotions (collectively, “Promotions”) made available through Service may be governed by rules that are separate from these Terms of Service. If you participate in any Promotions, please review the applicable rules as well as our Privacy Policy. If the rules for a Promotion conflict with these Terms of Service, Promotion rules will apply. ## Subscriptions Some parts of the Service are billed on a subscription basis (“Subscription(s)”). You will be billed in advance on a recurring and periodic basis (“Billing Cycle”). Billing cycles are set either on a monthly or annual basis, depending on the type of subscription plan you select when purchasing a Subscription. At the end of each Billing Cycle, your Subscription will automatically renew under the exact same conditions unless you cancel it or we cancel it. You may cancel your Subscription renewal either through your online account management page or by contacting our customer support team. A valid payment method, including credit card or PayPal, is required to process the payment for your subscription. You shall provide us with accurate and complete billing information including full name, address, state, zip code, telephone number, and valid payment method information. By submitting such payment information, you automatically authorize us to charge all Subscription fees incurred through your account to any such payment instruments. Should automatic billing fail to occur for any reason, we will issue an electronic invoice indicating that you must proceed manually, within a certain deadline date, with the full payment corresponding to the billing period as indicated on the invoice. ## Fee changes Our company, in its sole discretion and at any time, may modify Subscription fees for the Subscriptions. Any Subscription fee change will become effective at the end of the then-current Billing Cycle. We will provide you with reasonable prior notice of any change in Subscription fees to give you an opportunity to terminate your Subscription before such change becomes effective. Your continued use of Service after the Subscription fee change comes into effect constitutes your agreement to pay the modified Subscription fee amount. ## Refunds Our company uses Paddle as our Merchant of Record for all payments. All transactions are processed securely through Paddle in accordance with their Buyer Protection policies. We offer refunds in line with Paddle’s refund guidelines. If you believe a charge was made in error, or if you are unsatisfied with your purchase, you may request a refund within the applicable time window set by Paddle. Refund eligibility may vary depending on the specific product, subscription term, and usage conditions. Please note: * Refunds are not guaranteed in all cases. * Paddle may assess eligibility based on factors such as usage, time since purchase, or potential misuse. * Approved refunds will be issued by Paddle to the original payment method. ## Content Our Service allows you to post, link, store, share and otherwise make available certain information, text, graphics, videos, files, or other material (“Content”). You are responsible for Content that you post on or through Service, including its legality, reliability, and appropriateness. By posting Content on or through Service, you represent and warrant that: (i) Content is yours (you own it) and/or you have the right to use it and the right to grant us the rights and license as provided in these Terms, and (ii) that the posting of your Content on or through Service does not violate the privacy rights, publicity rights, copyrights, contract rights or any other rights of any person or entity. We reserve the right to terminate the account of anyone found to be infringing on a copyright. You retain any and all of your rights to any Content you submit, post, or display on or through Service and you are responsible for protecting those rights. We take no responsibility and assume no liability for Content you or any third party posts on or through Service. We have the right but not the obligation to monitor and edit all Content provided by users. In addition, Content found on or through this Service is the property of Thalia Technologies or used with permission. You may not distribute, modify, transmit, reuse, download, repost, copy, or use said Content, whether in whole or in part, for commercial purposes or for personal gain, without express advance written permission from us. ## Prohibited uses You may use Service only for lawful purposes and in accordance with Terms. You agree not to use Service: 1. In any way that violates any applicable national or international law or regulation. 2. For the purpose of exploiting, harming, or attempting to exploit or harm minors in any way by exposing them to inappropriate content or otherwise. 3. To transmit, or procure the sending of, any advertising or promotional material, including any “junk mail”, “chain letter,” “spam,” or any other similar solicitation. 4. To impersonate or attempt to impersonate Company, a Company employee, another user, or any other person or entity. 5. In any way that infringes upon the rights of others, or in any way is illegal, threatening, fraudulent, or harmful, or in connection with any unlawful, illegal, fraudulent, or harmful purpose or activity. 6. To engage in any other conduct that restricts or inhibits anyone’s use or enjoyment of Service, or which, as determined by us, may harm or offend Company or users of Service or expose them to liability. Additionally, you agree not to: 1. Use Service in any manner that could disable, overburden, damage, or impair Service or interfere with any other party’s use of Service, including their ability to engage in real-time activities through Service. 2. Use any robot, spider, or other automatic device, process, or means to access Service for any purpose, including monitoring or copying any of the material on Service. 3. Use any manual process to monitor or copy any of the material on Service or for any other unauthorized purpose without our prior written consent. 4. Use any device, software, or routine that interferes with the proper working of Service. 5. Introduce any viruses, trojan horses, worms, logic bombs, or other material which is malicious or technologically harmful. 6. Attempt to gain unauthorized access to, interfere with, damage, or disrupt any parts of Service, the server on which Service is stored, or any server, computer, or database connected to Service. 7. Attack Service via a denial-of-service attack or a distributed denial-of-service attack. 8. Take any action that may damage or falsify the Company rating. 9. Otherwise attempt to interfere with the proper working of Service. ## Analytics We may use third-party Service Providers to monitor and analyze the use of our Service such as: ### Google Analytics Google Analytics is a web analytics service offered by Google that tracks and reports website traffic. Google uses the data collected to track and monitor the use of our Service. This data is shared with other Google services. Google may use the collected data to contextualize and personalize the ads of its own advertising network. For more information on the privacy practices of Google, please visit the Google Privacy Terms web page: [https://policies.google.com/privacy?hl=en](https://policies.google.com/privacy?hl=en) We also encourage you to review Google's policy for safeguarding your data: [https://support.google.com/analytics/answer/6004245](https://support.google.com/analytics/answer/6004245). ### Cloudflare analytics Cloudflare analytics is a web analytics service operated by Cloudflare Inc. Read the Privacy Policy here: [https://www.cloudflare.com/privacypolicy/](https://www.cloudflare.com/privacypolicy/) ## No use by minors Service is intended only for access and use by individuals at least eighteen (18) years old. By accessing or using any of Company's services, you warrant and represent that you are at least eighteen (18) years of age and with the full authority, right, and capacity to enter into this agreement and abide by all of the terms and conditions of Terms. If you are not at least eighteen (18) years old, you are prohibited from both the access and usage of Service. ## Accounts When you create an account with us, you guarantee that you are above the age of 18, and that the information you provide us is accurate, complete, and current at all times. Inaccurate, incomplete, or obsolete information may result in the immediate termination of your account on Service. You are responsible for maintaining the confidentiality of your account and password, including but not limited to the restriction of access to your computer and/or account. You agree to accept responsibility for any and all activities or actions that occur under your account and/or password, whether your password is with our Service or a third-party service. You must notify us immediately upon becoming aware of any breach of security or unauthorized use of your account. You may not use as a username the name of another person or entity or that is not lawfully available for use, a name or trademark that is subject to any rights of another person or entity other than you, without appropriate authorization. You may not use as a username any name that is offensive, vulgar, or obscene. We reserve the right to refuse service, terminate accounts, remove or edit content, or cancel orders in our sole discretion. ## Intellectual property Service and its original content (excluding Content provided by users), features, and functionality are and will remain the exclusive property of Thalia Technologies and its licensors. Service is protected by copyright, trademark, and other laws of the United States and foreign countries. Our trademarks and trade dress may not be used in connection with any product or service without the prior written consent of Thalia Technologies. ## Error reporting and feedback You may contact us with information and feedback concerning errors, suggestions for improvements, ideas, problems, complaints, and other matters related to our Service (“Feedback”). You acknowledge and agree that: (i) you shall not retain, acquire or assert any intellectual property right or other rights, title, or interest in or to the Feedback; (ii) Company may have developed ideas similar to the Feedback; (iii) Feedback does not contain confidential information or proprietary information from you or any third party, and (iv) Company is not under any obligation of confidentiality with respect to the Feedback. In the event the transfer of the ownership to the Feedback is not possible due to applicable mandatory laws, you grant Company and its affiliates an exclusive, transferable, irrevocable, free-of-charge, sub-licensable, unlimited, and perpetual right to use (including copy, modify, create derivative works, publish, distribute and commercialize) Feedback in any manner and for any purpose. ## Links to other websites Our Service may contain links to third-party websites or services that are not owned or controlled by us. We have no control over, and assume no responsibility for, the content, privacy policies, or practices of any third-party websites or services. We do not warrant the offerings of any of these entities/individuals or their websites. YOU ACKNOWLEDGE AND AGREE THAT THALIA TECHNOLOGIES SHALL NOT BE RESPONSIBLE OR LIABLE, DIRECTLY OR INDIRECTLY, FOR ANY DAMAGE OR LOSS CAUSED OR ALLEGED TO BE CAUSED BY OR IN CONNECTION WITH USE OF OR RELIANCE ON ANY SUCH CONTENT, GOODS OR SERVICES AVAILABLE ON OR THROUGH ANY SUCH THIRD-PARTY WEB SITES OR SERVICES. WE STRONGLY ADVISE YOU TO READ THE TERMS OF SERVICE AND PRIVACY POLICIES OF ANY THIRD-PARTY WEBSITES OR SERVICES THAT YOU VISIT. ## Limitation of liability EXCEPT AS PROHIBITED BY LAW, YOU WILL HOLD US AND OUR OFFICERS, DIRECTORS, EMPLOYEES, AND AGENTS HARMLESS FOR ANY INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGE, HOWEVER IT ARISES (INCLUDING ATTORNEYS' FEES AND ALL RELATED COSTS AND EXPENSES OF LITIGATION AND ARBITRATION, OR AT TRIAL OR ON APPEAL, IF ANY, WHETHER OR NOT LITIGATION OR ARBITRATION IS INSTITUTED), WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, OR ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT, INCLUDING WITHOUT LIMITATION ANY CLAIM FOR PERSONAL INJURY OR PROPERTY DAMAGE, ARISING FROM THIS AGREEMENT AND ANY VIOLATION BY YOU OF ANY FEDERAL, STATE, OR LOCAL LAWS, STATUTES, RULES, OR REGULATIONS, EVEN IF COMPANY HAS BEEN PREVIOUSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. EXCEPT AS PROHIBITED BY LAW, IF THERE IS LIABILITY FOUND ON THE PART OF THE COMPANY, IT WILL BE LIMITED TO THE AMOUNT PAID FOR THE PRODUCTS AND/OR SERVICES, AND UNDER NO CIRCUMSTANCES WILL THERE BE CONSEQUENTIAL OR PUNITIVE DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, SO THE PRIOR LIMITATION OR EXCLUSION MAY NOT APPLY TO YOU. ## Termination We may terminate or suspend your account and bar access to Service immediately, without prior notice or liability, in our sole discretion, for any reason whatsoever and without limitation, including but not limited to a breach of Terms. If you wish to terminate your account, you may simply cancel the subscription from the app dashboard and discontinue using the Service. All provisions of Terms which by their nature should survive termination shall survive termination, including, without limitation, ownership provisions, warranty disclaimers, indemnity, and limitations of liability. ## Governing law These Terms shall be governed and construed in accordance with the laws of Mumbai, India, without regard to its conflict of law provisions. Our failure to enforce any right or provision of these Terms will not be considered a waiver of those rights. If any provision of these Terms is held to be invalid or unenforceable by a court, the remaining provisions of these Terms will remain in effect. These Terms constitute the entire agreement between us regarding our Service and supersede and replace any prior agreements we might have had between us regarding Service. ## Changes to service We reserve the right to withdraw or amend our Service, and any service or material we provide via Service, in our sole discretion without notice. We will not be liable if for any reason all or any part of Service is unavailable at any time or for any period. From time to time, we may restrict access to some parts of Service, or the entire Service, to users, including registered users. ## Amendments to terms We may amend Terms at any time by posting the amended terms on this site. It is your responsibility to review these Terms periodically. Your continued use of the Platform following the posting of revised Terms means that you accept and agree to the changes. You are expected to check this page frequently so you are aware of any changes, as they are binding on you. By continuing to access or use our Service after any revisions become effective, you agree to be bound by the revised terms. If you do not agree to the new terms, you are no longer authorized to use Service. ## Waiver and severability No waiver by Company of any term or condition set forth in Terms shall be deemed a further or continuing waiver of such term or condition or a waiver of any other term or condition, and any failure of Company to assert a right or provision under Terms shall not constitute a waiver of such right or provision. If any provision of Terms is held by a court or other tribunal of competent jurisdiction to be invalid, illegal or unenforceable for any reason, such provision shall be eliminated or limited to the minimum extent such that the remaining provisions of Terms will continue in full force and effect. ## Acknowledgment BY USING SERVICE OR OTHER SERVICES PROVIDED BY US, YOU ACKNOWLEDGE THAT YOU HAVE READ THESE TERMS OF SERVICE AND AGREE TO BE BOUND BY THEM. ## Contact us Please send your feedback, comments, requests for technical support [here](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur). ## Changelog ### 02 Dec 2025 * Refund policy updated. ### 27 Jan 2023 * Removed: 'However, by posting Content using Service you grant us the right and license to use, modify, publicly perform, publicly display, reproduce, and distribute such Content on and through Service. You agree that this license includes the right for us to make your Content available to other users of Service, who may also use your Content subject to these Terms.' # Performance Benchmarks Source: https://help.csvbox.io/performance-benchmarks See how CSVbox performs with different file sizes, row counts, and validation workloads. These benchmarks show how long CSVbox takes to parse, validate, transform, and deliver files of 100k to 2M rows. Use them to estimate import times for your own files. Benchmarks last run: 24 August 2026. > [!NOTE] > > One run per size, so there is no variance figure here. Treat each number as a single observation, not a median. Column count moves timing more than file size does. ## Methodology Each import stage is timed separately, then the whole import is timed end to end: * **File parse**: time to read and parse the source CSV file. * **Validation**: time to validate all rows against the target schema. * **Transformation**: time to apply configured transforms to all rows. * **Destination upload**: time to deliver the processed rows to the destination. * **End to end**: total time from upload start to completed import. ### Test environment A mid-range consumer laptop on office Wi-Fi. The hardware is deliberately unexceptional, so these numbers read as a realistic floor rather than a best case. | Component | Specification | | - | - | | Model | ASUS VivoBook X515DA | | CPU | AMD Ryzen 5 3500U | | Graphics | Radeon Vega Mobile | | Cores | 4 physical / 8 logical | | Base clock | 2.10 GHz | | Memory | 17.95 GB | | OS | Windows 11 Enterprise (Build 10.0.22631, 64-bit) | | Browser | Chrome 151.0.7922.173 | | Network upload | 33.2 Mbps (4.15 MB/s) | ### Importer sheet | Setting | Value | | - | - | | Columns | 3 | | col1 | Number | | col2 | Email | | col3 | Date | | Validation | Column type rules | | Transform | 1 function, on col2 | | Virtual cols | None | | Source file | 12 columns | ## Results ### File parse Time to read and parse the source CSV file. | Rows | Duration | Per row | Throughput | | - | - | - | - | | 100k | 406 ms | 4.06 µs | 246.3k rows/sec | | 500k | 1.4 s | 2.79 µs | 357.9k rows/sec | | 1M | 3.2 s | 3.19 µs | 313.1k rows/sec | | 2M | 5.6 s | 2.78 µs | 359.3k rows/sec | ### Validation Time to validate all rows against the target schema. | Rows | Duration | Per row | Throughput | | - | - | - | - | | 100k | 583 ms | 5.83 µs | 171.5k rows/sec | | 500k | 7.3 s | 14.55 µs | 68.7k rows/sec | | 1M | 17.7 s | 17.73 µs | 56.4k rows/sec | | 2M | 38.1 s | 19.04 µs | 52.5k rows/sec | ### Transformation Time to apply configured transforms to all rows. | Rows | Duration | Per row | Throughput | | - | - | - | - | | 100k | 188 ms | 1.88 µs | 531.9k rows/sec | | 500k | 873 ms | 1.75 µs | 572.7k rows/sec | | 1M | 1.6 s | 1.59 µs | 627.0k rows/sec | | 2M | 6.1 s | 3.05 µs | 327.5k rows/sec | ### Destination upload Time to deliver the processed rows to the destination. | Rows | Duration | Per row | Throughput | | - | - | - | - | | 100k | 8.1 s | 81.02 µs | 12.3k rows/sec | | 500k | 29.3 s | 58.62 µs | 17.1k rows/sec | | 1M | 51.2 s | 51.22 µs | 19.5k rows/sec | | 2M | 100.6 s | 50.29 µs | 19.9k rows/sec | ### End to end Total time from upload start to completed import. | Rows | Duration | Per row | Throughput | | - | - | - | - | | 100k | 9.3 s | 92.78 µs | 10.8k rows/sec | | 500k | 38.9 s | 77.70 µs | 12.9k rows/sec | | 1M | 73.7 s | 73.75 µs | 13.6k rows/sec | | 2M | 150.3 s | 75.17 µs | 13.3k rows/sec | ## Reproducing the run The sheet was configured with three columns typed Number, Email, and Date, and a single data-transform function applied to `col2`. The transform is intentionally trivial: one string coercion and an uppercase. This way, the transform timings measure the pipeline's per-row dispatch overhead, not the cost of a user's own logic. ### Data transform function This is the exact function, applied to `col2`, that produced the transformation numbers above. ```js theme={"dark"} const helper = (value) => { return String(value).toUpperCase(); }; csvbox.row["col2"] = helper(csvbox.row["col2"]); return csvbox; ``` ### Source datasets | Dataset | Rows | File size (MB) | Payload sent (MB) | Bytes/row | | - | - | - | - | - | | `customers-100000.csv` | 100,000 | 17.32 | 5.40 | 173 | | `customers-500000.csv` | 500,000 | 87.03 | 27.85 | 174 | | `customers-1000000.csv` | 1,000,000 | 174.16 | 55.90 | 174 | | `customers-2000000.csv` | 2,000,000 | 349.42 | 113.92 | 175 | Source CSVs carry 12 columns (Index, Customer Id, First Name, Last Name, Company, City, Country, Phone 1, Phone 2, Email, Subscription Date, Website), of which three were mapped into the sheet for the run. File sizes are decimal MB (10⁶ bytes). # Code Snippet Source: https://help.csvbox.io/sheet-settings/code-snippet Install the importer with your sheet's code snippet, find the license key that ties the importer to it, and share the sheet's import link. The **Code Snippet** tab gives you everything you need to add the importer to your app: the integration code, the sheet license key, and the sheet's import link. ## Install the importer Embed the CSVbox importer in your app with a short code snippet. Open the **Code Snippet** tab of the sheet, find the integration code, and place it in your application where you want the import button to appear. The snippet is available for JavaScript, React, Angular, and Vue.js. **JavaScript** Sample code with basic usage: ```javascript theme={"dark"} ``` > [!NOTE] > > Each sheet has a unique license key. Find it on the **Code Snippet** tab of the sheet page and pass it to the `CSVBoxImporter` function. **React** Install using npm: ```javascript theme={"dark"} npm install @csvbox/react ``` This gives you access to the `CSVBoxButton` component, which has the basic functionality of the importer. Import the `CSVBoxButton` component into your project. ```javascript theme={"dark"} import { CSVBoxButton } from '@csvbox/react' ``` Basic usage: ```javascript theme={"dark"} { if(result){ console.log("success"); console.log(data.row_success + " rows uploaded"); //custom code }else{ console.log("fail"); //custom code } }} render={(launch, isLoading)=>{ return ; }} > Import ``` > [!NOTE] > > Each sheet has a unique license key. Find it on the **Code Snippet** tab of the sheet page and attach it to the `licenseKey` property of the `CSVBoxButton` component. > > The optional `render` property lets you pass in your own button to use in place of the standard CSVbox element. **Angular** Install using npm: ```javascript theme={"dark"} npm install @csvbox/angular ``` > [!NOTE] > > For Angular versions below 12, use `@csvbox/angular_8`. For Angular 12 and above, use `@csvbox/angular`. **Import** Add `CSVBoxAngularModule` to your module imports. ```javascript theme={"dark"} import { CSVBoxAngularModule } from "@csvbox/angular"; @NgModule({ ... imports: [ ... CSVBoxAngularModule ] }) ``` Once this is set up, you can import and access the `CSVBoxMethods` module in your app component file. It brings the `csvbox-button` component into your project. Example: ```text theme={"dark"} Import ``` Basic usage: ```javascript theme={"dark"} @Component({ selector: 'app-root', template: ` Import ` }) export class AppComponent { title = 'example'; licenseKey = 'YOUR_LICENSE_KEY_HERE'; user = { user_id: 'default123' }; imported(result: boolean, data: any) { if(result) { console.log("Sheet uploaded successfully"); console.log(data.row_success + " rows uploaded"); }else{ console.log("There was some problem uploading the sheet"); } } } ``` > [!NOTE] > > Each sheet has a unique license key. Find it on the **Code Snippet** tab of the sheet page and attach it to the `licenseKey` property of the `AppComponent`. **Styling the button** To style `` from within your parent component, make sure the parent component has `ViewEncapsulation.None`, then pass a class down to ``. You can then style the `button` one level down. ```javascript theme={"dark"} import { Component, ViewEncapsulation } from '@angular/core'; ``` ```javascript theme={"dark"} @Component({ selector: 'app-root', template: ` Import `, encapsulation: ViewEncapsulation.None, styles: [` .csvbox-btn button { background: #007bff; border-radius: 3px; } `], }) export class AppComponent { //... } ``` **Vue.js** Install using npm: ```javascript theme={"dark"} npm install @csvbox/vuejs ``` This gives you access to the `CSVBoxButton` component. Import the `CSVBoxButton` component into your project. ```javascript theme={"dark"} import { CSVBoxButton } from '@csvbox/vuejs' ``` Include `CSVBoxButton` in your Vue `components`, and you're ready to get started. Basic usage: ```javascript theme={"dark"} ``` > [!NOTE] > > Each sheet has a unique license key. Find it on the **Code Snippet** tab of the sheet page and attach it to the `licenseKey` property of the `CSVBoxButton` component. **Implementation demos** * Vue2: [https://codesandbox.io/s/csvbox-vue2-plzl0q](https://codesandbox.io/s/csvbox-vue2-plzl0q) * Vue3: [https://codesandbox.io/s/csvbox-vue3-vuselr](https://codesandbox.io/s/csvbox-vue3-vuselr) > [!WARNING] > > If your app or database restricts access to an IP allowlist, you need to manually add CSVbox's addresses to use the importer. Allowlist all of the following IP addresses: > > * `18.233.84.183` > * `18.213.249.53` > * `3.73.26.144` > > Only one of these addresses is in use at any time, but the active address can change at any time. Add them all to your allowlist to avoid interruptions in service. For full installation instructions, including referencing the user, the callback function, options, and events, see [Install the Code](/getting-started/2-install-code). ## Referencing the user Configure **custom user attributes** in the installation code to identify the users on your platform and match them with their imports. **JavaScript** Pass custom user attributes as input parameters to the `setUser` method. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} importer.setUser({ user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" }) ``` **React** Pass custom user attributes as an object to the `user` property of the `CSVBoxButton` component. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} user={{ user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" }} ``` **Angular** Pass custom user attributes as an object to the `user` property of the `AppComponent`. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} user={ user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" } ``` **Vue.js** Pass custom user attributes as an object to the `user` property of the `CSVBoxButton` component. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `: ` format. Example: ```javascript theme={"dark"} user: { user_id: "1a2b3c4d5e6f", team_id: "sales2", isAuthenticated: "true", permissionLevel: "admin", email: "abc@example.com" }, ``` ## Share an import link Import Links let you accept files from your users without a website or an app. Create an import page in a few clicks and share the link with your users, with no code required. It's an alternative to the import button that you set up by adding the integration code. After you create a sheet, the sheet's import link appears on the **Code Snippet** tab below the integration code. It looks like this: ```javascript theme={"dark"} https://app.csvbox.io/upload/2gzJa5YO3QPLYK6Bj7Qmq5bpbFqXno?user_id=default123 ``` Share this link with your users to start collecting spreadsheets. ### Referencing the user in the import links Configure the query parameters in the link to identify users and match them with their imports. Add up to 5 query parameters with custom user attributes that identify the users in your platform. The custom user attributes are pushed to your destination along with the uploaded data. `user_id` is the only mandatory custom attribute. Apart from `user_id`, you can add up to 4 custom attributes in the `&key=value` format. For example: ```javascript theme={"dark"} https://app.csvbox.io/upload/2gzJa5YO3QPLYK6Bj7Qmq5bpbFqXno?user_id=1a2b3c4d5e6f&team_id=sales2&isAuthenticated=true&permissionLevel=admin&email=abc@example.com ``` > [!NOTE] > > You can turn the import link on or off under **Security** → **Import Links**. See [Security](/sheet-settings/security#import-links). ## Next steps > **[Install the Code](/getting-started/2-install-code)** > > Callbacks, options, events, and lazy loading. > **[Receive Data](/getting-started/3-receive-data)** > > Receive the imported data in your app. # Columns Source: https://help.csvbox.io/sheet-settings/columns Column configuration settings: names, labels, hints, matching keywords, defaults, types, and required or read-only flags. Each column in a sheet has a set of options that control how it's shown to users, how it's matched to uploaded file columns, and how its data is validated before it reaches your destination. ## Column name `required` The Column Name is the field name key that is pushed to the data destination. ## Display label `optional` Display Labels are shown in the header row that users see during an import. Each Display Label internally maps to a Column Name: users see the Display Label inside the import widget, while the corresponding Column Name is pushed to the destination as the field name. If no Display Label is specified, users see the Column Name by default. This lets you show a user-friendly label while pushing a column name that your app understands. For example, `p_id` can be the Column Name and `Product ID` the Display Label. ## Info hint `optional` Info Hints are help tooltips that appear when users hover over (or click) the column name in the importer. Use them to convey additional information about the column. ## Matching keywords `optional` Provide a set of keywords as alternative matching options to help users match column names automatically. For example, say you have a column named `First Name`. If many of your users have sheets with columns such as `F_Name` or simply `First`, add the two matching keywords `F_Name` and `First`. The importer then automatically matches columns to the specified keywords to speed up column mapping. ### User keywords Apart from Matching Keywords, CSVbox auto-maps columns via continuous learning. The importer remembers the columns mapped by users and uses these historical mappings to automatically map columns for new uploads. This way the importer adapts and collects new **User Keywords** as more sheets are uploaded. You can view and delete User Keywords via **Column Settings**. ![User Keywords in Column Settings](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/user-keywords.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=16dcb683b038e62d4432308fb8ccf81f) You can also disable User Keywords-based column mapping completely. Go to the **Sheets** page → **Options** tab and select Enable or Disable for **User Keywords for Column Mapping**. ![User Keywords for Column Mapping option](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/user-keywords-2.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=dcf97ae8ed557979074263500850b740) ## Default value `optional` Specify a default filler value for the column, used when the incoming data is blank. ## Column type `required` Specify the data type of the incoming data and configure the relevant validation rules. Select the column type from the dropdown and set conditions for how the data should be formatted. See [Validations](/dashboard-settings/validations) for the available column types and validation options. If the incoming data doesn't match the column type (and its validation rules), the user sees an error message that identifies the problem and how to fix it. This ensures the data is clean and ready to use before it's pushed to your app. ## Required `optional` The **Required** checkbox indicates whether a column is mandatory. When it's ticked, the importer validates the column for missing or empty data. If any cell in the column is empty, the user sees an error message. > [!NOTE] > > Boolean columns that use [Display as checkbox](/dashboard-settings/validations#display-as-checkbox) can't be required. Enabling the option switches **Required** off. ## Read only `optional` Enable this option to make the column read-only. The column data stays visible, but end users can't edit it on the [Verify Data](/sheet-settings/import-steps/verify-data) step. For a Boolean column shown as a checkbox, the checkbox is disabled. # Data Transforms Source: https://help.csvbox.io/sheet-settings/data-transforms Bulk edit the dataset with JavaScript before CSVbox pushes it to your system. Data Transforms let you modify the data with JavaScript before it's uploaded to your app. Use them to reshape, sanitize, or enrich rows in real time, from simple tasks like capitalizing text or formatting dates to complex business logic. ![Where pre-validation and post-validation data transforms run in the import flow](https://mintcdn.com/csvbox-io/SXKdnYuEELKxmTwS/images/data-transforms.png?fit=max\&auto=format\&n=SXKdnYuEELKxmTwS\&q=85\&s=eb96387c768d3847a459ef2abf9e1473) Data Transforms > [!TIP] > > Prefer not to write code? Use the [If / Else Builder](/advanced-installation/if-else-builder) to set or clear values and delete rows visually with IF / ELSE IF / ELSE conditions. ## How it works When a CSV file is uploaded, CSVbox parses the data and applies your transformation logic row by row or cell by cell. The JavaScript function you write defines how each row or field is transformed. Once the transformation is complete, the modified data passes to the next stage for validation. There are two types of Data Transforms: * **Row Transforms**: apply logic to each row individually, from top to bottom. Use them when one cell depends on other cells in the same row, for example to combine several cells into one or to run a calculation that needs input from different columns. * **Column Transforms**: apply logic to one or more selected columns at once. Use them when you need to analyze or modify the column as a whole, for example to find duplicate entries and replace each one with a unique identifier. They suit sorting, aggregation, and deduplication. > [!WARNING] > > Column Transforms can slow down the importer, because the entire column dataset is loaded into memory. With large datasets, prefer Row Transforms and reserve Column Transforms for column-wide work such as deduplication or aggregation. ## Row transforms [#adding-virtual-columns](#adding-virtual-columns) ### Adding row data transforms **1. Open the Data Transforms tab** On the edit sheet page, go to the **Data Transforms** tab and click **Add Transforms**. **2. Name the transform** Enter the transform **Name**. **3. Choose the Row type** Set **Transform Type** to **Row**. **4. Add the code** Provide the **Javascript** code. **5. Attach dependencies (optional)** Attach **Dependent** libraries. **6. Save the transform** Click **Save**. ### Row transform examples #### Append text Append a constant to the cell value. ```javascript wrap theme={"dark"} csvbox.row["serial_number"] = csvbox.row["serial_number"] + '_' + csvbox.user["user_id"]; return csvbox; ``` #### Normalize dates Normalize a date value into US format. ```javascript wrap theme={"dark"} function normalizeToUSFormat(dateString) { // Create a new Date object by parsing the input date string const date = new Date(dateString); // Check if the Date object is valid if (isNaN(date.getTime())) { console.log("Invalid date format."); return dateString; } // Get month, day, and year const month = String(date.getMonth() + 1).padStart(2, '0'); const day = String(date.getDate()).padStart(2, '0'); const year = date.getFullYear(); // Return the date in MM/DD/YYYY format return `${month}/${day}/${year}`; } // Example usage csvbox.row["date_of_birth"] = normalizeToUSFormat(csvbox.row["date_of_birth"]); return csvbox; ``` ### Variables in the row transform The `csvbox` object gives you access to the following data. #### `csvbox.row` Contains the row data. Access each cell by its column name: ```javascript theme={"dark"} csvbox.row["first_name"] csvbox.row["order_id"] csvbox.row["price"] ``` #### `csvbox.user` Contains the [custom user attributes](/getting-started/2-install-code#referencing-the-user) defined when initializing the importer: ```javascript theme={"dark"} csvbox.user["user_id"] csvbox.user["team_id"] csvbox.user["isAuthenticated"] ``` #### `csvbox.import` Contains data about the current import: ```javascript theme={"dark"} csvbox.import["sheet_id"] csvbox.import["sheet_name"] csvbox.import["original_filename"] csvbox.import["import_start_time"] csvbox.import["destination_type"] csvbox.import["total_rows"] csvbox.import["row_number"] //current row number starting with 1 ``` #### `csvbox.columns` Contains the column metadata (name, type). ```javascript theme={"dark"} //Example usage let column = csvbox.columns['birthdate']; if(column.type == 'date') { // code } if(column.isDynamic) { // this is a dynamic column // code } if(column.isUnmapped) { // this is an unmapped column // code } ``` #### `csvbox.environment` Contains the [environment variables](/advanced-installation/environment-variables) passed during importer initialization. ```javascript theme={"dark"} // Example Usage if(csvbox.environment["user_id"] && csvbox.environment["user_id"] == "abc123") { // code } ``` > [!TIP] > > Use `console.log(csvbox);` to print all the available variables in the debugging console. ## Column transforms ### Adding column data transforms **1. Open the Data Transforms tab** On the edit sheet page, go to the **Data Transforms** tab and click **Add Transforms**. **2. Name the transform** Enter the transform **Name**. **3. Select the columns** Add the **Columns** you need for the transform. **4. Add the code** Provide the **Javascript** code. **5. Attach dependencies (optional)** Attach **Dependent** libraries. **6. Save the transform** Click **Save**. ### Column transform examples #### Example 1 Capitalize text fields: ```javascript theme={"dark"} //loop and capitalize each value for(let i=0; i < csvbox.column["first_name"].length; i++) { csvbox.column["first_name"][i] = csvbox.column["first_name"][i].toUpperCase(); } // return the updated data set return csvbox; ``` ### Variables in the column transform The `csvbox` object gives you access to the following data. #### `csvbox.column` Contains the entire column data. Access each cell by the column name and the row number. The row number starts with 1. ```javascript theme={"dark"} csvbox.column["first_name"][1] csvbox.column["order_id"][12] csvbox.column["price"][10001] ``` > [!WARNING] > > Only the selected columns are available in the transform JavaScript. #### `csvbox.user` Contains the [custom user attributes](/getting-started/2-install-code#referencing-the-user) defined when initializing the importer: ```javascript theme={"dark"} csvbox.user["user_id"] csvbox.user["team_id"] csvbox.user["isAuthenticated"] ``` #### `csvbox.import` Contains data about the current import: ```javascript theme={"dark"} csvbox.import["sheet_id"] csvbox.import["sheet_name"] csvbox.import["original_filename"] csvbox.import["import_start_time"] csvbox.import["destination_type"] csvbox.import["total_rows"] ``` #### `csvbox.environment` Contains the [environment variables](/advanced-installation/environment-variables) passed during importer initialization. ```javascript theme={"dark"} // Example Usage if(csvbox.environment["user_id"] && csvbox.environment["user_id"] == "abc123") { // code } ``` #### `csvbox.columns` Contains the column metadata (name, type). ```javascript theme={"dark"} //Example usage let column = csvbox.columns['birthdate']; if(column.type == 'date') { // code } if(column.isDynamic) { // this is a dynamic column // code } if(column.isUnmapped) { // this is an unmapped column // code } ``` #### console.log(csvbox); Use this statement to print all the available variables in the debugging console. ### Dependencies The transform JavaScript can use an external library hosted on a CDN, and it can call any external API endpoint to fetch real-time data. Add the library script tag and any custom scripts to the **Dependencies** section, then use them in the main JavaScript snippet. ## Execution time Every Data Transform runs at one of two stages in the import pipeline, so you control when it runs: * **Pre Data Validation** (default) * **Post Data Validation** ### Pre-validation data transform Runs immediately after column mapping and before Data Validation. Use it for: * Cleaning or normalizing user input * Converting formats (dates, numbers, booleans) * Combining or splitting fields * Setting defaults * Preparing data that validators depend on For example, convert a string such as `" 23.4500 "` into a clean numeric value before your validation rules run. ### Post-validation data transform Runs only if there are no validation errors, just before data is pushed to the final destination. Use it for: * Final formatting * Destination-specific transformations * Generating or enriching fields only when the row is already valid * Preparing computed values needed only for storage For example, generate a `slug` or `UUID`, or apply pricing markup, after all validations pass. ### Where to configure execution time When you create or edit a Data Transform: **1. Open the Data Transforms settings** Open **Sheet Settings** → **Data Transforms**. **2. Select a transform** Select an existing transform or create a new one. **3. Choose the execution time** Set **Execution Time** to **Pre Data Validation** or **Post Data Validation**. **4. Save your changes** Save the transform. ## Key features * **JavaScript-powered**: write custom JavaScript to operate on your data. With access to native JavaScript methods, you can implement anything from basic modifications to complex logic. * **Real-time execution**: transformations are applied as the file is uploaded, so data is processed and adjusted before it enters your app. * **Versatile**: handle a wide range of operations, such as: * Modifying string data (for example, capitalizing text or trimming spaces) * Formatting dates * Performing calculations, such as currency conversions * Validating and cleaning up data * Applying conditional logic to data fields * **Error handling**: include custom error handling in your JavaScript to manage issues gracefully without disrupting the upload. ## Best practices * **Handle errors**: add error-handling logic to your JavaScript so malformed data doesn't disrupt the upload. * **Optimize performance**: keep transformation code efficient, especially with large datasets, so uploads stay smooth. # Display Source: https://help.csvbox.io/sheet-settings/display Control the importer dialog size, theme, logo, custom styling, and Cancel button, and reuse the same styling across sheets. The **Display** tab controls how the importer looks: its colors and fonts, your logo, the size of the dialog, and whether users can cancel. The settings below appear in the same order as in the dashboard. ## Importer dialog size Control the size of the import dialog box on large screens. Based on your import data structure (number of columns), pick between two import dialog sizes: **Medium** or **Large**. Go to sheet settings → **Display** → **Importer Dialog Size**. ![Importer Dialog Size setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/select-size.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=514967b1f94d1ba335cc543f5026ddda) > [!NOTE] > > The dialog size configuration applies to large (desktop) screens only. On smaller screens, the dialog always occupies the entire screen. ## Importer theme Choose the theme of the importer: **Light**, **Dark**, **Light Custom**, or **Dark Custom**. You can also apply the theme at runtime with the [`theme`](/getting-started/2-install-code#theme) option in the installation code. ## Logo Upload your company logo to show in the importer for a fully branded experience. Provide a square logo. The best size is 30x30 px. ## Customize styling The **Custom Theme** option lets you personalize the appearance of the importer to match your brand. Adjust colors, fonts, and layout sizes to create a consistent, professional look. ### How it works **1. Enable the Custom Theme** Go to the importer sheet settings → **Display** tab and select the **Custom Theme** option under the **Importer Theme** label. **2. Adjust styling parameters** Use the **left sidebar controls** to modify colors, fonts, sizing, and other styling options. **3. Preview your changes** Click **Preview** to instantly see how your changes affect the importer's appearance. **4. Save and apply** Once you're satisfied with the customization, click **Save** to apply the theme. ![Styling options](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/styling.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=6713764a02149d3d190c033b91eb1135) Styling options The styling options are grouped as follows: * **Basic**: Colors, Sizing, and Typography * **Advanced**: Dropdowns, Pagination, and Modals If you need design tweaks beyond the provided options, [contact us](https://share.hsforms.com/1ubpg6RBoQgKOISkRMEViwg5auur). We're happy to assist with custom styling. > [!NOTE] > > Custom Theme styling options are only available on the [Pro plan](https://csvbox.io/#pricing) and above. ### Reset all fields Reset every styling field to its default value. ### Download & reuse importer styling (CSS) You can reuse the same importer styling across multiple sheets or projects. After customizing the look and feel of your importer, download the styling as a CSS file, then upload it to another importer to instantly apply the same design with no rework. This is especially useful when you want consistent branding across multiple imports or environments. #### Download the styling file **1. Customize your importer styling** Go to your importer's **Customize Styling** section and adjust colors, borders, typography, and other visual settings as needed. **2. Download the styling file** Once you're happy with the design, click **Download CSS**. CSVbox saves your current styling as a reusable `.css` file. This file contains all the visual configurations you've applied to the importer. ![Download CSS and Upload CSS buttons in the Customize Styling section](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/styling-upload-and-download.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=0dc50b4c845a0cf376436213acc7430e) #### Reusing the styling on another importer **1. Upload the CSS file** To apply the same styling to another sheet or importer: 1. Open the **Customize Styling** section of the new importer. 2. Click **Upload CSS**. 3. Select the previously downloaded CSS file. The styling is applied instantly to the importer preview. **2. Preview and save** Review the updated look in the preview, then click **Save** to persist the styling. Your importer now matches the original design. #### Notes and best practices * Uploading a CSS file **overwrites the current styling** of the importer. * You can still make further adjustments after uploading. * Always preview before saving to make sure everything looks correct. * Keep a backup of your CSS files if you maintain multiple themes. ## Hide cancel button Hide the **Cancel** button at the bottom-right corner of the importer. The **X (close)** button at the top-right corner stays. Hiding **Cancel** helps prevent users from abandoning the import by accident and keeps them focused on the **Submit** button, which suits workflows where you want to guide users toward submission. **Default**: `No` ![Hide Cancel Button setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-4.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=4f280fa735100ac0bfa8e85b7fc6ca9d) # File Upload Source: https://help.csvbox.io/sheet-settings/import-steps/file-upload Settings for the first import step: language, file types, size limits, upload box, worksheet selection, import descriptions, and how Excel dates, times, and numbers are read. File Upload is the first tab under **Sheet Settings** → **Import Steps**, and the first screen of the importer. These settings control how users add their data and how Excel files are interpreted. The settings below appear in the same order as in the dashboard. ## Default language This is the language for the importer frontend. CSVbox supports many languages, including English, German, French, Spanish, Hindi, Japanese, and Chinese (Simplified and Traditional). You can also view the translated texts for all supported languages and submit suggestions for changes. You can also set the language at runtime with the [`language`](/getting-started/2-install-code#options) option when you initialize the importer. ## Title and help text Set a **Title** and **Help Text** for the upload page, separately for each language. The help text supports Markdown formatting for bold, italics, and links. ## Sample CSV template Upload a sample file that users can download to see the format your importer expects. To give each user a different sample file, use the [`sample_template_url`](/getting-started/2-install-code#sample_template_url) and [`sample_template_button_text`](/getting-started/2-install-code#sample_template_button_text) options instead. ## Split large files Automatically split large CSV files into smaller parts for faster, more reliable imports with improved browser performance. | Setting | Options | Default | | - | - | - | | Split Large Files | Yes / No | No | When it's enabled, a CSV file that exceeds the **Rows per Import** limit is processed in parts, and each part reuses the same column mappings. When it's disabled, the entire CSV file is processed as a single upload. See [Split Large CSV](/dashboard-settings/split-large-csv) for the rows per import limit, user confirmation between parts, and how multipart imports appear on the Imports page. ## File size limit The maximum file size, in MB, that a user can upload. ## Custom validation message Set a custom message in each language. The message supports Markdown formatting for bold, italics, and links. ## Allowed file types Choose which file types users can upload: **CSV**, **XLS**, and **XLSX**. With [AI Document Import](/dashboard-settings/ai-document-import), you can also accept **PDF**, **DOCX**, and image files (`.jpg`, `.jpeg`, `.png`) and extract tables from them using AI. ### Page count limit The maximum number of pages per import for AI document imports. Leave it blank for no limit. ### Skip tables Skip tables from an AI import by row or column count, using **Min Rows**, **Max Rows**, **Min Cols**, and **Max Cols**. Leave any field blank to ignore that condition. ### Document metadata fields Define which document metadata fields to capture on each import, across any supported file type (PDF, DOCX, images). Captured values are available as `csvbox.metadata` in virtual columns, validation functions, and data transform functions. See [Document Metadata Fields](/dashboard-settings/ai-document-import/document-metadata-fields). ## Show copy-paste data option Show or hide the option that lets users paste data instead of uploading a file. Hide it when you want users to upload files only. ## Excel output type Choose how numeric values from Excel files are imported: * **Formatted**: imports values as shown in Excel, such as `$1,200.00` or `15%`. * **Raw**: strips the formatting and imports the core value, such as `1200` or `0.15`. See [Formatting in Excel files](#formatting-in-excel-files) below. ## Default delimiter Set the default delimiter for manual data entry: **Auto**, **Comma**, **Tab**, **Semicolon**, **Pipe**, **Space**, **Colon**, or **Equals Sign**. ## Show file upload box Enable or disable the ability to upload spreadsheet files. You may need to disable user file uploads and allow only copy-pasting of data in CSVbox. In that case, hide the File Upload Box and show users only the Copy-Paste data option. To hide the File Upload Box, go to sheet settings → **Import Steps** → **File Upload** and select **No** for the **Show File Upload Box?** option. ## Allow worksheet selection Allow users to select a worksheet for upload. An uploaded Excel file can contain multiple worksheets. You can let users select which worksheet to upload. To activate worksheet selection, go to sheet settings → **Import Steps** → **File Upload** and select **Yes** for the **Allow Worksheet Selection** option. If **Allow Worksheet Selection** is set to **No**, the first worksheet is picked by default. ## Show import description Allow users to provide a name or description of the file they're uploading. File names like `contacts.csv` or `Import 123.xlsx` lack context. More descriptive labels such as "Texas Customers" or "Parts from 2022 Catalog" improve the clarity and usefulness of the import. When enabled, the description input box appears after the user selects the file. The description is pushed along with the row data to the destination, in the `import_description` property: ```text theme={"dark"} "import_id": 79418895, "sheet_id": 575, "sheet_name": "Products234248", "import_description": "Product Catalogue Jan 2024", "env_name": "default", "destination_type": "webhook", ``` The following destinations are supported: * API/Webhook * Zapier * [Data at Client](/getting-started/3-receive-data#data-on-the-client-side) * [Import Complete Webhook](/getting-started/3-receive-data#import-complete-webhook) To enable the description input box, go to **Sheet Settings** → **Import Steps** → **File Upload** and select **Yes** for **Show import description option?**. ![Show import description option](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/import-description-option.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=7c3e9ae2b0129be0ccc14b2072d14269) > [!NOTE] > > This feature is turned off by default. The description requires a minimum of 3 characters and a maximum of 100 characters. ## Formatting in Excel files Handle Excel file formatting for dates, times, and numbers. When importing data from Excel files, you may run into unexpected issues because of the way Excel internally stores and formats values, especially **Dates**, **Times**, and **Numbers**. Unlike CSV files, Excel files can retain formatting, formulas, and cell types, which can lead to inconsistencies or misinterpretation during import. > [!NOTE] > > To handle dates and numbers written in different regional styles in an uploaded file (for example, a day-first `04/05/2024` or a European `1.234,56`), see [Smart Date and Number Formats](/dashboard-settings/smart-date-and-number-formats). ### Date formatting issues in Excel Excel stores dates in one of two ways: * **As formatted text**: e.g., `"03/04/2024"` * **As numeric serial values**: e.g., `45025`, which represents the number of days since January 1, 1900. This dual nature can lead to problems during import, especially with international date formats. For example: * `"03/04/2024"` might be **March 4** in the U.S. (MM/DD/YYYY) * ...or **April 3** in Europe (DD/MM/YYYY) If Excel stores the date as a number (`45025`) and the importer misinterprets the format, the final result could be completely off. To address this, CSVbox lets you explicitly define how Excel date values are interpreted. #### Date handling options * **Default**: Uses Excel's built-in logic to interpret the cell as a date. Best for files with consistent formatting and locale. * **MM/DD/YYYY**: Forces interpretation using the **Month-Day-Year** format. Example: `"03/04/2024"` → March 4, 2024 * **DD/MM/YYYY**: Forces interpretation using the **Day-Month-Year** format. Example: `"03/04/2024"` → April 3, 2024 * **YYYY-MM-DD** and **YYYY/MM/DD**: Force interpretation using the **Year-Month-Day** format. * **Custom**: Define a custom format like `YYYY-MM-DD`, `DD-MMM-YYYY`, or any other pattern based on how your Excel file stores the date. Example: `"12-Mar-2024"` → use custom format `DD-MMM-YYYY` > [!TIP] > > If your dates are inconsistently formatted or include a mix of text and numeric formats, consider cleaning them in Excel first, or use the **Custom** option for better accuracy. ### Time formatting issues in Excel Excel stores time values either as: * **Numeric fractions** of a day (e.g., `0.5` represents 12:00 PM) * **Formatted time strings** (e.g., `"14:30"`, `"2:30 PM"`, `"14:30:00"`) This causes parsing issues when some cells are numbers and others are text. For example, `0.75` might mean `6:00 PM` (75% of a day), while `"06:00"` clearly means 6 AM but may be read as a string. #### Time handling options * **Default**: Uses Excel's formatting as-is. Suitable for simple, clean files. * **HH:MM:SS**: Example: `"14:30:00"` → 2:30 PM * **HH:MM AM/PM**: Example: `"2:30 PM"` → 14:30 * **Custom**: Define your own time pattern, such as `HH:mm` or `h:mm a`, based on your file's content. ### Number formatting issues in Excel Excel often applies formatting to numeric values that changes how they appear: * A raw value of `0.15` could be displayed as `15%` * A value of `1200` might appear as `$1,200.00` * A long number like `1234567890123` may be auto-converted to scientific notation (`1.23E+12`) These formatted displays can mislead the importer if you're expecting clean numbers. Number formatting is controlled at the **individual column level**. See [Values for Excel setting](/dashboard-settings/validations#values-for-excel-setting) for the options. #### Number interpretation options | Option | `$1,200.00` | `15%` | `1.23E+12` | | - | - | - | - | | **Formatted Values**: imports numbers exactly as shown in Excel | `$1,200.00` | `15%` | `1.23E+12` | | **Original RAW Values**: strips formatting and imports the numeric value | `1200` | `0.15` | `1230000000000` | > [!TIP] > > Use RAW if you plan to run calculations or validations on numeric fields after import. Date formatting is set **per sheet**, during file upload setup. Number formatting is set **per column**, for finer control. ### How to configure date formatting **1. Open the File Upload tab** Go to **Sheet Settings** → **Import Steps** → **File Upload** tab in your CSVbox dashboard. **2. Find the Excel formatting section** Scroll to the **Formatting in Excel Files** section. **3. Choose a date format** Choose your preferred option for **Date Format**. **4. Save the configuration** Save the configuration. ### Configure number formatting **1. Edit a Number column** Go to **Sheet Settings** → **Columns** and click **Edit** on a column with type **Number**. **2. Select a Values for Excel setting** Locate the **Values for Excel** option and select your preferred interpretation. **3. Save the configuration** Save the configuration. ## Hide cancel button Hide the **Cancel** button located at the bottom-right corner of the importer. The **X (close)** button at the top-right corner of the importer remains unaffected. Enabling this feature helps prevent users from accidentally canceling the import process and keeps their attention on completing the import with the **Submit** button. * **Use case**: Ideal for workflows where you want to guide users toward submission without distractions or potential interruptions. * **Default value**: `No` ![Hide Cancel Button setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-4.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=4f280fa735100ac0bfa8e85b7fc6ca9d) ## AI pre-import transform Use AI to transform the uploaded file before it's imported. Turn the option on and enter **Transform Instructions** in plain language. See [AI Pre-Import Transform](/dashboard-settings/ai-pre-import-transform). ## Related settings These features are also turned on from the File Upload step: * [AI Document Import](/dashboard-settings/ai-document-import): extract structured tables from PDFs, images, and documents. * [Split Large CSV](/dashboard-settings/split-large-csv): split large files into smaller parts for faster, more reliable imports. * [AI Pre-Import Transform](/dashboard-settings/ai-pre-import-transform): restructure uploaded files before the column-mapping step. # Map Columns Source: https://help.csvbox.io/sheet-settings/import-steps/map-columns Settings for the column mapping step: control how users match file columns to template fields, and whether they can submit unmapped columns or ignore columns. Map Columns is the third tab under **Sheet Settings** → **Import Steps**. On this step, users match the columns in their file to your template fields. These settings control the direction of the mapping and what happens to columns that don't match. To set up the template columns themselves, see [Columns](/sheet-settings/columns). ## Skip this step Skip the Column Mapping screen if there is an exact match of columns. ## Help text Add help text to the column mapping page, separately for each language. The help text supports Markdown formatting for bold, italics, and links. ## Mapping choice Let customers map file columns to template fields, or template fields to file columns. ### How it works By default, on the column mapping screen: * **Template Fields** are static and displayed on the left. * **Uploaded File Columns** appear on the right in a dropdown, so users can map them to the corresponding template fields. With the **Mapping Choice** option, users can **reverse this mapping direction**. Selecting **Template Fields** as the Mapping Choice flips the layout. ![Template Fields selected as the Mapping Choice](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-36.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=49ef3295ef6549c31df8704ae6099d98) **File Columns** become static on the left, while **Template Fields** appear in the dropdown on the right, so users can match them accordingly. This added flexibility accommodates different file structures and user preferences, making the mapping process more intuitive. > [!WARNING] > > The **Template Fields** Mapping Choice is **not compatible** with the [Ignore Columns](#allow-column-to-be-ignored) functionality. ## Bulk actions dropdown Show the **Bulk Actions** menu on the Column Mapping screen. It lets users reset all mappings or mark all columns as ignored in a single action, and it includes AI-powered auto column mapping to map file columns to template fields automatically. ![Bulk Actions menu on the Column Mapping screen](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-3.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=6e1814a495c743204774fb21a0d41fef) ## Column data preview Show sample values from the uploaded file on the column mapping screen. ## Accept unmapped columns Sometimes each of your users has unique columns in their sheets that they want to upload. You don't know these columns beforehand, so you can't configure them as part of the sheet template. They can be discovered only after the user uploads the file, so you can't configure them as [dynamic columns](/advanced-installation/dynamic-columns#basic-installation) either. CSVbox calls these columns **Unmapped Columns**, and you can choose to accept them. To start accepting data from unmapped columns, select **Yes** for the **Accept Unmapped Columns?** field and save the sheet. The importer then starts accepting data from the unmapped columns that users submit. ### Receiving data from unmapped columns Data from unmapped columns is available in the data destinations along with the data from the regular columns. Currently, unmapped columns are supported only by the following destinations: * [API/Webhook](/destinations#api--webhook) * [Amazon S3](/destinations#amazon-s3) * [Google Cloud Storage](/destinations/google-cloud-storage) #### API/Webhook data destination In the API response JSON object, the dynamic data appears inside the `_unmapped_data` object, as shown below. The `_unmapped_data` object is visible only if unmapped columns are activated. In the example below, check lines 12 and 32. ```json theme={"dark"} [ { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 1, "row_data": { "Name": "TP-Link TL-WN822N Wireless N300 High Gain USB Adapter", "SKU": "AS-100221", "Price": "33.00", "Quantity": "3", "_unmapped_data":{ "Barcode": "7832748937489", "_empty_header_1": "TP-Link", "Tags": "electronics, networking" } }, "custom_fields": { "user_id": "1002" } }, { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 2, "row_data":{ "Name": "EPower Technology EP-600PM Power Supply 600W ATX12V 2.3 Single 120mm Cooling Fan Bare", "SKU": "AS-103824", "Price": "95.35", "Quantity": "8", "_unmapped_data":{ "Barcode": "4532748937411", "_empty_header_1": "EPower", "Tags": "" } }, "custom_fields": { "user_id": "1002" } }, ] ``` > [!NOTE] > > If any unmapped column has no header in the user's uploaded file, the app auto-inserts the column names `_empty_header_1`, `_empty_header_2`, and so on. #### S3 data destination In the AWS S3 file store, unmapped columns are added as new columns in the uploaded file. #### Google Cloud Storage data destination In Google Cloud Storage, unmapped columns are added after the mapped columns in the CSV file, or as extra keys on every object in the JSON file. ## Allow zero template columns Accept file submissions without requiring any predefined template columns. This is useful when you want users to upload files with their own structure, without enforcing a strict column format. ### How it works * By default, CSVbox requires at least one template column for mapping. * Setting **Allow Zero Template Columns** to **Yes** lets users submit files **without any predefined template columns**, providing complete flexibility. * You can combine this setting with the [Unmapped Columns](#accept-unmapped-columns) feature, so users can upload files with **any set of columns** without a predefined template structure. ![Allow Zero Template Columns setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/sleekshot-5.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=cf82c7c798bd60b5ee0929b13daee5c9) ### When to use this feature * When you want to **fully accommodate user-defined file formats**. * When you prefer **not to enforce a rigid template**, giving users the freedom to submit files as they are. > [!NOTE] > > For this feature to work effectively, set **Allow Unmapped Columns** to **Yes** along with the **Show Unmapped Columns on Validation Screen** selection. This lets users review and verify file columns before submission. ## Allow column to be ignored Users sometimes want to skip a column during data submission. This is especially useful when you use the importer to update existing data: to avoid overwriting existing columns, users can mark those columns as **Ignored** and the importer skips them. With CSVbox, you can give users the option to mark certain columns as ignored. Select **Yes** for the **Allow Columns to be Ignored** field and save the sheet. The importer then shows the option to mark columns as ignored on the Column Mapping screen. Columns marked as ignored aren't visible on the Verify Data screen. > [!NOTE] > > The Ignore Column option isn't available for columns marked as **Required**. ### Default selection When the **Default Selection** option is set to **Yes**, all unmapped columns default to Ignore Column. ### Data from ignored columns Ignored columns aren't pushed to any destination. Only the metadata (the list of ignored columns) is pushed to the following destinations: * [API/Webhook](/destinations#api--webhook) * [Zapier](/destinations/zapier) * [Client Side](/getting-started/3-receive-data#data-on-the-client-side) #### Ignored column list In the API response JSON object, the list of ignored columns appears inside the `ignored_columns` object, as shown below. The `ignored_columns` object is visible only if ignored columns are activated. In the example below, check lines 16 and 36. ```json lines theme={"dark"} [ { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 1, "row_data": { "Name": "TP-Link TL-WN822N Wireless N300 High Gain USB Adapter", "SKU": "AS-100221", "Price": "33.00", "Quantity": "3" }, "custom_fields": { "user_id": "1002" }, "ignored_columns": ["qualification", "experience"] }, { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 2, "row_data":{ "Name": "EPower Technology EP-600PM Power Supply 600W ATX12V 2.3 Single 120mm Cooling Fan Bare", "SKU": "AS-103824", "Price": "95.35", "Quantity": "8", "_ignored_data":{ "qualification": "MA", "experience": "6" } }, "custom_fields": { "user_id": "1002" }, "ignored_columns": ["qualification", "experience"] } ] ``` ## User keywords for column mapping Apart from Matching Keywords, CSVbox auto-maps columns via continuous learning. The importer remembers the columns mapped by users and uses these historical mappings to automatically map columns for new uploads. You can disable User Keywords-based column mapping completely by selecting **Disable** for **User Keywords for Column Mapping**. To view and delete the keywords already collected, open the column's settings. See [Columns](/sheet-settings/columns#user-keywords). # Results Source: https://help.csvbox.io/sheet-settings/import-steps/results Settings for what users see when an import finishes: closing the dialog, a redirect URL, custom messages, the Resubmit button, and error text. Results is the fifth tab under **Sheet Settings** → **Import Steps**. These settings control what happens after the user submits. ## Closing the import dialog box Control what happens to the importer dialog after the import is complete. This applies to the embedded importer only. * **Close on import complete (success or errors)** * **Close only when import is successfully completed** * **Do not close on import complete** * **Redirect only when import is successfully completed** ## Redirect page URL Redirect end users to any page after a successful import. Specify a custom URL to redirect users to when an import completes successfully. This lets you direct users to a specific page immediately after the import and streamline your workflow. ![Custom redirect URL setting](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/redirect-url.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=fe9163c5cc0e909e8b642b06a51eeefe) ## Import success text and import failed text Show custom messages when the import is completed. You can show customized success or failure messages when the import is complete. The messages can be: * **Static**: Any fixed text as per your requirements. * **Dynamic**: Provide an API to fetch the message text in real time. The importer appends metadata (`import_id`, `sheet_id`) to the API as query parameters, which helps determine the context and return relevant messages. ![Import complete messages settings](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/custom-messages.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=17b29ab6194d548efaa400f8ad4c6d50) ## Show resubmit button One click to resubmit the same CSV file again. Show or hide the **Resubmit** button on the Import Success screen. The Resubmit button triggers a new import that pushes the same file with the same import configuration. This is useful during testing and debugging. You don't have to upload the file, match columns, and confirm data again: click **Resubmit** to push the file to the same destination. ![Resubmit button on the Import Success screen](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/resubmit-button.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=39d6491233d6ae807fba252282bb403d) ## Allow users to see error text Display the import fail error messages back to end users. ![Show Error Text option in sheet settings](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/error-option.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=beba0cad2063d135dd9fe59250449540) When enabled, users click the **See Errors** button on the import complete screen to see why the import failed. # Select Header Source: https://help.csvbox.io/sheet-settings/import-steps/select-header Settings for the step where users pick the row that holds their column headers, including how to set the default header row. Select Header is the second tab under **Sheet Settings** → **Import Steps**. On this step, users confirm which row of their file holds the column headers. After a user adds a file, they select the row that contains the column headers before the importer moves on to [Map Columns](/sheet-settings/import-steps/map-columns). The import flow runs in this order: upload, select the header row, map columns, then [Verify Data](/sheet-settings/import-steps/verify-data). ## Skip this step Hide the **Select header row** page from users. ## Help text Add help text to the header selection page, separately for each language. The help text supports Markdown formatting for bold, italics, and links. ## Default row selection Choose which row is pre-selected on the header selection step. If you leave it empty, the first row is selected. If your users' files usually have a title or blank rows above the headers, set the `default_header_row` option so the right row is already selected on the **Header Selection** page. Rows are 1-indexed. ```javascript theme={"dark"} importer.setOptions({ default_header_row: 3 }) ``` Also available as an installation parameter: [`default_header_row`](/getting-started/2-install-code#default_header_row). See [Options](/getting-started/2-install-code#default_header_row) on the Install the Code page for how to pass this option in each framework. ## Show encoding option Show or hide the character set selection list to users. UTF-8 is the default. ## Show switch row/columns option Show or hide the option that lets users switch rows and columns. > [!TIP] > > Hiding the options you don't need removes non-essential choices from the importer and makes the experience cleaner for your users. ## Files with complicated headers If uploaded files have headers the importer can't use as they are, such as two-row merged headers, [AI Pre-Import Transform](/dashboard-settings/ai-pre-import-transform) can restructure the file before it reaches column mapping. ## Track drop-offs [Import Analytics](/dashboard-settings/import-analytics) shows how many users reach and complete header selection, and how long they spend on it. # Verify Data Source: https://help.csvbox.io/sheet-settings/import-steps/verify-data Settings for the data review step: row display, search, export, date correction, AI bulk edits, validation limits, and invalid data handling. Verify Data is the fourth tab under **Sheet Settings** → **Import Steps**. On this step, users review their data, fix validation errors, and submit. Validation rules you set on [Columns](/sheet-settings/columns) are checked here. ## Skip this step Skip the Verify Data screen. You can choose to always skip it, or to skip it only if no validation errors are found. ## Help text Add help text to the Verify Data page, separately for each language. The help text supports Markdown formatting for bold, italics, and links. ## Default value for row selection Choose which rows the table shows by default: **All** rows or **Invalid** rows only. ## Show export option Export validation errors in Excel. Enable or disable the **Export** button on the Verify Data screen. Your users can export data to Excel while keeping the error highlighting and error messages. This helps them resolve the errors in the Excel sheet and quickly re-upload the file in CSVbox. ![Export button setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/export-settings.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=52e8916f772e8025b4d39515c97a1cef) ![Exported Excel file with error highlighting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/excel1-2.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=8d8dbf5756c477f275914165bf67b802) An exported file with error highlighting ## Show search option Show or hide the search box that lets users quickly find text in the uploaded sheet. ## Enable AI transformations Let users apply AI-driven changes to their data with natural language prompts, directly in the importer. See [AI Bulk Transforms](/dashboard-settings/ai-bulk-transforms). ## Allow adding of new rows Allow or restrict adding new rows on the Verify Data screen. ## Default number of rows to display Set the default number of rows displayed on the Verify Data screen: 10, 25, 50, or 100. ## Allow invalid data Let users submit data that has validation errors. See the [`allow_invalid`](/getting-started/2-install-code#allow_invalid) option. ## Date correction Convert dates and numbers written in different regional formats into the format your column expects, and ask the user once when a value such as `04/05/2024` or `1,234` could be read two ways. Users confirm unclear dates and numbers before they reach the Verify Data screen. See [Smart Date and Number Formats](/dashboard-settings/smart-date-and-number-formats). ## Max rows Limit the number of rows that a single file can import. Leave it blank to remove the restriction. ### Allow file upload when max rows crossed Choose whether users can still submit when the file has more rows than the limit. See [`max_rows`](/getting-started/2-install-code#max_rows) for the related options. ### Custom validation message Show your own message when the max rows limit is crossed. ## Min rows Require a minimum number of rows in a single file. Leave it blank to remove the restriction. See [`min_rows`](/getting-started/2-install-code#min_rows). ## Related * [Data Transforms](/sheet-settings/data-transforms) reshape the data before it's validated or pushed. * [Validation Functions](/sheet-settings/validation-functions) add custom row and column checks. * [Allow invalid](/getting-started/2-install-code#allow_invalid) lets users submit a file even when it has validation errors. # Security Source: https://help.csvbox.io/sheet-settings/security Control where user data is stored, which domains can embed the importer, and how files are retained. The **Security** tab controls where your users' data is stored, where the importer can run, and how long files are kept. The settings below appear in the same order as in the dashboard. ## Server and data storage location Select the geographic location of the servers and database for the user data. Data residency refers to the geographical location where data is stored. The location is usually important for regulatory or policy reasons. You can select the storage location of the data uploaded by your users. Go to **Edit Sheets** → **Options** → **Privacy & Security** section and select the location from the **Server & Data Storage Location** dropdown. ![Data location dropdown in Privacy & Security settings](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/locations.png?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=107b2ce00f23caa7041963ee0c03a129) The US is the default location. The other option is Europe (Germany). The data uploaded by users then passes through servers and is stored in the database situated in the selected location only. > [!NOTE] > > You also have the option to not store the data at all. See [File delete policy](#file-delete-policy). The long-lived data about the import and the user files isn't covered by the selected location. It mainly consists of supplementary log data that helps with troubleshooting and analyzing the import processes. This data doesn't include any original data from inside the user files. The image below shows how the data flows if you select Europe as the data residency location. ![Data flow with Europe selected as the data residency location](https://mintcdn.com/csvbox-io/IiJm1ajqqYICKeqw/images/data-residency-flow.svg?fit=max\&auto=format\&n=IiJm1ajqqYICKeqw\&q=85\&s=caeebf3bc8fc00f907118c49448d3ee5) ## Authorized domains Run the importer on select domains only. Go to **Edit Sheets** → **Options** → **Authorized Domains** and provide a list of authorized *domains/subdomains* for embedding the importer. The embedded importer works on the whitelisted domains only. ![Authorized Domains setting](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/domains.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=e8519c99e632a2acfdde113fbbfdc107) * If you don't whitelist any domain, the importer embed works on all domains. This is the default configuration. * You can use the `*` wildcard prefix to include any subdomain. A few examples: | Text | Valid | Invalid | | - | - | - | | `exampleco.com` | `exampleco.com` | `www.exampleco.com`, `app.exampleco.com` | | `www.exampleco.com` | `www.exampleco.com` | `exampleco.com`, `app.exampleco.com` | | `app.exampleco.com` | `app.exampleco.com` | `exampleco.com`, `www.exampleco.com` | | `*.exampleco.com` | All `exampleco.com` subdomains | | If a domain fails validation, the user sees an **Unauthorized domain** error instead of the importer. ## Import links Import Links let you accept files from your users without a website or an app. Create an import page in a few clicks and share the link with your users, with no code required. It's an alternative to the import button that you set up by adding the integration code. You can turn the sheet's import link on or off with the **Import Links** setting. If import links are deactivated, users see a **File imports disabled** message instead of the importer. To find the import link and add custom user attributes to it, see [Code Snippet](/sheet-settings/code-snippet). ## File delete policy Manage user data storage in CSVbox. Enable or disable the storage of user-uploaded data in CSVbox. You can decide based on privacy preferences or specific sheet requirements. ![File delete policy options](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/image-33.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=093fdfdf2bca494df77238a31af69569) * **Do not store the file**: When enabled, user-uploaded data isn't stored in the CSVbox datastore. * **Store data**: Data is stored on CSVbox storage and auto-deleted after one month. > [!NOTE] > > To keep user data off CSVbox servers and data stores entirely, see [Private Mode](/destinations/private-mode). # Sheet import & export Source: https://help.csvbox.io/sheet-settings/sheet-import-export Copy a sheet to another CSVbox account, or duplicate it within the same account. Export a sheet from one CSVbox account and import it into another, or duplicate it within the same account, in a few clicks. Use it to: * Move sheets between staging and production accounts * Share templates across teams * Back up sheet configurations * Reuse validated sheet structures ## Export a sheet **1. Open your sheets** Go to **Sheets** in your dashboard and locate the sheet you want to export. **2. Click Export** Click the **Export** button in the **Actions** column. A dialog opens showing: * **Sheet License Key** * **Export Key** * Options to **Copy**, **Show**, or **Regenerate** the export key. **3. Copy both keys** Copy both the **Sheet License Key** and the **Export Key**. ## Import a sheet **1. Log in to the target account** Log in to the account where you want to import the sheet. **2. Choose Import Sheet** Click **Add Sheet**, then select **Import Sheet**. **3. Paste the keys** Paste the **Sheet License Key** and the **Export Key**. **4. Click Import** Click **Import**. The entire sheet, including columns, validations, configuration, and settings, is copied into the new account. > [!NOTE] > > The imported sheet gets a **new License Key**. The original sheet, and its existing imports and data, are not affected. # Validation Functions Source: https://help.csvbox.io/sheet-settings/validation-functions Validate imported data with custom JavaScript row and column functions. If the built-in [data type validations](/dashboard-settings/validations) in CSVbox don't cover the validations you need, write your own custom validation functions in JavaScript. There are two types of validation functions: * **Row Functions**: run validation on each row of data and return an error message (if any) for the user. They run at the beginning of the "validate" step, and again whenever row data is updated during the "validate" step. For example, use a row function to mark a cell as "mandatory" based on a specific value in another cell in the same row. * **Column Functions**: run validation on a set of selected columns when the user clicks the **Submit** button on the "validate" step. They're best for cases where the entire column's data is required for validation. For example, to find duplicate entries in a column, grab all the values in the column, find the duplicates, and display a message to the user. ![How row functions and column functions run during the validate step](https://mintcdn.com/csvbox-io/gbSw6IjcjWNNEixS/images/validation-functions.png?fit=max\&auto=format\&n=gbSw6IjcjWNNEixS\&q=85\&s=0594b180afea97ae0f6f6b4bb603a394) Validation Functions > [!TIP] > > Prefer not to write code? Use the [If / Else Builder](/advanced-installation/if-else-builder) to create validation rules visually with IF / ELSE IF / ELSE conditions. ## Row functions ### Adding row functions **1. Open the Columns tab** Go to the edit sheet page → **Columns** tab, and click the **Add Functions** button. **2. Name the function** Add a **Function Name**. **3. Select the Row function type** Select **Row** under **Function Type**. **4. Provide the JavaScript code** Enter the **Javascript** code. **5. Save the function** Click **Save**. ![Add Functions dialog with the Row function type selected](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/row-function.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=30d04d7c11ddccf76fb7e8ed20647b05) Adding Row Functions ### Example row functions #### Dependent columns Column 5 is mandatory only if column 4 is not null. ```javascript theme={"dark"} //replace "col4" and "col5" with actual column names if(csvbox.row["col4"] != "" && csvbox.row["col5"] == "") { let err = [ { "column": "col5", "message": "Column 5 is mandatory if Column 4 is not empty" }]; return err; } ``` #### Mandatory column combination Either column 2 or column 3 needs to have data. ```javascript theme={"dark"} //replace "col2" and "col3" with actual column names if(csvbox.row["col2"] == "" && csvbox.row["col3"] == ""){ let err = [ { "column": "col2", "message": "Columns 2 OR 3 need to have data" }, { "column": "col3", "message": "Columns 2 OR 3 need to have data" } ]; return err; } ``` ### Variables in the row function You have access to data variables in the `csvbox` object. The following data is available: #### `csvbox.row` Contains the row data. Access each cell in the row by providing the column name. Examples: ```javascript theme={"dark"} csvbox.row["first_name"] csvbox.row["order_id"] csvbox.row["price"] ``` > [!WARNING] > > The column name must exist on the sheet, or an error is thrown. #### `csvbox.user` Contains the [custom user attributes](/getting-started/2-install-code#referencing-the-user) defined while initializing the importer. Examples: ```javascript theme={"dark"} csvbox.user["user_id"] csvbox.user["team_id"] csvbox.user["isAuthenticated"] ``` #### `csvbox.import` Contains data specific to the current import. The following data is available: ```javascript theme={"dark"} csvbox.import["sheet_id"] csvbox.import["sheet_name"] csvbox.import["original_filename"] csvbox.import["import_start_time"] csvbox.import["destination_type"] csvbox.import["total_rows"] csvbox.import["row_number"] //current row number starting with 1 ``` #### `csvbox.columns` Contains the column metadata (name, type). ```javascript theme={"dark"} //Example usage let column = csvbox.columns['birthdate']; if(column.type == 'date') { // code } if(column.isDynamic) { // this is a dynamic column // code } if(column.isUnmapped) { // this is an unmapped column // code } ``` #### `csvbox.environment` Contains the [environment variables](/advanced-installation/environment-variables) passed during importer initialization. ```javascript theme={"dark"} // Example Usage if(csvbox.environment["user_id"] && csvbox.environment["user_id"] == "abc123") { // code } ``` > [!TIP] > > Use `console.log(csvbox);` to print all the available variables in the debugging console. ### Error response JSON format for row functions CSVbox expects the row function to return an array of errors. Each error specifies the `column` the error appeared in and a `message` to display in the UI. #### JSON response schema | Parameter | Type | Description | | - | - | - | | `column` | string | The [column name](/sheet-settings/columns#column-name) of the error. It is case-sensitive. | | `message` | string | The message displayed to the user on the validation screen of the importer. | #### Example row function JSON response ```json theme={"dark"} [ { "column": "employee_id", "message": "Invalid Emp ID" }, { "column": "dept", "message": "Department does not exist" }, { "column": "employee_name", "message": "Employee's name has changed" } ] ``` ## Column functions ### Adding column functions **1. Open the Columns tab** Go to the edit sheet page → **Columns** tab, and click the **Add Functions** button. **2. Name the function** Add a **Function Name**. **3. Select the Column function type** Select **Column** under **Function Type**. **4. Add the columns** Add the columns you need in the function. **5. Provide the JavaScript code** Enter the **Javascript** code. **6. Attach dependencies (optional)** Attach **Dependent** libraries. **7. Save the function** Click **Save**. ![Add Functions dialog with the Column function type selected](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/column-function-add.png?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=49d8c77fe7f534fa5bb138d6fa50ebde) Adding Column Functions > [!NOTE] > > You can also enter [dynamic column](/advanced-installation/dynamic-columns) names to access them in validation functions. ### Example column functions **Detect Duplicates** Check whether a column has duplicate entries. ```javascript theme={"dark"} //replace "col4" with actual column name function findRepeatingIndices(arr) { const repeatingIndices = {}; for (let i = 0; i < arr.length; i++) { const element = arr[i]; if (repeatingIndices[element] === undefined) { repeatingIndices[element] = [i]; } else { repeatingIndices[element].push(i); } } const result = []; for (const key in repeatingIndices) { if (repeatingIndices[key].length > 1) { result.push(...repeatingIndices[key]); } } return result; } const arr = csvbox.column["col4"]; const repeatingIndices = findRepeatingIndices(arr); let errs = []; repeatingIndices.forEach(index => { errs.push({ "row_id": (index + 1), "column": "col4", "message": "Duplicate entry." }); }); return errs; ``` **Multi Column Duplicates** Find duplicate entries across multiple columns. ```javascript theme={"dark"} //Find duplicate entries in multiple columns. function findDuplicateIndices(arr1, arr2) { const seen = new Map(); const duplicates = []; arr1.forEach((value1, index) => { const value2 = arr2[index]; const pair = `${value1},${value2}`; if (seen.has(pair)) { duplicates.push(seen.get(pair), index); } else { seen.set(pair, index); } }); return [...new Set(duplicates)]; } const duplicates = findDuplicateIndices(csvbox.column.col1, csvbox.column.col2); let errs = []; duplicates.forEach(index => { errs.push({ "row_id": (index + 1), "column": "col1", "message": "Duplicate entry." }); errs.push({ "row_id": (index + 1), "column": "col2", "message": "Duplicate entry." }); }); return errs; ``` ### Dependencies In the column function JavaScript snippet, you can use an external library hosted on a CDN. You can also call any external API endpoint to fetch real-time data. Add the library script tag and any custom scripts to the **Dependencies** section, then use them in the main JavaScript snippet. ### Variables in the column function You have access to data variables in the `csvbox` object. The following data is available: #### `csvbox.column` Contains the entire column's data. Access each cell in the column by providing the column name and the row number. The row number starts with 1. Examples: ```javascript theme={"dark"} csvbox.column["first_name"][1] csvbox.column["order_id"][12] csvbox.column["price"][10001] ``` > [!WARNING] > > Only the selected columns are available in the column function. #### `csvbox.user` Contains the [custom user attributes](/getting-started/2-install-code#referencing-the-user) defined while initializing the importer. Examples: ```javascript theme={"dark"} csvbox.user["user_id"] csvbox.user["team_id"] csvbox.user["isAuthenticated"] ``` #### `csvbox.import` Contains data specific to the current import. The following data is available: ```javascript theme={"dark"} csvbox.import["sheet_id"] csvbox.import["sheet_name"] csvbox.import["original_filename"] csvbox.import["import_start_time"] csvbox.import["destination_type"] csvbox.import["total_rows"] csvbox.import["row_number"] //current row number starting with 1 ``` #### `csvbox.environment` Contains the [environment variables](/advanced-installation/environment-variables) passed during importer initialization. ```javascript theme={"dark"} // Example Usage if(csvbox.environment["user_id"] && csvbox.environment["user_id"] == "abc123") { // code } ``` #### `csvbox.columns` Contains the column metadata (name, type). ```javascript theme={"dark"} //Example usage let column = csvbox.columns['birthdate']; if(column.type == 'date') { // code } if(column.isDynamic) { // this is a dynamic column // code } if(column.isUnmapped) { // this is an unmapped column // code } ``` > [!TIP] > > Use `console.log(csvbox);` to print all the available variables in the debugging console. ### Error response JSON format for column functions CSVbox expects the column function to return an array of errors. Each error specifies the `row_id`, the `column` the error appeared in, and a `message` to display in the UI. #### JSON response schema for column functions | Parameter | Type | Description | | - | - | - | | `row_id` | integer | The row number of the error. Starts with 1. | | `column` | string | The [column name](/sheet-settings/columns#column-name) of the error. It is case-sensitive. | | `message` | string | The message displayed to the user on the validation screen of the importer. | #### Example column function JSON response ```json theme={"dark"} [ { "row_id": 1, "column": "employee_id", "message": "Invalid Emp ID" }, { "row_id": 2, "column": "dept", "message": "Department does not exist" }, { "row_id": 3, "column": "employee_name", "message": "Employee's name has changed" } ] ``` # Virtual Columns Source: https://help.csvbox.io/sheet-settings/virtual-columns Create new columns by applying custom data transformation logic. **Virtual Columns** are one of CSVbox's most powerful data transformation tools. They run small snippets of JavaScript that **merge**, **split**, **re-format**, **correct**, and **enrich** incoming data during an import. Use them to process your data, do calculations, or merge values together before the data reaches your end. ## How it works **1. Add a virtual column** For any sheet (template), add a virtual column in the CSVbox dashboard. **2. Attach a JavaScript snippet** Attach a JavaScript snippet to the virtual column. **3. Users submit the CSV file** After users submit the CSV file, the JavaScript runs to populate data in the virtual columns. **4. Data is pushed to the destination** Data from the uploaded CSV and the virtual columns is pushed to the data destination. ### Example **Merge** Merge data from the `first_name` and `last_name` columns into a new virtual column named `full_name`. Here is the JavaScript attached to the `full_name` virtual column: ```javascript theme={"dark"} try { return csvbox.row["first_name"] + ' ' + csvbox.row["last_name"]; } catch(err) { return 'error: ' + err.name + ' | ' + err.message; } ``` **Re-format** Normalize the incoming `order_date` into UTC format. ```javascript theme={"dark"} try { const date = new Date(csvbox.row["order_date"]); return date.toUTCString(); } catch(err) { return 'error: ' + err.name + ' | ' + err.message; } ``` **Static** Pass any static value to the virtual column. ```javascript theme={"dark"} try { return 'Amazon'; } catch(err) { return 'error: ' + err.name + ' | ' + err.message; } ``` ## Adding virtual columns **1. Open the Columns tab** Go to the edit sheet page → **Columns** tab, and click the **Add Virtual Column** button. **2. Name the column** Add the virtual **Column Name**. **3. Provide the JavaScript code** Enter the **Javascript** code. **4. Attach dependencies (optional)** Attach **Dependent** libraries. **5. Save the column** Click **Save**. ![Add Virtual Column dialog](https://mintcdn.com/csvbox-io/gyjvlPdP5mzE2jo9/images/add-virtual-column.jpg?fit=max\&auto=format\&n=gyjvlPdP5mzE2jo9\&q=85\&s=4190e7195a9e16d86f3a3da75e42c9e8) Add Virtual Column ## Data rows Data rows are the core object that virtual columns are built around. For each incoming CSV data row, you can read its data and manipulate it with JavaScript to populate the virtual column. After the user submits the CSV, the JavaScript runs for each data row in sequential order to populate the virtual columns. Use the `csvbox.row` object to work with each row, and `csvbox.row["column_name"]` to read a specific column of the data row. You can use data from a single column, multiple columns, or no columns to populate virtual columns. ## Inserting data into virtual columns The value returned by the JavaScript snippet is added to the virtual column. ```javascript theme={"dark"} // Extracting first name try { var fullName = csvbox.row["full_name"].split(' '); // returning value return fullName[0]; } catch(err) { //returning error return 'error: ' + err.name + ' | ' + err.message; } ``` > [!NOTE] > > If the JavaScript returns a `NULL` value, an empty string is added to the virtual column. ## Receiving virtual data Virtual column data is available at all data destinations along with the data from the regular columns. **API/Webhook, Zapier, etc.** In the API response JSON object, the virtual data appears inside the `_virtual_data` object, as shown below. The `_virtual_data` object is visible only if virtual columns are added to the sheet. In the example below, check lines 12 and 31. ```json lines theme={"dark"} [ { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 1, "row_data": { "Name": "TP-Link TL-WN822N Wireless Adapter", "SKU": "AS-100221", "Price": "33.00", "Quantity": "3", "_virtual_data":{ "SKU_prefix": "AS", "Compare_Price": "43.00" } }, "custom_fields": { "user_id": "1002" } }, { "import_id": 79418895, "sheet_id": 55, "sheet_name": "Products", "row_number": 2, "row_data":{ "Name": "EPower EP-600PM Power Supply Cooling Fan", "SKU": "SS-103824", "Price": "95.35", "Quantity": "8", "_virtual_data":{ "SKU_prefix": "SS", "Compare_Price": "105.35" } }, "custom_fields": { "user_id": "1002" } }, ] ``` **MySQL, Bubble, Airtable etc** Virtual columns are available in the column mapping modal. You can push virtual columns to any receiving data field of your choice. ![Mapping virtual columns to destination fields](https://mintcdn.com/csvbox-io/Fn747PbJ5U7GCAW2/images/virtual-col-mapping.jpg?fit=max\&auto=format\&n=Fn747PbJ5U7GCAW2\&q=85\&s=4a9d45951be1d65014e8ccf058681fad) Mapping Virtual Columns **S3, FTP etc** In the AWS S3 file store, virtual columns are added as new columns in the uploaded file. The virtual data is also available on the [client-side JSON object](/getting-started/3-receive-data#data-on-the-client-side). ## Dependencies In the JavaScript snippet, you can use an external library hosted on a CDN. You can also call any external API endpoint to fetch real-time data. Add the library script tag and any custom scripts to the **Dependencies** section, then use them in the main JavaScript snippet. For each import, the dependent scripts run only once, whereas the main JavaScript snippet runs once for each row. ![Virtual column processing: dependencies run once, the snippet runs per row](https://mintcdn.com/csvbox-io/DJwuudNXVbQXa5C2/images/virtualcolumnprocessing.png?fit=max\&auto=format\&n=DJwuudNXVbQXa5C2\&q=85\&s=860b0f8f50959c5e0d0f9978efacd0b0) Virtual Column Processing > **Example** > > Suppose you want to use the data from the incoming `USD_amount` column to create a new `GBP_amount` virtual column. The amount should be converted from USD to GBP using real-time exchange rates. > > You can use the [Money.js](https://github.com/openexchangerates/money.js) library for currency conversions and [Open Exchange Rates](https://openexchangerates.org/) to fetch real-time conversion rates. Here is the sample dependency code: > > ```javascript Dependent Scripts theme={"dark"} > //Load jQuery via CDN > > > //Load Money.js via CDN > > > //Fetch real-time conversion rates via ajax call and initialize fx object > > ``` > > Corresponding JavaScript snippet for the `GBP_amount` virtual column: > > ```javascript Javascript snippet theme={"dark"} > try > { > //USD to GBP > return fx.convert(csvbox.row["USD_amount"], {from: "USD", to: "GBP"}); > > } > catch(err) > { > //returning error > return 'error: ' + err.name + ' | ' + err.message; > } > ``` ## Variables In the virtual column JavaScript snippet, you have access to data variables in the `csvbox` object. The following data is available: ### `csvbox.row` Contains the row data. Access each cell in the row by providing the column name. Examples: ```javascript theme={"dark"} csvbox.row["first_name"] csvbox.row["order_id"] csvbox.row["price"] ``` > [!WARNING] > > The column name must exist on the sheet, or an error is thrown. ### `csvbox.user` Contains the [custom user attributes](/getting-started/2-install-code#referencing-the-user) defined while initializing the importer. Examples: ```javascript theme={"dark"} csvbox.user["user_id"] csvbox.user["team_id"] csvbox.user["isAuthenticated"] ``` ### `csvbox.import` Contains data specific to the current import. The following data is available: ```javascript theme={"dark"} csvbox.import["sheet_id"] csvbox.import["sheet_name"] csvbox.import["original_filename"] csvbox.import["import_start_time"] csvbox.import["destination_type"] csvbox.import["total_rows"] csvbox.import["row_number"] //current row number starting with 1 ``` ### `csvbox.virtual` Contains data from the preceding virtual columns. ```javascript theme={"dark"} csvbox.virtual["final_name"] csvbox.virtual["age"] ``` > [!WARNING] > > Only data from the virtual columns defined before the current virtual column is available for use. ### `csvbox.environment` Contains the [environment variables](/advanced-installation/environment-variables) passed during importer initialization. ```javascript theme={"dark"} // Example Usage if(csvbox.environment["user_id"] && csvbox.environment["user_id"] == "abc123") { // code } ``` > [!TIP] > > Use `console.log(csvbox);` to print all the available variables in the debugging console.