Skip to main content

Application Inputs

In many use cases, a voice-enabled application must respond to events other than direct user speech. For example, if a user remains silent for a certain period, the application may need to prompt them to continue the conversation. Another common scenario is when the application is primarily voice-driven, but an external notification needs to be delivered to the user.

In such cases, the application can send an AddInput message to Flow using the following schema:

{
  "message": "AddInput",
  "input": "<string> – required",
  "interrupt_response": "<boolean> – default: false",
  "immediate": "<boolean> – default: false"
}

API reference