ONDATA

Receives data directly from a submitted custom form built with the RUNAPP or INDICATE actions.

Supported Script Types

Generic Email Chat Phone Voicemail Work Item

Properties

None

Branches

Default
The Default branch condition will always be used.

Tips and Tricks

  • ONDATA is an event.
  • When the agent clicks Submit, the script’s ONDATA event is triggered.
  • There can be only one ONDATA event in a script.
  • If there is an UNLINK action after the ONDATA event, the agent and caller are disconnected, and a survey is generated for the caller.
  • When an agent enters data in a custom form and clicks Submit, a variable will be created based on the HTML tag of the submit button in the form and will contain the value entered by an agent.