> ## Documentation Index
> Fetch the complete documentation index at: https://docs-dev-fix-docs-5528-php-updates.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-fix-docs-5528-php-updates/vw0h4BWfRvH7r7TX/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?fit=max&auto=format&n=vw0h4BWfRvH7r7TX&q=85&s=d565e676999568ccd8bc6d6dc3497d87" 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-fix-docs-5528-php-updates/vw0h4BWfRvH7r7TX/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=280&fit=max&auto=format&n=vw0h4BWfRvH7r7TX&q=85&s=1daca1281f5a7c7c3a6892e4e15d115e 280w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/vw0h4BWfRvH7r7TX/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=560&fit=max&auto=format&n=vw0h4BWfRvH7r7TX&q=85&s=60719e6e2fc42790734f2f7e56599706 560w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/vw0h4BWfRvH7r7TX/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=840&fit=max&auto=format&n=vw0h4BWfRvH7r7TX&q=85&s=c36b5dd2b088aba5316673a6bbb497d9 840w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/vw0h4BWfRvH7r7TX/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=1100&fit=max&auto=format&n=vw0h4BWfRvH7r7TX&q=85&s=c9bb222f8f45411bb716bbdbebf98e24 1100w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/vw0h4BWfRvH7r7TX/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=1650&fit=max&auto=format&n=vw0h4BWfRvH7r7TX&q=85&s=d3d9fc93faa2e3e82d354871524511b3 1650w, https://mintcdn.com/docs-dev-fix-docs-5528-php-updates/vw0h4BWfRvH7r7TX/docs/images/cdy7uua7fh8z/2IKI9sU9UPCVkMkHQ3G8lX/07df765647a69a4cf1ab8c5c7aae3c22/2025-07-15_10-31-08.png?w=2500&fit=max&auto=format&n=vw0h4BWfRvH7r7TX&q=85&s=e776e87bc565351876324f40f9f54108 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`
