Find Records

Three database nodes let you query data:

Find One

Find One database node configuration
Find One: query a database table with a WHERE condition

Returns the first record matching a condition.

Type: DB_FIND_ONE / DB_FIND_ONE_V2

FieldRequiredDescription
ConnectionYesDatabase connection (MySQL or PostgreSQL)
TableYesTable to query
Where clauseYesSQL WHERE condition (FX formula)
Order byNoSort clause (e.g., created_at DESC)

Templates: Find by ID, Lookup by Email, Get Latest

Output: single record object; all columns available as variables.

Find All

Returns all records matching a condition.

Type: DB_FIND_ALL / DB_FIND_ALL_V2

FieldRequiredDescription
ConnectionYesDatabase connection
TableYesTable to query
Where clauseNoSQL WHERE condition (empty = return all)
Order byNoSort clause
LimitNoMax records to return

Output: array of records; use with For Each to process each row.

Execute Query

Run any SQL query directly.

Type: Execute Query / EXECUTE_QUERY_V2

FieldRequiredDescription
ConnectionYesDatabase connection
SQL queryYesRaw SQL (supports parameterized queries)
ParametersNoQuery parameters (FX formula)

Templates: Custom SELECT, Aggregate Query (COUNT/SUM/AVG), Join Tables

Output: array of result rows (for SELECT) or affected row count (for INSERT/UPDATE/DELETE).

Warning

Execute Query runs raw SQL. Be careful with DELETE and UPDATE statements. Always test with a SELECT first.

Tip

Use Find One for lookups (get customer by email). Use Find All for batch operations (get all orders from today). Use Execute Query for complex JOINs and aggregations.