Business

Turn WhatsApp cake orders into tomorrow's bake sheet

A developer built Pakka, where Gemma 4 reads home bakers' exported WhatsApp chats on the phone and builds a daily bake sheet, flagging anything unclear instead of guessing.

Done with Custom agentGemma 4 E2B

What they did

Rohit Purkait built a web app for home bakers in India who take orders on WhatsApp. The baker exports chats and adds them. Gemma reads each chat in the browser and copies the exact words for item, weight, date, eggless and price. Code then checks those words are really in the chat and drafts a confirmation message.

How it went

The author says asking the model for finished answers put orders on the wrong day, because 'kal' means both yesterday and tomorrow. Letting code work out dates fixed this, and unclear orders get a flagged note.

Worth knowing

Have the AI quote exact words and let simple rules interpret them. Everything runs on the phone, but the first run downloads about 2 GB.

Try it yourself

I take orders over chat. Here are exported chats: [attach chat files]. Find every order and list, for each: customer, item, size, date and time, special requests, message on top, price, advance paid and amount due. For every detail, quote the exact words from the chat it came from. If a date, size or detail is unclear or changed later, flag it and ask me instead of guessing. Then draft a short confirmation message for each customer, but don't send anything until I approve.

Swap the highlighted [parts] for your own details.

Read the original

Source: DEV Community · Rohit Purkait · Oct 18, 2026

Written with AI assistance from the original post and checked against our editorial guidelines. Results are as reported by the source, not independently verified. Spotted a mistake? Tell us.

Get 5 use cases every day

The best things people got an agent to do yesterday, each with the prompt. Free, one email a day.

See today's issue