capabilities.work

Schedule an Agent Shift

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

Recipe · 3 steps

Schedule an Agent Shift

with Assembled · Contact Centre Operations Management

Create a scheduled activity for an agent and confirm it on the calendar.

  1. List the activity types defined in the organization so a valid colour category can be applied to the new activity.
  2. Create a single activity for the agent within the supplied window, using the resolved activity type.
  3. List activities for the agent across the scheduled window to confirm the new activity is present on the calendar.
What you'll need to have ready
  • apiKey: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
  • agentId: Assembled agent ID the shift is scheduled for.
  • activityTypeId: Activity type ID to apply; if omitted the first available type is used.
  • startTime: Shift start time (ISO 8601 date-time).
  • endTime: Shift end time (ISO 8601 date-time).
  • notes: Optional notes attached to the activity.
For your developer

Arazzo workflow assembled:schedule-agent-shift, 3 operations: listActivityTypes → createActivity → listActivities. Specs on APIs.io.