# Branch

1. Select an intent to modify from the **intents page.**&#x20;
2. Select **Add bot action**
3. Select **Branch**

### Configuration

{% hint style="info" %}
Only **Python** code syntax is supported for **ranch action.**
{% endhint %}

<figure><img src="https://849782063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXEtIIGTPyKf3CFAsNTzZ%2Fuploads%2FzK9d0MIxx4L7NLVtAbtv%2FScreenshot%202025-01-13%20at%205.17.19%E2%80%AFPM.png?alt=media&#x26;token=7dae8b29-96a7-4acb-b06f-385792c77fe0" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
There is a maximum of 10 conditions  the  statement.
{% endhint %}

### Using variables

It is possible to use [Chat variables](https://documentation.proto.cx/docs/developer-documentation/chat-variables) in the branch condition without the curly bracket delimiter.

If you use a variable from a Survey block please use:

* **variable.text** - to represent the string value
* **variable.norm.value** - to represent an integer or float value (only if the Type is set as Number)

If you use a variable from a Modify Variable bot action, just directly define the variable in the condition field.

<br>
