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.
- Read the agent record to confirm the person exists before streaming state records against their ID.
- Submit a batch of agent-state records ingested from upstream telephony or CRM platforms.
- 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.