> For the complete documentation index, see [llms.txt](https://help.quickappflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.quickappflow.com/workflow/ai-stages/decision-yes-no.md).

# Decision-Yes/No

Select the stage by clicking on the radio button next to it.

Click OK to confirm your selection.

![](/files/EtqedSbfuKi2Zz0fozBm)

Once you have selected Decision-Yes/No, you will be prompted to set up the AI decision. Enter your prompt in the Ask AI text box.

Click on Use Prompt.

![](/files/ABuD2tfIORQ1FdukcSFm)

Create a Prompt

In the prompt creation screen, you will need to define the AI prompt and expected answers.

Write your prompt in the Create a prompt text box and Save the Prompt

![](/files/8erF6GlUgdapCgKuIbpq)

Add Stages for Decision Outcomes

You will see two branches for Yes and No outcomes.

![](/files/YuYUU9YUYM4OKQMH1rd2)

Click on + Stage under each branch to add subsequent stages based on the AI decision.

Under Expected Answer, enter the possible options for the AI decision. For a Yes/No decision, fill in:

Option-1: Yes

Option-2: No

![](/files/qqjNCliFmMvaXBE592n3)
