AutomationFlowsData & Sheets › Tool: Get Postgres Tables

Tool: Get Postgres Tables

Tool: Get Postgres Tables. Uses postgres. Webhook trigger; 4 nodes.

Webhook trigger★★☆☆☆ complexity4 nodesPostgres
Data & Sheets Trigger: Webhook Nodes: 4 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
{
  "createdAt": "2025-03-04T05:07:50.684Z",
  "updatedAt": "2025-03-04T21:03:32.039Z",
  "id": "t15NIcuhUMXOE8DM",
  "name": "Tool: Get Postgres Tables",
  "active": false,
  "nodes": [
    {
      "parameters": {
        "options": {}
      },
      "id": "74a8e48c-c13f-450c-835e-1702d87f894c",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [
        880,
        60
      ]
    },
    {
      "parameters": {
        "operation": "executeQuery",
        "query": "SELECT table_name \nFROM information_schema.tables\nWHERE table_schema = 'public'\n    AND table_type = 'BASE TABLE'\nORDER BY table_name;",
        "options": {}
      },
      "id": "2cd15801-ea79-4a53-b1be-c0470429966a",
      "name": "Postgres",
      "type": "n8n-nodes-base.postgres",
      "typeVersion": 2.5,
      "position": [
        400,
        60
      ],
      "credentials": {
        "postgres": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "fieldsToSummarize": {
          "values": [
            {
              "aggregation": "concatenate",
              "field": "table_name"
            }
          ]
        },
        "options": {}
      },
      "id": "8b66e814-e553-451c-818a-fc93699b341c",
      "name": "Summarize",
      "type": "n8n-nodes-base.summarize",
      "typeVersion": 1,
      "position": [
        640,
        60
      ]
    },
    {
      "parameters": {
        "path": "d8db9fa3-04fe-43c8-9acf-e1912463477f",
        "authentication": "headerAuth",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "3eb54a82-034c-4f3f-aa99-3b6aeb744ce2",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        180,
        60
      ],
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Postgres": {
      "main": [
        [
          {
            "node": "Summarize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Postgres",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "versionId": "d37fe53f-399d-429b-8e50-6506a0102b9d",
  "triggerCount": 0,
  "tags": [
    {
      "createdAt": "2025-03-04T21:03:30.839Z",
      "updatedAt": "2025-03-04T21:03:30.839Z",
      "id": "axMWVfQXy5mbxCQA",
      "name": "tool"
    }
  ]
}

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

Tool: Get Postgres Tables. Uses postgres. Webhook trigger; 4 nodes.

Source: https://github.com/LLemonStack/llemonstack/blob/2f1cc4dcf8939a3fa79fccacf59addd5c0d563a3/examples/n8n/workflows/Tool_Postgres_t15NIcuhUMXOE8DM.json — 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

This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reservations, food orders, and restaurant information requests through natural langua

Postgres
Data & Sheets

Create - KB. Uses postgres, crypto. Webhook trigger; 10 nodes.

Postgres, Crypto
Data & Sheets

Acts as a virtual receptionist for the restaurant, handling incoming calls via VAPI without human intervention. It collects user details (name, booking time, number of people) for table bookings, chec

Postgres
Data & Sheets

Get - KB. Uses postgres. Webhook trigger; 9 nodes.

Postgres
Data & Sheets

Text-to-SQL: Check Status. Uses postgres. Webhook trigger; 5 nodes.

Postgres