> ## Documentation Index
> Fetch the complete documentation index at: https://help.csvbox.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 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

<Steps>
  <Step title="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.
  </Step>

  <Step title="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.
  </Step>

  <Step title="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.
  </Step>
</Steps>

## 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**:

<Steps>
  <Step title="Add a Webhook node">
    Add a **Webhook node** in n8n.
  </Step>

  <Step title="Copy the webhook URL">
    Copy the generated webhook URL.
  </Step>

  <Step title="Add the URL in CSVbox">
    Add this URL as a **Webhook destination** in CSVbox.
  </Step>
</Steps>

On each import, CSVbox sends validated rows to this webhook as `POST` requests.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.