> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatzy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Conditions

The **Condition** action allows you to create a logical branch in your journey. This is the "if/else" of your conversational flow, enabling you to send a user down a specific path based on whether a certain condition is met.

<Frame>
  <img src="https://mintcdn.com/chatzyai/eDIoSFrCzTC9hrv8/journey/studio/actions/conditions.png?fit=max&auto=format&n=eDIoSFrCzTC9hrv8&q=85&s=880ce41b55caaf2f01165fa7dd3cbac2" alt="wa1" className="rounded-lg" width="466" height="520" data-path="journey/studio/actions/conditions.png" />
</Frame>

#### Configuration Fields

* **Condition**: This is where you write the rule that the chatbot will evaluate. You can use this field to check a user's input, the value of a variable, or the presence of a tag.
* **Add Condition**: This button lets you add more conditions to create more complex branching logic. The chatbot will check each condition in order, from top to bottom.

<Frame>
  <img src="https://mintcdn.com/chatzyai/eDIoSFrCzTC9hrv8/journey/studio/actions/conditions2.png?fit=max&auto=format&n=eDIoSFrCzTC9hrv8&q=85&s=a1a56b9e72a54fb0f132290b2acec9eb" alt="wa1" className="rounded-lg" width="792" height="279" data-path="journey/studio/actions/conditions2.png" />
</Frame>

You can use these branches to create custom flows.
