PostgreSQL

The World's Most Advanced Open Source Relational Database

Integrate the PostgreSQL API with the HTTP / Webhook API

Setup the PostgreSQL API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate PostgreSQL and HTTP / Webhook remarkably fast. Free for developers.

Delete Row(s) with PostgreSQL API on New Requests from HTTP / Webhook API
HTTP / Webhook + PostgreSQL
 
Try it
Execute Custom Query with PostgreSQL API on New Requests from HTTP / Webhook API
HTTP / Webhook + PostgreSQL
 
Try it
Find Row With Custom Query with PostgreSQL API on New Requests from HTTP / Webhook API
HTTP / Webhook + PostgreSQL
 
Try it
Find Row with PostgreSQL API on New Requests from HTTP / Webhook API
HTTP / Webhook + PostgreSQL
 
Try it
Insert Row with PostgreSQL API on New Requests from HTTP / Webhook API
HTTP / Webhook + PostgreSQL
 
Try it
New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

 
Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

 
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 event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

 
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
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

 
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

Overview of PostgreSQL

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!

Connect PostgreSQL

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()
  },
})

Connect HTTP / Webhook

1
2
3
4
5
6
7
8
9
10
11
12
13
// To use any npm package on Pipedream, just import it
import axios from "axios"

export default defineComponent({
  async run({ steps, $ }) {
    const { data } = await axios({
      method: "GET",
      url: "https://pokeapi.co/api/v2/pokemon/charizard",
    })
    return data.species
  },
})

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this now!