Open a ticket tab in the background via ZAF (without stealing the agent’s focus)? | The place for Zendesk users to come together and share
Skip to main content
Nov 4, 2026 1:46 AM UTC
Question

Open a ticket tab in the background via ZAF (without stealing the agent’s focus)?

Hi all,

I’m building a ZAF app (ticket_sidebar / nav_bar location) for agents working in the Agent Workspace on messaging tickets. When a ticket needs attention (e.g. an idle customer), I want the app to make sure the agent doesn’t miss it.

What I have now: a toast notification only (client.invoke('notify', ...)).

What I want: open the ticket as a new tab in the background, so the agent’s currently focused ticket stays active and nothing flickers. If there is status change from Pending/Solved to Open and the assignment changes, tab will be automatically open with Zendesk Native. but it won’t happen if the assignment still same. This one that i want to achieve.

What I’ve found so far:

  • client.invoke('routeTo', 'ticket', ticketId) opens the tab, but it also switches focus to it.
  • The workaround of calling routeTo and then routing back to the previously focused ticket causes a visible flicker and can interrupt the agent while they’re typing a reply.

Questions:

  1. Is there any supported way (a routeTo option, another ZAF action, or an API) to open a ticket tab without changing the active tab?
  2. If not, is there a recommended pattern to get the agent’s attention without disrupting focus (e.g. tab badge/indicator, or a ZAF notification with a click action that opens the ticket)?
  3. If neither exists, is this a known feature request I can upvote?

Environment: Agent Workspace, messaging tickets, ZAF v2. Happy to share a minimal reproduction if needed.

Thanks!