FM
FlowMarket
Database & SQL Intermediate ⚡ 9 n8n Nodes

Xml to SQL database import

This is an example workflow that imports an XML file into an SQL database. - The ReadBinaryFiles node loads the XML file from the server. - Then the Code nod...

🔌 Nodes & Integrations Used (4)

Read Binary Files Item Lists Xml My Sql

📖 Implementation & Setup Guide

This is an example workflow that imports an XML file into an SQL database. - The ReadBinaryFiles node loads the XML file from the server. - Then the Code node extracts the file content from the binary buffer. - Afterwards, an XML node converts the XML string into a JSON structure. - Finally, in the MySQL node inserts the data records into the SQL table.

In the upper part of the workflow there is another MySQL node that is disabled. This node creates a new table with all the required variables based on the sample SQL database: https://www.mysqltutorial.org/mysql-sample-database.aspx

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Xml to SQL database import.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 →