PostgreSQL

The World's Most Advanced Open Source Relational Database

Go to site
Explore
/
Apps
/
PostgreSQL

PostgreSQL API Integrations

Build and run workflows using the PostgreSQL API. Use 1000s of source-available triggers and actions across 1400+ apps. Or write custom code to integrate any app or API in seconds.

Overview

Assuming you want a few paragraphs on what you can do with the PostgreSQL API:

The following examples demonstrate some of the things that can be done with the PostgreSQL API:

  • Developing a custom storage engine for PostgreSQL
  • Adding a new data type to PostgreSQL
  • Creating a new function for PostgreSQL
  • Building a graphical user interface for PostgreSQL
  • And much more!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = defineComponent({
  props: {
    postgresql: {
      type: "app",
      app: "postgresql",
    }
  },
  async run({steps, $}) {
    const { Client } = require('pg')
    
    const { host, user, password, port, database } = this.postgresql.$auth
    
    const client = new Client({
      host,
      database,
      user,
      password,
      port,
    })
    
    await client.connect()
    this.results = (await client.query("SELECT NOW()")).rows
    await client.end()
  },
})

Choose an API to Connect with PostgreSQL API

1
-
12
of
1400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Delete Row(s) with PostgreSQL API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + PostgreSQL
 
Try it
Send Message (Advanced) with Discord Webhook API on New Column from PostgreSQL API
PostgreSQL + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New Column from PostgreSQL API
PostgreSQL + Google Sheets
 
Try it
Delete Row(s) with PostgreSQL API on New Item in Feed from RSS API
RSS + PostgreSQL
 
Try it
Delete Row(s) with PostgreSQL API on New Message from Discord API
Discord + PostgreSQL
 
Try it
New Column from the PostgreSQL API

Emit new event when a new column is added to a table. See Docs

 
Try it
New or Updated Row from the PostgreSQL API

Emit new event when a row is added or modified. See Docs

 
Try it
New Row from the PostgreSQL API

Emit new event when a new row is added to a table. See Docs

 
Try it
New Row Custom Query from the PostgreSQL API

Emit new event when new rows are returned from a custom query that you provide. See Docs

 
Try it
New Table from the PostgreSQL API

Emit new event when a new table is added to the database. See Docs

 
Try it
Delete Row(s) with the PostgreSQL API

Deletes a row or rows from a table. See Docs

 
Try it
Execute Custom Query with the PostgreSQL API

Executes a custom query you provide. See Docs

 
Try it
Find Row with the PostgreSQL API

Finds a row in a table via a lookup column. See Docs

 
Try it
Find Row With Custom Query with the PostgreSQL API

Finds a row in a table via a custom query. See Docs

 
Try it
Insert Row with the PostgreSQL API

Adds a new row. See Docs

 
Try it

Authentication

PostgreSQL uses API keys for authentication. When you connect your PostgreSQL account, Pipedream securely stores the keys so you can easily authenticate to PostgreSQL APIs in both code and no-code steps.

Before you connect to your PostgreSQL database from Pipedream, please make sure your database is either:

  1. Accessible from the public internet (You may need to add a firewall rule on 0.0.0.0/0 on port 5432), or

  2. Accessible from an SSH server that you route PostgreSQL requests through

After that, enter the following values:

  • host: The hostname or IP address of your PostgreSQL server
  • port: 5432, unless you run PostgreSQL on a different port
  • username: The account username to log in
  • password: The account password to log in
  • database: The name of the PostgreSQL database to run queries against