# Notify on menu orders via ntfy and Home Assistant TTS with daily BAC tracking

> Quick overview Process online menu orders with n8n, log daily orders, send ntfy push notifications, announce orders through Home Assistant TTS, and calculate a simple cumulative BAC estimate from configured alcohol-gram values. How it works 1. Order webhook — The /menu webhook receives the customer name, order time, and an array of ordered items. 2. Order normalization — JavaScript normalizes the customer name, formats the order, calculates alcohol grams from item metadata, and adds the current date. 3. Order logging — The workflow stores the formatted order, customer, alcohol grams, date, and order time in an n8n Data Table. 4. Daily history lookup — The Data Table is queried for all orders placed by the same person on the current date. 5. BAC estimation — JavaScript sums logged alcohol grams and applies a configurable simplified Widmark-style calculation using the workflow's weight and distribution-factor constants. 6. Push notification — ntfy receives a formatted message containing 

- **Domain**: `n8n-workflow-14487.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/14487
- Page (HTML): https://agenstry.com/agents/n8n-workflow-14487.n8n.io
- Documentation: https://n8n.io/workflows/14487
