Butter goes up by sixty rupees a kilo and nobody changes the menu. The restaurant keeps selling the same dishes at the same price, the bills look busy, and at month end there is less money than last month. Menu costing automation stops that leak on the day the price changes, not three months later. It is one of the restaurant automation setups that pays for itself fastest.
Here is an example of what the owner gets on the phone the moment a new supplier rate is typed in:
Butter rate changed: ₹520 → ₹580 per kg. 2 dishes below target. Paneer Butter Masala: cost ₹96, margin 52%, restore price ₹240. Butter Naan: cost ₹14, margin 53%, restore price ₹35.
One message per price change, not one per dish. Everything below explains how that message is built.
The menu costing sheet is called Kitchen Costing. The Ingredients tab has Ingredient, Unit, Price Per Unit, Yield Percent, Supplier and Last Changed. The Recipes tab has one row per ingredient per dish: Dish, Ingredient, Quantity and Unit. The Menu tab has Dish, Selling Price and Target Margin, which the owner fills, and Cost, Margin, Restore Price and Status, which the workflow writes back. Status is one of Below Target, OK or Not Costed.
The Unit column is a dropdown with only g, kg, ml, l and piece. That one rule prevents the most expensive mistake in costing, which I cover further down.
If the kitchen already runs a cooking time map for KOTs, the dish names should match it exactly, so both sheets speak the same language.
Yield first. Usable cost = purchase price ÷ (Yield Percent ÷ 100). Chicken bought at ₹240 a kilo with 65% usable yield really costs about ₹369 a kilo on the plate.
Then the plate cost. Grams become kilos and millilitres become litres before multiplying, so a 30 g line is never priced as 30 kg. The workflow adds every line of the dish. If an ingredient is missing from the Ingredients tab, the dish is marked Not Costed instead of counting that ingredient as zero.
Then the margin and the price that restores it.
Example, with illustrative numbers: a dish costs ₹82 to make and the target margin is 60%. Restore Price = 82 ÷ 0.40 = ₹205. If the menu says ₹180, the margin is about 54%, so the dish is flagged Below Target with ₹205 beside it. When the Target Margin cell is empty, the workflow uses 60%.
A cashier who types 5800 instead of 580 would make every butter dish look like a disaster. So the workflow first checks the size of the jump:
jump = (new price − old price) ÷ old price
If the jump is bigger than 25% either way, nothing is recalculated. The owner gets a single “please confirm this rate” message, and the costing runs only after the price is typed again.

The workflow starts with a Google Sheets Trigger on the Ingredients tab, watching the Price Per Unit column and polling every minute. A Code node runs the 25% check. A Google Sheets node then finds every recipe line that uses the changed ingredient, and a second one reads all lines of those dishes, because the full plate has to be recosted, not just the changed line.
Two Code nodes do the maths: one applies units and yield and sums the plate cost, the other calculates margin, restore price and the below-target flag. A Google Sheets Update node writes Cost, Margin, Restore Price and Status into the Menu tab, matching on Dish. Finally an IF node keeps only dishes that are below target or not costed, and one Telegram message goes to the owner, or to a group if the manager should see it too. The Telegram bot is created through BotFather, and the owner sends it one message first so it knows where to reply. The n8n documentation covers each of these nodes.

When someone pastes a whole new rate list at once, add a two-minute Wait node after the trigger and merge the changes, otherwise the owner receives a flood of messages.
When menu costing flags a dish, I ask owners to go through this ladder in order:
Write each decision with the date in the Status column, so next month you know what was already tried.
A second, tiny workflow runs every Monday at 10 am. It sorts the Menu tab by margin and sends the five weakest dishes with their restore prices. Owners who do nothing else still see their biggest leaks once a week.
| Test | What you type | What should happen |
|---|---|---|
| Normal rise | Butter 520 → 580 | One message listing butter dishes with cost and restore price |
| Typing error | Butter 580 → 5800 | Held, only a “please confirm” message |
| Unit mix | 25 ml cream | Costed as 0.025 litre |
| Yield | Chicken yield 65 | Chicken dishes cost about 1.54 times the full-yield cost |
| Missing item | Saffron not in Ingredients | Dish marked Not Costed |
| Price fall | Lower oil rate | Menu updates quietly, no alert if margins are fine |
The same three rules work on any platform: convert every unit, include yield loss, and compare against a target margin per menu section. In Make, the costing uses an Iterator and Aggregator. In Zapier, one Code step does the maths. Inside Google Sheets alone, Apps Script with an onEdit trigger can do it all and send the Telegram message itself.
Google Sheets and Telegram bots are free, and there is no AI model in this menu costing setup, so there is no per-message charge. The only running cost is a small n8n server or a starter cloud plan. Bakeries use the same sheet with recipes per batch and a Pieces Per Batch column, which pairs naturally with scaling recipes by baker’s percentage.
The person who receives supplier bills types the new rate into the Ingredients tab the same day. That is the whole discipline. When my team sets this up, we spend half a day weighing dishes with the chef and collecting the latest bills, then half a day agreeing target margins per menu section, because starters and desserts rarely share one target. If coding feels like a barrier, read how small Indian businesses automate without coding first.
4 Comments
[…] a pharmacy chain balancing slow medicines before they near expiry. For restaurants, it pairs with menu costing. For businesses with any expiry stock, moving it to the branch that sells faster is often better […]
[…] orders flow well, the next leaks are usually money and planning: menu costing when ingredient prices rise, scaling bakery recipes with baker’s percentage, festival demand forecasting and a purchase […]
[…] calendar will find most of the inputs are already in place, and the same production plan can feed menu costing so festival prices are set on real […]
[…] margin floor is the same number a menu costing sheet produces, so a business that already costs its menu has half the work […]