decision control
Integrate

Connections

Postgres, Redis, Kafka and SQS — what the Query and publishEvent nodes can do.

A project can hold connections (Settings → Integrations, admins only), encrypted at rest like credentials and rotated with the same key; only a summary (host, region) is ever shown.

Postgres and Redis — the Query node

The Query node reads from a connection:

  • Postgres — SQL is a single SELECT (or WITH … SELECT) with $1… parameters, checked at publish and run inside a READ ONLY transaction with a statement timeout and a row cap. A data-modifying CTE is refused by the database itself; use a read-only database user as well.
  • Redis — read commands only (GET, HGETALL, SISMEMBER, …).

Failures follow the API-call rules: fail (refuse the run), or continue with a fallback down the Error branch.

Kafka and SQS — publishEvent

publishEvent actions name a connection: the event is written to the outbox with the execution and delivered by the worker with its retries, to the topic or queue URL in the action's target.

  • SQS is called over its JSON API with AWS Signature V4 (checked against botocore's signature in a test).
  • Kafka uses kafkajs.

Outbound safety (SSRF)

Hosts are screened like any outbound call. A private address is refused unless listed in OUTBOUND_ALLOWED_HOSTS — where an operator opts in to an internal database.

The name is resolved once, every address is checked, and the connection goes to the checked address, so a hostile name server cannot answer differently the second time (DNS rebinding). The embedded runtime runs Query nodes through a connectors handler you pass it.

On this page