Skip to content

Feature Request: Add an event for contact switching in multi-contact scenarios #8

@dilip331

Description

@dilip331

When an agent is handling multiple concurrent contacts (e.g., 3 simultaneous chats), there is no SDK event that fires when the agent switches between contacts in the Agent Workspace UI. This makes it impossible for third-party applications and services to detect which contact is currently active/in-focus.

Current Behavior

Scenario:
Agent has 3 active contacts
Agent clicks on Contact 1, then switches to Contact 3
No SDK event is triggered

What I've tried:
onCreate - Only fires once when app is initially opened, not on subsequent switches
Contact events (onConnected, onCleared, onStartingAcw) - Track contact state, not view/focus changes
listContacts() - Returns all active contacts but doesn't indicate which one is in focus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions