Provision a Queue and Staff It
A 4-step recipe with Assembled. We can help you get access.
Recipe · 4 steps
Provision a Queue and Staff It
with Assembled · Contact Centre Operations Management
Create a queue, select an active agent, and schedule a shift routed to it.
- Create a new routing queue mapped to the supplied channel.
- List active people in the workforce and select the first as the agent to staff on the new queue.
- List activity types so a valid colour category can be applied to the staffing activity.
- Create an activity for the selected agent within the window, routed to the newly created queue.
What you'll need to have ready
- apiKey: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
- queueName: Name of the new queue.
- channel: Channel the queue maps to (phone, email, chat, sms, social, back_office).
- 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).
For your developer
Arazzo workflow assembled:provision-queue-and-staff, 4 operations: createQueue → listPeople → listActivityTypes → createActivity. Specs on APIs.io.