Router
Category: Control
Route data to different outputs based on conditions
What this node does
- Conditional routing
- Multiple routes
- Default handling
- Priority rules
How to use
- In the Hydra Builder, open or create a workflow
- In the node palette on the left, find Router under the Control category (or use the search bar)
- Drag the node onto the canvas
- Double-click the node to open its configuration dialog
- Fill in the required parameters (see Configuration below)
- Connect the Input Data input port from an upstream node
- Connect the Route 1 and Route 2 and Default Route output to the next node downstream
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Input Data | any | ✓ | any data |
Outputs
| Port | Type | Description |
|---|---|---|
| Route 1 | any | any data |
| Route 2 | any | any data |
| Default Route | any | any data |
Configuration
Open the configuration dialog by double-clicking the Router node on the canvas.
| Parameter | What to enter |
|---|---|
routes | Configure routes in the node settings |
defaultRoute | Configure defaultRoute in the node settings |
evaluationOrder | Configure evaluationOrder in the node settings |
When to use this node
- Message type routing
- Department routing
- Priority handling
Need help configuring this node?
Go to Settings → Connectors to set up the connection this node depends on, then reference the connector ID in the node configuration dialog.