Hangup Events and Triggered Analytics
Last updated
Last updated
The Parloa Hangup Event is automatically triggered when a call ends, and it is represented in the debugger as both a Request and a Response type. This feature facilitates effective monitoring and troubleshooting of call flows. Additionally, the Hangup Event is recorded in the Analytics transactions, offering valuable insights into user engagement and system performance without necessarily triggering any additional events itself.
When a conversation is reset, variables with the "session" lifetime are set back to their default value, an empty string. Variables related to previous prompts are also cleared.
To perform custom actions when a call ends â
Create a custom intent named PARLOA.EndConversation
.
Add this intent to the Global Intents Block.
Define the actions to take place when the call ends, such as making a service call or updating the system status.
Connect the intent to an End Conversation block.
The Hangup Event is specific to phone-based interactions. For other platforms like Textchat V2, different events signify the conversation's end.
The Hangup Event is recorded as part of an Analytics Transaction, offering critical insights into user interactions and system performance. This record is made regardless of who ends the call, whether it's initiated by Parloa or the caller. To fully leverage this data, ensure that your Analytics Webhook is configured to acknowledge and process these specific transaction records.
After the call has ended, the Start Conversation block is triggered, marking the conversation's restart.
Here is an example of an Analytics Hangup Event:
In the JSON example above, all identifiable information, such as ID's and phone numbers have been masked with "xxx" for privacy reasons.