Question action

Image of an author
Sylwia Kocur
3 min read
updated: Oct 23, 2024

The Question action is helpful when you need specific information from your customer to proceed with their request. It can help you verify a username before completing the order, validate the email address provided by the user on chat, and much more.

This action asks for information and saves it in a single step. You can ask for multiple details in a single action. You can see this information later in the User section, send it to an external system, or see it in the Archives. You can use it later in the bot, user’s responses summary, or Filters.
This action asks for information and saves it in a single step. You can ask for multiple details in a single action. You can see this information later in the User section, send it to an external system, or see it in the Archives. You can use it later in the bot, user’s responses summary, or Filters.

To make it work, you need to set up an attribute. You can use one of our default attributes or create your own attribute. It all depends on what you need.

To save an attribute, you need validation to check that the provided information is correct. You can use our default validation types or create your own format.

The Question action elementsLink icon

You can decide what is happening each step of the way while setting the Question action - fill in several fields to make sure the information you need is being saved correctly.

The fields you need to adjust are:

  • Question variants - provide your question. You can use multiple ways to ask for the same information.

  • Validate response with entity — select an entity with which you want to validate the response. If you do not want to use our default Entities, create your own Entity before configuring this action.

  • Save response to attribute — name your attribute. You can create your custom attribute if you do not want to use our default ones.

  • Action of failure input — choose what should happen when the user fails to provide the answer in the correct format. You can go to the Failure block, or skip this question and proceed to the next one by choosing the Success block.

    Remember to configure your bot structure according to this choice - you must place Bot response blocks in the correct place to ensure the chat goes smoothly.

  • Ask until […] — decide the number of times the bot should repeat the question if the answer is incorrect.

    The Action on failure will be executed if the bot reaches the number. If the information is necessary, choose the “until fulfilled” option. If you can recognize the user without it, choose a concrete number.

How to use the Question actionLink icon

To successfully use this action, you must customize it based on your needs.

  1. Drag the action to the bot structure. It will be placed with the Success and Failure blocks.

  2. Configure the question (1). Choose the validation type (2) - choose a system entity or create your own. Choose to which attribute the response will be saved (3).

  3. Choose what will happen when the input is incorrect (1) and pick the number of times the bot asks the question again (2).

  4. Configure another question. The questions will be asked one right after another.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products