SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Avoiding Abandoned Tasks with Twilio Flex

When an agent does not close out a task before they leave for the day, this can have a negative impact on your stats. Here are some suggestions to help reduce the impact of this type of issue:

  • Create a maximum task lifetime (listed in seconds) with the Timeout parameter when creating your task. This allows you to make a task automatically cancel once it has exceeded the timeout value.
  • Automatically close all open tasks assigned to the worker when they log off for the day. Twilio will automatically make requests to the Workspace's EventCallbackURL when the worker changes status; you can use this to trigger a request to close open tasks when the worker is off shift.
  • If the worker had previously accepted reservations in their queue, you can also update the reservations to reject them and send them back to the queue, or redirect them to another TwiML document such as a voicemail.
Have more questions? Submit a request
Powered by Zendesk