image for site

Remembering Previous Department for Reconnected Chats

Learn about the limitations of remembering previous departments for reconnected chats in Zendesk.

Is there a way to remember the previous department for a reconnected chat?

Currently, there is no API available to retrieve the department from a previous chat session in Zendesk. This means you cannot automatically reapply the same department when a visitor reconnects.

The workaround involves using theon chat:connectedAPI callback andupdateSettingsAPI to manually set a department, but this requires specifying a department in advance, as the previous department cannot be dynamically retrieved.


More related questions

Can I reapply a department after a chat visitor reconnects?

When a chat session times out and a visitor reconnects, the department from the previous session is not automatically reapplied. To address this, you can use theon chat:connectedAPI callback to detect the reconnection and then use the…

Why doesn't the department reapply automatically after a chat reconnect?

It's expected behavior in Zendesk for a new chat session not to automatically reapply the department after a visitor timeout. This is because the system treats each new chat request as a separate session, without retaining settings from the…

How can I set a department for a reconnected chat session?

To set a department for a reconnected chat session, you can use a custom script with theon chat:connectedAPI callback. This script detects when a visitor reconnects and uses theupdateSettingsAPI to assign the desired department. Here's a…

Can I use triggers to set departments for reconnected chats?

Unfortunately, you cannot use triggers to set departments for reconnected chat sessions in Zendesk. Triggers are not designed to re-fire when a visitor reconnects after a timeout. Instead, you need to use theon chat:connectedAPI callback and…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites