capabilities.work

Stream and Verify Agent State

A 3-step recipe with Assembled. We can help you get access.

Recipe · 3 steps

Stream and Verify Agent State

with Assembled · Contact Centre Operations Management

Verify an agent, bulk-push state records, and read the condensed timeline.

  1. Read the agent record to confirm the person exists before streaming state records against their ID.
  2. Submit a batch of agent-state records ingested from upstream telephony or CRM platforms.
  3. Retrieve the condensed non-overlapping timeline for the agent across the window to confirm the streamed states were applied.
What you'll need to have ready
  • apiKey: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
  • agentId: Assembled agent ID whose state is being streamed.
  • states: Array of agent-state records (agent_id, state, start_time, end_time, source).
  • startTime: Window start for the condensed timeline read (ISO 8601 date-time).
  • endTime: Window end for the condensed timeline read (ISO 8601 date-time).
For your developer

Arazzo workflow assembled:stream-agent-state, 3 operations: getPerson → bulkUpdateAgentStates → getCondensedTimeline. Specs on APIs.io.