Skip to content

Overview

The Agent App is a static web application that provides an embedded video experience for agents within the Genesys Cloud desktop. It loads as an Interaction Widget during active calls, connecting the agent via video-only WebRTC to the same Pexip conference room the citizen is in.

  1. A citizen call is routed to an agent via Genesys Cloud.
  2. The agent answers the audio call normally (SIP, in-band via Genesys).
  3. The Interaction Widget loads the Agent App, which:
    • Authenticates against Genesys using an OAuth Implicit Grant
    • Extracts the conference alias from the conversation metadata
    • Connects to the Pexip Conference Node via WebRTC (video only, audio muted)
  4. The agent sees the citizen’s video feed within the Genesys interface.
  5. When the call ends, the widget disconnects the video session automatically.
FilePurpose
scripts/main.jsEntry point - Genesys auth, conversation lookup, video lifecycle
scripts/pexrtc-wrapper.jsThin wrapper around the PexRTC SDK
scripts/pexrtc.jsPexip WebRTC client SDK
scripts/config.jsGenesys region and OAuth client ID
scripts/notifications-controller.jsGenesys notification channel for call events

This app is derived from the pexip-genesys-agent-blueprint but has been customized for the Verify by Video solution. Key differences include environment-specific configuration and integration with MaxConf API room metadata.