# Ask Question - how to make different things happen depending on the answer?

**URL:** <https://forum.sambapos.com/t/ask-question-how-to-make-different-things-happen-depending-on-the-answer/2179>\
**Category:** V4 Question\
**Created:** [August 18, 2014, 12:31am UTC](https://forum.sambapos.com/t/ask-question-how-to-make-different-things-happen-depending-on-the-answer/2179 "2014-08-18T00:31:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jesse](https://forum.sambapos.com/user_avatar/forum.sambapos.com/jesse/32/61493_2.png) [@Jesse](https://forum.sambapos.com/u/Jesse)\
**Post date:** [August 18, 2014, 12:33am UTC](https://forum.sambapos.com/t/ask-question-how-to-make-different-things-happen-depending-on-the-answer/2179/2 "2014-08-18T00:33:22Z")

</div>

There are already guides out there. Here is a start. You need to use command values. Buttons in the action would look something like Yes=Y,No=N Y and N being the command value. Then your automation command should have Y and N under Values: Finally in your rule that fires the command put command Value equals Y and add the desired action if Y is pressed. Make another automation executed rule and put N for command value and action to fire if its N.

> [@\[New 4.1.37\] Ask Question Action](https://forum.sambapos.com/t/new-4-1-37-ask-question-action/1414/1):
>
> This feature was a missing piece in our automation system. Now you can ask questions to user and execute a command with selected command parameter. I’ll add more tutorials but I’ll show some brief examples.
> 
> For example you can ask if he wants to print a bill.

---

_[View the full topic](https://forum.sambapos.com/t/ask-question-how-to-make-different-things-happen-depending-on-the-answer/2179)._
