getInput

This action is used when you want service to stop and wait for user input. For example, you asked a question and are waiting for incoming intent. This action ignores all actions after that and stops step execution. That’s why this action should be last one in the chain of step actions. This action has no arguments.

Example:

actions:
  - sendText: 'What do you choose, horse or rabbit?'
  - getInput:
next:
  horse: Horse Step
  rabbit: Rabbit Step

Written by Andrey Esaulov on 12 March 2019

Updated on 12 March 2019