SIGN UP

Events

Events

DialogflowError

Event is triggered when a Dialogflow instance causes error.

Parameters

  • cause:

    String

    The cause of the event

  • the Dialogflow instance that generated the event

DialogflowPlaybackFinished

The event is triggered when a playback of a single phrase has finished successfully or in case of playback error.

Parameters

  • the Dialogflow instance that generated the event

  • error:

    String

    Optional

DialogflowPlaybackMarkerReached

The event is triggered when DialogflowInstance.addMarker is reached.

Parameters

  • the Dialogflow instance that generated the event

  • offset:

    number

    Marker offset

DialogflowPlaybackStarted

Dialogflow playback started The event is triggered when a playback of a single phrase has started.

Parameters

  • the Dialogflow instance that generated the event

  • duration:

    number

    Playback duration

DialogflowResponse

Event is triggered when a Dialogflow instance returns an intent response.

Parameters

DialogflowStopped

Event is triggered when a Dialogflow instance was stopped.

Parameters

  • cause:

    String

    The cause of the event

  • the Dialogflow instance that generated the event

VoicemailDetected

Event is triggered when an answering machine or voicemail is detected.

Parameters

  • call:

    Call

    Call that triggered the event

  • confidence:

    Number

    Recognition confidence. Values range from 0 (completely uncertain) to 100 (completely certain). The value is not guaranteed to be accurate, consider it while handling the event.

VoicemailNotDetected

Event is triggered when an answering machine or voicemail is not detected.

Parameters

  • call:

    Call

    Call that triggered the event