How to automatically import CSV files into postgres

How to automatically import CSV files into postgres

Manual
Medium
4
Nodes
Manual
Trigger
Medium
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
4
Node Types
4

Node Types

manual Trigger
On clicking 'execute'
1 node
read Binary File
Read From File
1 node
spreadsheet File
Convert To Spreadsheet
1 node
postgres
Postgres
1 node

Workflow JSON

3.28 KB
{
  "id": "q8GNbRhjQDwDpXoo",
  "meta": {
    "instanceId": "0c2f219d911381bce56d337dbc86e66ee815b6ed822f8553d03a4cd4a8f25805",
    "templateCredsSetupCompleted": true
  },
  "name": "How to automatically import CSV files into postgres",
  "tags": [],
  "nodes": [
    {
      "id": "9ae270f2-6e32-4a14-8a03-634b9c66004d",
      "name": "On clicking 'execute'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -340,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "96de1409-9c48-4357-aaef-2202dec478a9",
      "name": "Read From File",
      "type": "n8n-nodes-base.readBinaryFile",
      "position": [
        -140,
        -80
      ],
      "parameters": {
        "filePath": "/tmp/t1.csv"
      },
      "typeVersion": 1
    },
    {
      "id": "22b002df-51fd-4074-8741-c9a754996170",
      "name": "Convert To Spreadsheet",
      "type": "n8n-nodes-base.spreadsheetFile",
      "position": [
        60,
        -80
      ...

Showing first 1000 characters. Click "Expand" to view the full JSON.