FM
FlowMarket
Database & SQL Beginner ⚡ 5 n8n Nodes

Export SQL table into CSV file

This workflow demonstrates how easy it is to export SQL query to CSV automatically! !workflowexamplefix.png Before running the workflow please make sure you ...

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

This workflow demonstrates how easy it is to export SQL query to CSV automatically!

![workflowexamplefix.png](fileId:707)

Before running the workflow please make sure you have access to a local or remote MSSQL server with a [sample AdventureWorks database](https://learn.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver16&tabs=ssms).

The detailed process is explained in the tutorial [https://blog.n8n.io/sql-export-to-csv/](https://blog.n8n.io/sql-export-to-csv/)

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Export SQL table into CSV file.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Database & SQL Workflows

View All in Database & SQL →