Queues
Examples
Create a queue
This configuration has two rules:
- Send a notification when a person is assigned the call status
- If the person doesn't turn up within an hour remove them from the queue automatically
{
"name": "Play VR game queue",
"queue_id": "play-vr-game-queue",
"experience_id": "developer-conference-2022",
"rules": [
{
"action": "send_notification",
"action_field": "status",
"action_value": "call",
"action_identifier": "you-are-up-next"
},
{
"action": "cancel_item",
"action_field": "status",
"action_value": "call",
"action_identifier": "3600"
}
]
}
Add a person to the queue
{
"status": "wait",
"notification_email": "sarah.jones@abc.com",
"notification_data": {
"first_name": "Sarah"
}
}