Files
bot/apps/docs/docs/editor/blocks/logic/condition.mdx
Baptiste Arnaud c879c6f83a 📝 Remove advanced section in Condition docs
Not relevant anymore.
2023-02-09 08:39:20 +01:00

20 lines
585 B
Plaintext

---
sidebar_position: 2
---
import { YoutubeEmbed } from '../../../../src/js/YoutubeEmbed.jsx'
# Condition
The Condition block allows you to split your flow in two based on a condition.
<img src="/img/blocks/logic/condition.png" width="500" alt="Set variable" />
☝️ This can be translated to: "If 'Score' is greater than 20 then go to this path. Otherwise, go to the other path.".
A condition can contain different comparisons that are evaluated in order and linked with a logical operator: 'AND' or 'OR'.
## 3 minutes video overview
<YoutubeEmbed videoId="47KyLHzdpnY" />