Skip to main content

Bot Hung Report


Type of Report

  • Standard

Total Subsheets

  • Dump

Report Purpose

Bot hung report typically refers to an incident or a situation where a chatbot becomes unresponsive or stuck during an interaction with a user. When a bot "hangs," it stops functioning as expected, ceases to respond, or gets stuck in a loop without providing the intended service or response.

Detailed Description

Subsheet Name: Dump

Name of ColumnDescription of FieldWhere is the value fetched from Collection: Session_info & chat_logs
Session IdUser Session IdsessionId
Hung Chats At The EndIf bot hung at end of the flow (boolean value)lastChatLog.snapshot.ongoing_intent_snapshot[0] (if it doesn’t exist)
Hung Chats In BetweenBoolean value for bot hug in between flow or notsession.chatLog[j].snapshot.ongoing_intents_snapshot[0]
WorkflowNameWorkflow name in which bot got hungsession.chatLog[j].snapshot.ongoing_intents_snapshot[0].workflowName
WorkflowIdWorkflow Idsession.chatLog[j].snapshot.ongoing_intents_snapshot[0].wid
NodeIdNode idsession.chatLog[j].snapshot.ongoing_intents_snapshot[0].nodeId
Chat Time Difference (Seconds)Time difference between first and second messageCalculate time difference between first message and second message time stamp from chat_log
Hung UtteranceShow at which utterance of user bot got hungShows first utterance and than second utterance (if exist)

Example of Report

Whatsapp Dump:

Image 1:

Image

Image 2:

Image

https://docs.google.com/document/d/1qldA_7dzOW888ZOGshHJ1SYM0KW5NXerKFdEGX1axeI/edit?usp=sharing

Report Format

Branch: development
Reports File: Reports/botHungReport.js

Aggregation

Branch: development
Aggregation Data File: Reports/botHungReport.js