Node Documentation

Suggestion Node

Displays answer options in the chat as a checkbox or button next to the corresponding questions.

Overview

Displays answer options in the chat as a checkbox or button next to the corresponding questions.

Category: Base

Tutorial: Start interactive node tutorial

Configurable properties

LabelPropertyTypeDefaultDescription
Labellabeltext"suggestion"Use text with or without Markdown and handlebars to display button labels.
Valuevaluetext""This value is available in the state data after answering a question at the suggestion node and also at the question node.

Initial states

StateInitial ValueDescription
selectedfalseThis answer option has been selected.
valuenullThe optionally defined value of this answer option, if this answer option was selected.

Callable methods

  • select() - Select this answer option and answer the corresponding question.
  • reset() - Resets the status of this answer option.
  • resetSelect() - Resets this answer option, but retains the possible answer value.