Staff a Shift for a Workforce Agent
A 3-step recipe with Assembled. We can help you get access.
Recipe · 3 steps
Staff a Shift for a Workforce Agent
with Assembled · Contact Centre Operations Management
Select an active agent and create a shift activity for them.
- List active people in the workforce and select the first as the agent to be staffed for the shift.
- List activity types so a valid colour category can be applied to the shift activity.
- Create a shift activity for the selected agent within the supplied window, using the resolved activity type.
What you'll need to have ready
- apiKey: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
- 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:staff-agent-shift, 3 operations: listPeople → listActivityTypes → createActivity. Specs on APIs.io.