WorkflowChatGPTOpen

Chat with Postgresql Database

Triggered manually or by an app event. Connects Postgres Tool, Stop And Error. πŸ‘¨β€πŸŽ€ Setup 1. Add your postgresql and OpenAI credentials. 2. Click Chat button and start asking questions to your database. 3. Activate the workflow and you can make the chat publicly available. πŸ› οΈ Tools Used: 1. Execute SQL Query: Used to execute any query generated by the agent. 2. Get DB Schema and Tables List: It ret

Front matter
name: Chat with Postgresql Database
description: Triggered manually or by an app event. Connects Postgres Tool, Stop And Error. ### πŸ‘¨β€πŸŽ€ Setup 1. Add your **postgresql** and **OpenAI** credentials. 2. Click **Chat** button and start asking questions to your database. 3. Activate the workflow and you can make the chat publicly available. πŸ› οΈ Tools Used: 1. Execute SQL Query: Used to execute any query generated by the agent. 2. Get DB Schema and Tables List: It returns the list of all the tables with its schema name. 3. Get Table Definition: It returns table details like column names, foreign keys and more of a particular ta
category: Automation
kind: Workflow
software: Postgres Tool|Stop And Error

Chat with Postgresql Database

Triggered manually or by an app event. Connects Postgres Tool, Stop And Error. ### πŸ‘¨β€πŸŽ€ Setup

  1. Add your postgresql and OpenAI credentials.
  2. Click Chat button and start asking questions to your database.
  3. Activate the workflow and you can make the chat publicly available. πŸ› οΈ Tools Used:
  4. Execute SQL Query: Used to execute any query generated by the agent.
  5. Get DB Schema and Tables List: It returns the list of all the tables with its schema name.
  6. Get Table Definition: It returns table details like column names, foreign keys and more of a particular ta

Steps

  • Manual Trigger (manualTrigger)
  • When chat message received (noOp)
  • AI Agent (noOp)
  • OpenAI Chat Model (noOp)
  • Get Table Definition (postgresTool)
  • Sticky Note (stickyNote)
  • Chat History (noOp)
  • Sticky Note3 (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Execute SQL Query (postgresTool)
  • Get DB Schema and Tables List (postgresTool)
  • Error Handler (stopAndError)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Postgrestool/1377_Postgrestool_Stickynote_Automation_Triggered.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.