> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# Zendesk Chat: a chat that ends in the queue no longer runs the blocks after the Handoff

A [Zendesk Chat Handoff](/docs/handoffs/zendesk/zendesk-chat/zendesk-chat-handoff-usage#agent-experience) whose chat session ends while the end user waits in the queue no longer runs the dialog blocks that follow the Zendesk Live Agent Block. Before, the end user got those blocks as messages from the live agent, even though no agent had joined.

* If the session drops or the end user goes idle before an agent joins, the AI Agent routes the end user to the Off-Hours dialog.
* If the chat window reconnects and finds that Zendesk already closed the queued chat, or the end user's network drops while queued, the AI Agent shows a "Live Chat Ended" notice. The end user can ask for a live agent again.
* If an agent bans the end user while queued, the AI Agent shows a "Live Chat Ended" notice and does not route the end user to the Off-Hours dialog.

When a chat ends after an agent joins, the dialog blocks that follow the Zendesk Live Agent Block still run. They now show as messages from the AI Agent, not from the live agent.