> For the complete documentation index, see [llms.txt](https://documents.cxgenie.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documents.cxgenie.ai/bots/workflow/workflow-components-1/condition.md).

# Condition

* Clicking the "Condition" button <img src="/files/rWcpsqcTS8isoH0v1vVh" alt="" data-size="line"> on the WorkFlow tool will immediately add one block to your whiteboard.

<figure><img src="/files/QP07uWYBica3shziWv0v" alt=""><figcaption><p>Block of Condition.</p></figcaption></figure>

* This component will have 2 options for you to choose:&#x20;
  * Input condition: create everything in the true-false structure, you can also use some dynamic variables to make your condition more specialized. There are 5 variables available:  {{customer.name}}, {{customer.access\_token}} {{customer.email}} {{customer.phone\_number}} {{message.content}}.
  * Select condition: based on the request of the user, we will continue to update the template of condition for you easy to use. Available in condition: At least one human agent is online. Please see how to use it [here](/getting-started/knowledge-base/escalate-to-a-human-agent.md).
* Click "Save changes" button to save your Workflow, and "Publish" if you want to activate this component for the chatbot using.
