AutomationFlowsData & Sheets › Import Excel to Postgres

Import Excel to Postgres

Original n8n title: Excel to Postgres

Excel To Postgres. Uses readBinaryFile, spreadsheetFile, postgres. Manual trigger; 3 nodes.

Manual trigger★☆☆☆☆ complexity3 nodesRead Binary FileSpreadsheet FilePostgres
Data & Sheets Trigger: Manual Nodes: 3 Complexity: ★☆☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "nodes": [
    {
      "name": "Read Binary File",
      "type": "n8n-nodes-base.readBinaryFile",
      "position": [
        450,
        650
      ],
      "parameters": {
        "filePath": "spreadsheet.xls"
      },
      "typeVersion": 1
    },
    {
      "name": "Spreadsheet File1",
      "type": "n8n-nodes-base.spreadsheetFile",
      "position": [
        600,
        650
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "Insert Rows1",
      "type": "n8n-nodes-base.postgres",
      "position": [
        750,
        650
      ],
      "parameters": {
        "table": "product",
        "columns": "name,ean"
      },
      "credentials": {
        "postgres": "<your credential>"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Read Binary File": {
      "main": [
        [
          {
            "node": "Spreadsheet File1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Spreadsheet File1": {
      "main": [
        [
          {
            "node": "Insert Rows1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Excel To Postgres. Uses readBinaryFile, spreadsheetFile, postgres. Manual trigger; 3 nodes.

Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →

More Data & Sheets workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Data & Sheets

Creepy Crawler. Uses readBinaryFile, spreadsheetFile, postgres. Manual trigger; 3 nodes.

Read Binary File, Spreadsheet File, Postgres
Data & Sheets

How to automatically import CSV files into postgres. Uses manualTrigger, readBinaryFile, spreadsheetFile, postgres. Event-driven trigger; 4 nodes.

Read Binary File, Spreadsheet File, Postgres
Data & Sheets

-- Disclaimer: This template is mainly made for self-hosted users who can reach CSV files in their file system. For Cloud users, just replace the first few nodes with your file system of choice, like

Read Binary File, Spreadsheet File, Postgres
Data & Sheets

Transfer Data From Postgres To Excel. Uses postgres, spreadsheetFile, writeBinaryFile. Manual trigger; 3 nodes.

Postgres, Spreadsheet File, Write Binary File
Data & Sheets

Convert Postgresql Table To Csv. Uses manualTrigger, spreadsheetFile, postgres. Event-driven trigger; 4 nodes.

Spreadsheet File, Postgres