PostgreSQL
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
New Row
Script postgresql
Delete Row(s)
Script postgresql
Update Row
Script postgresql
Find Row
Script postgresql
Execute Query and return results
Script postgresql Verified
Postgres with TLS / SSL
Script postgresql Verified
Execute arbitrary Query in Bun
Script postgresql Verified
Execute arbitrary Query
Script postgresql Verified
python- connect to a database and query for data
Script postgresql
Backup postgres database and send to S3 with rotation
Script postgresql
Flows
Multi-step workflows that already wire PostgreSQL to something else.
+1
Upon new user signup, check for existence in postgres, hash password, add record to postgres and airtable, send an email to new user.
Flow postgresql airtable +1 Verified
See account data over the last 3 days as a pie chart
Flow showcase slack +1 Verified
+1
Ban a user, notify them by email, and us by Slack
Flow postgresql slack +1 Verified
Resource type
postgresql — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| accept_invalid_certs | boolean | No | Accept any certificate presented by the server, which disables TLS certificate verification and is not recommended. Only applies to verify-ca/verify-full. |
| dbname | string | Yes | The database name |
| host | string | No | The instance host |
| password | string | Yes | The postgres users password |
| port | integer | No | The instance port |
| region | string | No | AWS region for IAM auth (e.g. us-east-1). Falls back to AWS_REGION env var if not set. |
| root_certificate_pem | string | No | The root certificate in pe format |
| sslmode | string | No | Most cloud databases (Heroku, AWS, Supabase, etc.) require SSL. Self-hosted databases typically don't. |
| use_iam_auth | boolean | No | Use IAM authentication (AWS RDS/Aurora). When enabled, the password field is ignored and a short-lived IAM token is generated instead. |
| user | string | Yes | The postgres username |