What are the ways that agent sessions become inactive? When testing, sometimes the agent session ends unexpectedly (without emitting an EOS signal), and I'm not sure why. There's no timeout on the chatbot account. Logging out an agent sometimes changes status to invisible (but sometimes doesn't). Agent often gets set to invisible sometime overnight.
Sometimes an agent appears as online in the web portal, but trying to transfer a chat to the department they're in is disabled, with the warning/error that no agents are online in the department (or something like that). This also seems to make triggers that transfer departments silently fail.
Should I just send a updateAgentStatus('ONLINE') request periodically (taking the place of the ping in the example) to be safe?
Please sign in to leave a comment.