# Get next week's office event groceries ready to order

> Every Thursday we read next week's office calendar, size a grocery list to each event's headcount, and post one-click carts to Slack for approval.

- Workflow type: agent
- Services: Instacart, Google Calendar, Slack Bot
- Categories: Operations, HR & People
- Published: 2026-08-14

## What it does

- Looks ahead at next week's shared office calendar every Thursday morning and picks out the events that actually need food, like all-hands meetings, client lunches, onboarding days and team offsites.
- Skips the meetings that do not need catering, such as routine one-on-ones and external video calls, so you are never ordering lunch for a phone call.
- Sizes every list to the confirmed headcount and includes vegetarian, gluten free and non-dairy options, so everyone at the table has something to eat.
- Posts one block per event to your office operations channel with the date, headcount and a one-click shopping link, ready for the office manager to review and place the order.

## What you'll need

- A Google account with access to the shared calendar your team books office events on
- An Instacart account, with grocery delivery available in your office area
- A Slack workspace and the channel where your office operations updates go
- Event invites with attendees actually added, since headcount is what sizes the order

## Prompt

Every Thursday at 9am, look ahead at next week's team events and have the office grocery order ready before anyone has to think about it. Run this on a cron trigger at 9:00am every Thursday in the office time zone. Thursday timing is deliberate, it leaves lead time to get an order placed before the following week starts.

Start with the Google Calendar List Events action against the shared office calendar. Pull every event from the coming Monday through Friday. Expand recurring events into individual instances so each occurrence is judged on its own, and include attendee details so headcount is available.

Decide which events actually need food by reading the title, description and attendee count. All-hands meetings, client lunches, onboarding days and team offsites are in scope. Regular 1:1s, external video calls, personal holds and focus time blocks are skipped. Use judgement on anything ambiguous, leaning on what the title and description say about whether people will be in the office together around a meal.

For each qualifying event, build a shoppable list with the Instacart Create Shopping List Page action. Size quantities to the confirmed attendee count, meaning people who have accepted rather than everyone invited. Cover a spread that works for common dietary needs, including vegetarian, gluten free and non-dairy options. Line items use line_item_measurements and only the supported units: each, lb, oz, g, kg, ml, L, cup, tbsp, tsp, gallon. Apply health filters such as VEGAN, GLUTEN_FREE and ORGANIC where they help match the right products. Set expires_in to roughly 14 days so each link stays live comfortably through the week it covers, and name each list after the event it belongs to.

Post the results to the office operations channel using the Slack Bot Send a Message action, with one block per event showing the event name, the date, the headcount and its one-click Instacart link. The office manager reviews the blocks and places the order. Do not try to purchase anything: the Instacart Developer Platform can only create a shareable list page, never place an order, and the human approval step is the point of the workflow.

Call out any event that has no attendee count set on its own clearly marked line, so someone can confirm numbers before ordering rather than guessing. If nothing next week needs food, post a short note saying the week looks clear instead of staying silent.

## How to customize

- Change the day and time it runs, for example Wednesday afternoon if your store needs more lead time
- Adjust which kinds of events count as needing food, such as adding board meetings or dropping offsites
- Set your own dietary spread and portion rules, like extra coffee for morning events or a bigger vegetarian share

## FAQ

### Does this actually buy the groceries?

No. It builds a ready-to-order cart and posts the link for a person to review. Your office manager picks the store, adjusts anything they want, and checks out. Nothing is ever purchased automatically.

### What happens if an event has no attendees added?

That event gets flagged in the Slack message so someone can confirm numbers before ordering, rather than the workflow guessing at a headcount.

### How does it know which meetings need food?

It reads the event title, description and attendee list. Team-wide events like all-hands meetings, client lunches, onboarding days and offsites are treated as needing catering, while routine one-on-ones and external video calls are skipped.

### Can it handle dietary restrictions?

Yes. Every list is built to include vegetarian, gluten free and non-dairy options as part of the spread, and you can change that mix to match your team.

### How long do the shopping links stay active?

Each link is set to stay live comfortably past the week it covers, so there is plenty of time to review and order. You can shorten or lengthen that window.

Use this prompt in General Input: https://www.generalinput.com/prompts/get-next-weeks-office-event-groceries-ready-to-order