Data Query
Node Card
Category: Logic & Flow Nodes
Type:
data-queryTypical position: After identity resolution, to branch the flow based on profile attributes such as email domain, custom fields, or registration source.
Properties
Outputs & Errors
| Property | Type | Required | Description |
|---|---|---|---|
| Data Query | query builder | Yes | Visual AND/OR rule builder. Compose conditions using identity profile field comparisons. Groups can be nested and combined with AND or OR operators. |
| Error Handling | custommultiselect | No | Override default messages for specific error codes. Each selected error code becomes a named output edge on the canvas. |
| Output / Code | Condition | Default message |
|---|---|---|
true | All configured query conditions are met | NA |
false | Query conditions are not met (catch-all for unhandled errors) | NA |
4104 | Query execution failed at runtime | Failed to execute data query |
4105 | User profile payload could not be decoded | Failed to decode profile payload |
tip
Error edges only appear on the canvas when you explicitly select them in the Error Handling property. Unselected error codes fall through to the false output.
Common Next Nodes
Data Query (true)→Success Finalconditions met: proceed or grant access
Data Query (false)→Failure Finalconditions not met: deny or redirect
Usage Notes
Use Data Query to implement attribute-based routing: for example, routing enterprise users (matching email domain) to SSO, or checking whether a custom field is populated before proceeding. Combine multiple AND/OR rule groups to express complex conditions without writing code.