As we plot the workflow on the canvas, there are times when we need the robot to make a decision. Within the decision, there is always a question. Unlike the open-ended questions that confound philosophers, the kind of questions that our robots deal with always result in a Yes or No answer.
For example, is the weather hot? If yes, eat some ice-cream. Otherwise (no, it's cold), drink hot chocolate. In the world of programming, a decision stage models an if-else statement.
In a typical workflow diagram, we draw this out using a decision diamond as shown here: