←Back/Product/OpenClaw
BeginnerProduct

Automate Your Daily Lunch Order with a Personal AI Agent

This workflow teaches an agent your meal preferences, a daily ordering deadline, and a confirmation process. If you don't respond by the confirmation time, the agent orders for you based on your learned preferences, ensuring you don't miss a meal cutoff.

Automate Your Daily Lunch Order with a Personal AI Agent
Source episode · 16:28How I Built a Personal AI Chief of Staff With OpenClaw

with Claire Vo

I train my meal preferences. Okay, I'm a vegetarian. When do I like Indian? When do I like healthy food and everything... First it will take a confirmation for me at 9:30 AM. If I don't reply, it will just go on its own whim and order for me.

Before you start

About 30 minutes

What you need

  • Access to a food ordering platform (e.g., DoorDash).
  • Defined dietary preferences, restrictions, and budget.
  • A daily order deadline and a confirmation time.

What you’ll make

A daily confirmation prompt for a lunch order. If no response is given, a suitable meal is ordered automatically before the deadline.

Tools used

The workflow

Follow the sequence once, then adapt the prompts, checks, and handoffs to your own setup.

5 steps

Step 01

Step 1: Define Preferences and Constraints

Instruct the agent on your dietary needs, cuisine preferences, budget, and any hard exclusions. Be as specific as possible.

Example prompt
For my lunch orders, I am vegetarian. I like Indian food, but only on Mondays and Wednesdays. My budget is [dollar amount]. Never order anything with [ingredient to exclude].

Start with very simple preferences and add complexity as the agent proves it can handle the basics.

Step 02

Step 2: Set the Schedule and Fallback Rule

Provide the agent with the daily order deadline and a confirmation time. Crucially, instruct it on what to do if you don't respond.

Example prompt
The order deadline is 10:00 AM. Send me a confirmation prompt at 9:30 AM. If I do not reply by 9:50 AM, you have my permission to order a suitable meal for me automatically.

Ensure the confirmation time provides a large enough buffer before the hard deadline to handle any potential issues.

Step 03

Step 3: Grant Access to the Ordering Platform

Give the agent access to your food ordering service, such as a corporate DoorDash Meal Manager account.

If possible, set a spending limit on the platform itself as an additional guardrail.

Step 04

Step 4: Respond to Confirmation (or Don't)

When the agent sends its daily confirmation message, either approve the suggested meal, request a change, or do nothing to let the automation take over.

This is the key human checkpoint. Your explicit action or intentional inaction determines the outcome.

Step 05

Step 5: Provide Corrective Feedback

After receiving the meal, provide feedback if the order was wrong, incomplete, or could be improved. This is how the agent learns.

Example prompt
Today's order was good, but the curry was ordered without bread. In the future, please add a side of naan when ordering a curry dish.

The source material shows that the agent can learn exceptions (like not adding bread to a dish that already includes it) from a single piece of feedback.

What good looks like

  • A lunch order is placed correctly and on time each day.
  • The agent successfully learns from feedback to improve future orders.
  • You no longer miss the lunch ordering window due to meetings.

Build your next product with ChatPRD

Turn an idea into a PRD, user stories, and a plan.

Try ChatPRD free

Runbook notes

How to recover when the loop fails and where human judgment helps.

If it goes sideways

The agent orders an incomplete or incorrect meal (e.g., curry without bread).
Provide specific, corrective feedback. For example: 'You ordered curry but forgot the bread. Please ensure you order bread with curry next time, unless the dish already includes it, like chole bhature.'
The agent orders something you don't like.
Refine your preferences with more detail. For example: 'I am vegetarian, but I dislike mushrooms. Do not order any dishes containing mushrooms.'

Human checkpoints

Let routine work keep moving.

  1. A confirmation prompt is sent at a set time (e.g., 9:30 AM). You can approve, change, or cancel the order. Silence is treated as implicit approval for the agent to proceed automatically.

Start shipping better products.

Join 250,000+ product managers who use ChatPRD to write better docs, align teams faster, and build products users love.

Free to start · 14-day Pro trial · SOC 2 Type II