Admins can set up messaging triggers to share an estimated wait time with customers for agent engagement. Estimated wait time is calculated and displayed after a conversation bot hands off a messaging conversation and a ticket is created. Wait time is estimated based on the ticket’s position in the ticket queue using recent ticketing data. Admins can also set up triggers to send a message to the customer after the messaging ticket is assigned to an agent from a queue.
This article includes the following sections:
Related article:
About estimated wait time in messaging conversations
Wait time is estimated using a statistical model that considers the average wait time for the customer's queue position and historical wait time only for that queue or group. The model pulls performance data from the most recent period available: the previous 10 minutes, two hours, or three weeks.
Estimation requires data. The wait time will be available only for queues/groups with at least 1 ticket routed in the last 7 days. The trigger(s) will not be activated with insufficient data.
On third-party bots, the trigger is activated after the bot hands over control, and the created ticket is placed in the queue.
The following situations may impact the accuracy of wait time estimates:
-
A surge in ticket submissions. Accuracy will increase as more new data is available.
-
Insufficient recent ticket data.
-
Queues that recently came online.
-
Queues with irregular wait times due to insufficient agent capacity or a lack of agent availability.
Displaying estimated wait time
To display the estimated wait time to a customer, you must build a trigger that runs only when a conversation is initially added to the queue and sends a message to the customer using the @wait_time_min and @wait_time_max placeholders.
Applying this trigger to a small agent group or customer segment is recommended to ensure it functions as expected before rolling it out to your entire team.
Consider communicating clearly to your customers that estimated wait times are just that – estimates – and are not guaranteed (“Expect to wait at least @wait_time_min minutes” or "We should be with you within @wait_time_max minutes," for example).
To display an estimated wait time
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Messaging triggers.
- Click Create trigger.
- Enter a name and brief description for your trigger.
- Click Activate this trigger.
- Customize the trigger as follows:
- Run trigger: When a conversation is added to the queue.
-
Conditions: Match ALL of the following conditions:
- Initial routing | is | True
- Group | is | <group name>
- Group status | <group name> | Online
-
Actions
- Send message to customer | Responder | [message text, such as "Your estimated wait time is @wait_time_min-@wait_time_max mins."]
- Click Create.
Sending a follow-up message when a ticket is assigned to an agent
After you implement the estimated wait time trigger described above, you can create a trigger that sends another message to the customer when the ticket is assigned from a queue to an agent.
To send a message to an end user when a ticket is assigned to an agent
- In Admin Center, click Objects and rules in the sidebar, then select Business rules > Messaging triggers.
- Click Create trigger.
- Enter a name and brief description for your trigger.
- Click Activate this trigger.
- Customize the trigger as follows:
- Run trigger: When a conversation is assigned from a queue.
-
Conditions: Match ALL of the following conditions:
- Group | is | <group name>
- Group status | <group name> | Online
-
Actions
- Send message to customer | Responder | [message text, such as "An agent will be with you shortly."]
- Click Create.