> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Describes how to use Router nodes with Forms.

# Routers

With Router nodes, you can add rules to Forms to create conditional logic jumps that redirect users between nodes. For example, a rule condition can be defined for a specific user\_metadata attribute to route  a user to a specific step node or flow node.

* The router node automatically adds a Default case rule. If no rule conditions are met, the journey continues to the linked node.
* Rules are evaluated in the order placed in the router. When a rule condition is met, the journey continues to the linked node, and no other rule conditions are evaluated.
* You can add up to 10 rule conditions to the router node.

<Frame>
  <img src="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=5e3098554b61c374e0b10c78cd55c49b" alt="Dashboard > Forms > Routers " data-og-width="899" width="899" data-og-height="470" height="470" data-path="docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=280&fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=d51bdbb61568ac732ddaeb4fc2f79956 280w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=560&fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=e693214e86be026d97d0e86dd2cb9e44 560w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=840&fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=8ce0ff91d676eef722f879802a748d15 840w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=1100&fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=946684e15106e0e74a4cc027c53e50ef 1100w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=1650&fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=ff06f0dc68003a2673500c75c699195e 1650w, https://mintcdn.com/docs-dev-docs-event-stream-action-templates/B7hSimOXFe7dopGk/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=2500&fit=max&auto=format&n=B7hSimOXFe7dopGk&q=85&s=1a89bb3433c4bb691da2112e2185634b 2500w" />
</Frame>

## Add a router rule

To add a rule condition, follow these steps:

1. From the Form editor, select a Router node to open its settings.
2. Select **+ New Rule**.
3. Expand the newly created rule.
4. To label the rule, add an **Alias**.
5. Add a variable using the **+** icon.
6. Select the rule operator for the variable.
7. Add the value or variable the rule must meet.
8. Link the new rule to the corresponding step or flow node.
9. Select **Publish** to save.

<Callout icon="file-lines" color="#0EA5E9" iconType="regular">
  * We recommend you define a rule alias to easily identify each rule in the router node.
  * You can select from a number of rule operators to evaluate operands. For example, you can set first\_name `is equal to` Jane.
  * Operands can be static values or variables.
  * A rule can have `AND` and `OR` operators for further conditional logic evaluation.
  * After adding  a rule, make sure you link it to its desired node.
</Callout>

## Available rule operators

The rule operators are:

* `is greater than`
* `is greater or equal than`
* `is less than`
* `is less than or equal`
* `is equal to`
* `is different to`
* `includes`
* `does not include`
* `starts with`
* `ends with`
* `exists`
* `does not exist`
* `is null`
* `is not null`
* `has not value`
* `is true`
* `is false`
