VirtualAgent
Deprecated Notice
Dialogflow application creation and management through the SignalWire Compatibility API is deprecated. Only existing Dialog applications will continue to function; new Dialog applications can no longer be created.
<Connect> verb’s <VirtualAgent> noun permits connecting the
call to a Dialogflow agent.
For example, one can connect to Dialogflow with:
Noun attributes
The Google Project ID of the agent to use. Find a list of IDs in the Dialogflow page in the UI.
After a Dialogflow conversation is completed, SignalWire can make a request to the <Connect> verb’s action attribute. In addition to the Standard Request Parameters, the following are parameters passed back to your application when SignalWire makes the request.
An error message, in case VirtualAgentStatus is "failed".
An error code, in case VirtualAgentStatus is "failed".
The provider of the VirtualAgent (e.g., Dialogflow)
A JSON object (serialized as a string) containing data about the Dialogflow interaction.
E.g. failed or transfer