PostgreSQL relational database — query, insert, update, and delete data.
| Property |
Value |
| Type |
database |
| Authentication |
basic |
| Category |
Generic |
| Field |
Type |
Required |
Description |
host |
string |
Yes |
Database server hostname |
port |
number |
No |
Port (default: 5432) |
database |
string |
Yes |
Database name |
username |
string |
Yes |
Username |
password |
string |
Yes |
Password |
ssl |
boolean |
No |
Enable SSL |
connection_string |
string |
No |
Full connection string (overrides individual fields) |
Execute a SELECT query with optional WHERE filters.
|
|
| Endpoint |
GET {table} |
| Method |
GET |
Insert a new row into a table.
|
|
| Endpoint |
POST {table} |
| Method |
POST |
Update rows matching WHERE conditions.
|
|
| Endpoint |
PUT {table} |
| Method |
PUT |
Delete rows matching WHERE conditions.
|
|
| Endpoint |
DELETE {table} |
| Method |
DELETE |
Execute a parameterized SQL query directly.
|
|
| Endpoint |
POST raw |
| Method |
POST |
flow: webhook-to-postgresql-status-update
description: Receive a webhook, query PostgreSQL for matching records, and update status
connector: generic-webhook
event: shipment.delivered
tracking_number: source.tracking_id
when: matched_orders | length > 0
carrier_status: source.carrier_status
when: matched_orders | length > 0
to: matched_orders[0].customer_email
subject: "Your order has been delivered"
template_id: tmpl_delivery_confirmation
order_number: matched_orders[0].order_number
delivered_at: "" | now | date("MMM D, YYYY")
retry: 3x exponential(30s)