# Export MSSQL table to CSV on manual trigger
This automation template allows you to quickly and accurately export data from any Microsoft SQL table into CSV format. Ideal for recurring use when transferring data for analysis, storage, or sharing with colleagues who don’t have direct database access.
## Who it´s for
- Analysts who regularly export SQL data to CSV
- Database administrators automating table exports
- Developers integrating SQL data into other systems via files
## What the automation does
- Triggered manually by user command
- Accepts table name as input parameter
- Connects to the specified Microsoft SQL database
- Runs a SELECT query on the entire table
- Exports results to a CSV file named after the table
- Output file can be downloaded or used in downstream steps
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic
- Integrations with Microsoft SQL and CSV export
- Basic text instructions for launch and adaptation
## Requirements for setup
- Access to a Microsoft SQL Server instance with read permissions on required tables
- n8n account (cloud or self-hosted)
- Ability to import and configure the workflow template
## Benefits and outcomes
- Eliminates manual errors during data export
- Saves time on repetitive tasks
- Simplifies data sharing outside the database
- Ensures consistent CSV output format
- Can be extended for batch export of multiple tables
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet