> ## Documentation Index
> Fetch the complete documentation index at: https://docs-staging-react-sdk-reference.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Learn how to configure router rules to create conditional logic jumps redirecting users between Form nodes.

# 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-staging-react-sdk-reference/mtmpmRgg8CFqUkGT/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?fit=max&auto=format&n=mtmpmRgg8CFqUkGT&q=85&s=8ad6c5d85a60fb22e5c640c8fec5b9a8" 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-staging-react-sdk-reference/mtmpmRgg8CFqUkGT/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=280&fit=max&auto=format&n=mtmpmRgg8CFqUkGT&q=85&s=8a356448ef61beceed9b7aa00d3f440a 280w, https://mintcdn.com/docs-staging-react-sdk-reference/mtmpmRgg8CFqUkGT/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=560&fit=max&auto=format&n=mtmpmRgg8CFqUkGT&q=85&s=306cdcc2a7b3f8a4da73ad2668b21739 560w, https://mintcdn.com/docs-staging-react-sdk-reference/mtmpmRgg8CFqUkGT/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=840&fit=max&auto=format&n=mtmpmRgg8CFqUkGT&q=85&s=99d1c877fa84072600e401644dd8757f 840w, https://mintcdn.com/docs-staging-react-sdk-reference/mtmpmRgg8CFqUkGT/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=1100&fit=max&auto=format&n=mtmpmRgg8CFqUkGT&q=85&s=df409538c000ce53656f79e58ac430af 1100w, https://mintcdn.com/docs-staging-react-sdk-reference/mtmpmRgg8CFqUkGT/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=1650&fit=max&auto=format&n=mtmpmRgg8CFqUkGT&q=85&s=748d68229d1e2c3f2df334a48482cb61 1650w, https://mintcdn.com/docs-staging-react-sdk-reference/mtmpmRgg8CFqUkGT/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=2500&fit=max&auto=format&n=mtmpmRgg8CFqUkGT&q=85&s=47c503e3bd27acc74d305ae8683913db 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`
