Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Introducing Last In, First Out (LIFO) Support for TaskRouter

Blog post from Twilio

Post Details
Company
Date Published
Author
Al Cook
Word Count
604
Company Posts That Month
17
Language
English
Hacker News Points
-
Post removed?
No
Summary

TaskRouter now supports Last In, First Out (LIFO) for routing tasks, which allows users to choose between the default behavior where the longest waiting task gets delivered to the next available worker or a new option where the task that has been waiting the least amount of time will be routed to the next available worker. This feature is particularly useful in handling leads, as it ensures that the hottest lead (newest) is connected to the first free agent with the highest likelihood of conversion. LIFO can be enabled on a TaskQueue by passing `TaskOrder=LIFO` while creating or updating a TaskQueue, and it can also be combined with FIFO queues through a workspace level setting called `PrioritizeQueueOrder`. The `PrioritizeQueueOrder` setting determines whether tasks from LIFO or FIFO queues are prioritized when an agent is able to take tasks from both.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.