---
title: Condition
icon: code-branch
---

The Condition block allows you to split your flow in two based on a condition.

<Frame caption='This can be translated to: "If Score is greater than 20 then go to this path. Otherwise, go to the other path."'>
  <img src="/images/blocks/logic/condition.png" alt="Condition" />
</Frame>

A condition can contain different comparisons that are evaluated in order and linked with a logical operator: 'AND' or 'OR'.

<div className="relative" style={{ paddingBottom: '64.5933014354067%' }}>
  <iframe
    src="https://www.youtube.com/embed/47KyLHzdpnY"
    allowFullScreen
    className="absolute top-0 left-0 w-full h-full"
  />
</div>
