Flow Functions
While your configurable rules are undoubtedly the most valuable pieces Flows expose, we offer several built-in functions to help your team collect data from external sources and run logic conditionally.
We call these "flow functions"– special operations you can use in your flows to perform various actions beyond rule execution. Below are all the available flow function node types– but do try our application or reach out to get information on our latest capabilities.
Continue If

Proceed based on one of four selectable conditions:
- If a specific property is "truthy" (not empty, non-zero, non-null)
- If a specific property is exactly
true - If a specific property is exactly
false - If a specific property is "falsy" (empty list, zero, null, or false)
If the condition is met, the flow continues along the exiting edges. Use two "Continue If" nodes to model if/else logic.
All data you want to proceed with after a Continue If node must be wired in as inputs.
Result Object

The final output of your flow. It collects results from all preceding nodes and returns them as the flow's response.
- You can use multiple Result Object nodes with unique keys
- Required: Every flow must end with at least one Result Object node
Lookup Table

Look up a value in a table and return a corresponding value if an exact match is found. Works well with Continue If nodes by returning true/false based on lookup results.
Run Code

Run custom JavaScript code using data from your flow. Useful for:
- Making calls to external services
- Performing complex calculations
- Custom string formatting or data transformation
Available libraries: fetch, moment, lodash, and more.
Access connected values via the inputs dictionary and return values via the outputs dictionary.
// Example: Calculate discount
const total = inputs.subtotal
const discount = total > 100 ? total * 0.1 : 0
outputs['discount'] = discount
outputs['final_total'] = total - discountSOAP Request
Connect to SOAP/XML web services to integrate with legacy enterprise systems. Upload a WSDL file to auto-discover available operations.
Features:
- WSDL-based service discovery
- Support for complex XML request/response structures
- Built-in authentication options
Database Query

Query a PostgreSQL, MSSQL, or MySQL database, and return results. Variables from your flow can be used in the query.
Features:
- Use
rowswith a For Each node or send directly to Result Object - Built-in 1-minute caching for performance
API Request

Make HTTP requests to external APIs. Variables from your flow can be used in the URL, headers, and body.
Features:
- GET, POST, PUT, DELETE methods
- Custom headers and authentication
- Built-in 1-minute caching, customizable cache key
For Each

Iterate over a list of items and apply a rule to each one. Perfect for:
- Transforming collections of objects
- Processing lists of orders, users, or products
- Batch operations
For Each nodes must culminate in a Result Object node. Values inside the loop cannot connect to parts of the flow outside that loop (indicated by different edge colors).
AI Inference

Extract structured data from text using OpenAI. Useful for:
- Parsing emails and reports
- Extracting specific information from documents
- NLP preprocessing before rule execution
To use:
- Connect a text input
- Define target labels to extract
- Click "Run Inference"
Vault

Securely retrieve sensitive information from cloud secrets managers (AWS, GCP, Azure).
Security features:
- Secrets never appear in clear text in the flow
- Cannot be logged or returned in output
- Only accessible within Run Code nodes
Context Operation
Interact with Rulebricks Contexts directly from your flow. Perfect for:
- Reading entity data to use in rule evaluation
- Updating context properties based on flow outcomes
- Deleting or archiving context records
Context Operations require a configured Context in your workspace. See the Contexts documentation for setup instructions.
Send Notification
Trigger notifications to your team or external systems based on flow outcomes. Supports multiple channels:
- Email: Send templated emails with flow data
- Slack: Post messages to channels or DMs
- Discord: Send webhook messages to Discord servers
- PagerDuty: Create incidents for on-call alerting
Configure notification channels in your workspace settings before using this node.