1. Home
  2. Case studies
  3. Food Retail and Customer Engagement

Bakery automation

Taking orders, collecting reviews and sending offers in chat, with the owner still in control

Diagram of the bakery automation. Customers message on WhatsApp or Facebook Messenger. An AI chat assistant remembers the chat and collects the order. Orders are stored in Google Sheets and shown on a bakery dashboard, where the owner confirms or rejects them. Scheduled jobs send review check-ins, offers and reminders.
24/7Chat replies at any hour
1 clickTo confirm or reject an order
1 hrReview check-in after delivery

The problem

A bakery took most of its orders through chat. Customers asked about the menu and prices on WhatsApp and Facebook Messenger, and the owner answered each message by hand. Orders were often incomplete: a name, an item, but no pickup date or time, so the team had to go back and ask again.

The work after the sale was also missed. Nobody reliably asked delivered customers for a Google review, offers went out only when someone remembered, and orders that lived inside chat threads were hard to track in one place.

What we built

We built an AI assistant that answers customers on WhatsApp and Facebook Messenger. It shares the menu when asked, replies in English, Hindi or Hinglish, and takes order requests. It collects four details, name, item, pickup date and pickup time, and remembers what the customer already said, so it never asks the same question twice.

An order from chat is only a request. It goes into a Google Sheet as pending and appears on a dashboard, where the owner confirms or rejects it. The customer is told the decision by message. The assistant never says an order is confirmed before the bakery has decided.

After an order is marked delivered, the system sends a friendly check-in, asks for feedback, and invites happy customers to leave a Google review in return for a discount. If there is no review after three days, it sends one reminder. Offers go out on a daily schedule, once per customer.

The result

The bakery moved from answering every chat by hand to an assistant that handles the first conversation at any hour. Order requests now arrive complete, with the pickup date and time, in a single sheet and on the dashboard instead of scattered across chat threads.

The owner stays in control, because every order needs a confirmation before the customer is told to come to the shop. Review requests, reminders and offers happen for every customer on schedule, with no one needing to remember, and a customer is never sent the same offer or the same reminder twice. The whole system runs on tools the bakery already uses, Google Sheets and WhatsApp.

Tech approach

The system is built in n8n. Seven workflows share one Google Sheet that holds three tabs: Orders, New Orders and ChatLog. WhatsApp messages arrive through the WhatsApp Business API. Facebook Messenger messages arrive through a webhook, with the verification step Facebook requires. Receipts and the bot's own echoes are ignored, so the assistant never answers itself.

An OpenAI language model writes the replies. Before each reply, the system reads the customer's last ten messages from the ChatLog tab, so the assistant has memory, and it adds today's date and time so words like tomorrow or in one hour become real dates. The instructions cover the menu, the order steps, the review flow and the rule that an order is only a request until the bakery confirms.

To turn free chat into structured data, the model adds a hidden marker line when an order is complete or when the customer agrees to leave a review. Code in the workflow reads the marker, saves the order with a unique ID, updates the review status, and removes the marker before the customer sees the reply. A rule stops the same order from being recorded twice.

Messages the bakery starts, such as check-ins, offers and order decisions, use pre-approved WhatsApp message templates. Status columns such as MessageSent, LastOfferSent and ReminderSent act as flags, so each scheduled job skips customers who were already contacted. The dashboard reads the orders and sends confirm or reject actions through two webhooks.

Want a result like this?Tell us about your business and get 3 AI opportunities, free.
Get my free AI Growth Plan

More case studies

Automotive and Customer Engagement

Automobile automation

Follow-up emails to automobile customers were sent by hand, when someone remembered. We built an automation that runs four campaign types and answers replies on its own.

Read the case study