July 12, 2018 Hangry

Hangry’s Mobile Ordering Algorithm – The 3 Main Sections

The Hangry Algorithm was created to ensure a seamless mobile ordering experience. In order to do this, there are multiple factors that need to be considered. Some of these factors include: accounting for human error, buffer time for the kitchen to make orders, running out of menu items, etc. In addition to ensuring a seamless experience, Hangry also wanted to ensure that you were in control of the algorithm at all times. Today, we will be breaking down the 3 main sections of the Order Flow Algorithm, and how they are going to help you create a successful dining experience for your users.

Section 1: Busy Mode 
Hangry’s busy mode feature is essential to the mobile ordering process, because it allows the kitchen to add an extra few minutes to their prep time during peak dining hours. For example: if the kitchen is experiencing an abnormally large amount of orders right after a football game and needs more time to make meals, they can switch to ‘busy mode’ which will add an extra, pre-determined amount of minutes to the original pick-up time. The restaurant can be manually put into busy mode at any time from the tablet, or the Restaurant Modes tab of the dashboard. In addition, the Busy Thresholds will automatically bump the restaurant into Busy Mode if the number of orders currently in the queue is greater than the number of orders set for the thresholds.

Section 2: Item Prep Times 
Updating Item Prep Times is going to be one of the most important changes you make on the dashboard. Why? Because it is going to determine how much time your users have to pick up their order, and how much time the kitchen has to prep their order (a component that mobile ordering relies on). The process of actually changing an Item Prep Time is quite easy, but you must ensure the prep times you input make sense with each menu item. Each item has a rough estimate of its required preparation time for normal and busy mode. This can be set and changed at any time from the “Item Prep Times” tab. If there are multiple items in an order, we first sort the orders from largest to smallest prep time. Then we multiply the item percentages by the additional item times. For example: The second item prep-time multiplied by Second Item percentage. That total is added to the prep-time of the first item to get the total estimated pickup time. In addition, if an item is set to “Pre-Made” in the “Item Prep Times” tab, then that item will be ignored in this calculation.

Section 3: Order Slots
You can control how many orders per minutes are allowed for both normal and busy mode. This will allow orders to be spread out so that the staff are not overwhelmed. The algorithm will find the next available “slot” that is after the estimated prep time. For example, (assuming 1 order per minute) if the prep time calculates is 10 minutes, but there are already orders for the next 15 minutes, then the estimated time will actually be 16 minutes. The system needs to find the next available slot.


We know, that was a lot of information. Looking for a less technical explanation of the Hangry algorithm? We’ve got you covered. Click here.