Database
What this category is for
Use these nodes to read/write external data stores through managed credentials. They are workflow-level integrations and are separate from internal gateway storage.
Node list table
| Node type | Purpose | Key inputs | Branch outputs |
|---|---|---|---|
mongodb_node | Run MongoDB operations (find, findOne, insert*, update*, delete*, aggregate). | Config credentials_id, operation, collection, optional database, timeout_ms; operation-specific input fields (filter, document, pipeline, etc.) | success, error |
postgres_node | Run PostgreSQL query or execute. | Config credentials_id, operation, optional database, timeout_ms; input query, optional params | success, error |
sqlserver_node | Run SQL Server query or execute. | Config credentials_id, operation, optional database, timeout_ms; input query, optional params | success, error |
oracle_node | Run Oracle query or execute. | Config credentials_id, operation, optional database, timeout_ms; input query, optional params | success, error |
redis_node | Execute Redis get, set, or del. | Config credentials_id, operation, optional timeout_ms; input key, plus value/ttl_seconds/keys by operation | success, error |
Common patterns
1) Request lookup then proxy
http_trigger->postgres_node(fetch tenant config)success->set_node(build downstream headers) ->proxy_nodeerror->response_nodewith service-unavailable contract
2) Idempotent write with Redis guard
redis_node(get) to check dedupe key- If missing, proceed to DB write and
redis_node(setwith TTL) - If present, short-circuit with cached/duplicate response
3) Document enrichment in MongoDB
http_trigger->mongodb_node(findOneby key)- Merge input body with db document using
set_node - Continue to downstream service call
4) Branch by DB outcome
- Route each db node
erroroutput to explicit failure handling - Route
successto business logic, never assume implicit success
Common mistakes and how to debug
- Wrong credential type: each node validates credential type strictly and returns
errorbranch (for example postgres node with non-postgres credential). - Missing required config: common misses are
credentials_id,operation, and collection/query fields. Validate node config first. - Database not resolved: some nodes allow empty database only if credential has default database configured.
- Parameter placeholder mismatch: PostgreSQL uses
$1, SQL Server uses@p1, Oracle uses:1. Keep query syntax aligned with engine docs. - Timeouts too aggressive: nodes enforce minimum timeout floors; if operations still fail, inspect returned
errorand tunetimeout_ms.