Library / Files & Cloud Storage
Files & Cloud Storage
Optimize restaurant menu margins with Google Drive, Sheets and GPT-4o
When something happens in a connected app, it manages files with OpenAI / ChatGPT using Gmail, Google Drive, Google Sheets.
What it does
## 🍽️ Menu Profit Engineering – Invoice OCR + POS Margins ### How it works Drop a photo or scan of a supplier invoice into a Google Drive folder. GPT-4o reads it, converts each line to a price per kg, litre or unit, and adds it to an Ingredient Prices sheet, so you build a price history without typing anything. Every Monday the workflow joins that history with your recipe costing and last week's POS sales. For each dish it compares today's plate cost with the cost 30 days ago. Dishes whose margin fell by 2+ points are flagged with the ingredient that caused it, the weekly profit leak, and a suggested new price (capped at +10%). You get one email ranked by money lost, and every flag is logged. ### Setup steps 1. Connect Google Drive, Google Sheets, OpenAI and Gmail. 2. Create one spreadsheet with four tabs: - Ingredient Prices: invoice_date, supplier, invoice_number, item_on_invoice, ingredient, unit, unit_price, source_file - Recipe Costing: dish, menu_price, ingredient, quantity, unit (one row per ingredient) - POS Sales: date, dish, quantity_sold, revenue (daily export from your POS) - Margin Alerts: see the Alerts section note 3. Choose the invoice folder in the trigger and the matching tab in each Sheets node. 4. Tune thresholds and price rounding at the top of Calculate Dish Margins. 5. Set the owner's email and activate.
The steps
- New Invoice in Drive
- Download Invoice File
- OCR Invoice with GPT-4o
- Parse Invoice Lines
- Log Ingredient Prices
- Every Monday 8 AM
- Read POS Sales
- Read Recipe Costing
- Read Ingredient Prices
- Calculate Dish Margins
- Split Flagged Dishes
- Log Margin Alerts
- Write Pricing Recommendations
- Email Report to Owner
Similar automations
Chatbots & Messaging BotsRestaurant Ordering Assistant on WhatsApp with Gemini RAG18 stepsChatbots & Messaging BotsAnswer Restaurant Questions and Book Tables on WhatsApp8 stepsFinance, Invoices & AccountingTrack Etsy profit and listing margins in Google Sheets with Gemini summaries35 stepsAlerts & NotificationsNotify Customers of Menu Changes by WhatsApp and SMS17 steps