Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Import CSV into MySQL

n8n template #1839
This workflow demonstrates how CSV file can be automatically imported into existing MySQL database. Before running the workflow please make sure you have a file on the server: /home/node/.n8n/concerts-2023.csv And the content of the file is the following: Date,Band,ConcertName,Country,City,Location,LocationAddress, 2023-05-28,Ozzy Osbourne,No More Tours 2 - Special Guest: Judas Priest,Germany,Berlin,Mercedes-Benz Arena Berlin,"Mercedes-Platz 1, 10243 Berlin-Friedrichshain", 2023-05-08,Elton John,Farewell Yellow Brick Road Tour 2023,Germany,Berlin,Mercedes-Benz Arena Berlin,"Mercedes-Platz 1, 10243 Berlin-Friedrichshain", 2023-05-26,Hans Zimmer Live,Europe Tour 2023,Germany,Berlin,Mercedes-Be

How to set it up

  1. Open template #1839 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create a credential under Credentials → Add credential: MySQL. Then open each of those nodes and pick the credential.
  3. Click Execute workflow and step through each node's output to confirm the data looks right.
  4. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Import CSV into MySQL" (https://n8n.io/workflows/1839). It uses: MySQL. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Eduard published it free on n8n.io as a verified creator, and it has 13K views. It runs on n8n Cloud or a self-hosted n8n instance.

MySQL. The other 0 nodes are built into n8n.

Similar workflows

NameViews
  1. Generate SQL queries from schema only - AI-powered38K
  2. Generate Monthly Financial Reports with Gemini AI, SQL, and Outlook14K
  3. Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K
  4. Two way sync Pipedrive and MySQL11K
  5. Sync Google Sheets data with MySQL7,760
  6. Create a table in MySQL and insert data6,128
  7. Import data from MySQL into Google Sheets5,532
  8. SQL to XML export with XSL template formatting1,738