Tell staff exactly which batch to pull before it expires
- Level Intermediate
- Setup1–3 hrs (estimated)
- Evidence Anecdotal
- CostNot stated in source
- No-codeNo
What they did
A supermarket ops lead built an n8n workflow that grades each stock batch by days to expiry, oldest first per SKU, and names the exact batch to pull and how much fresh stock to leave alone. If nothing is urgent, it sends nothing.
How it went
Real operator; clear design notes (grade on days not quantity, suppress empty runs)
Worth knowing
- Real operator; clear design notes (grade on days not quantity, suppress empty runs).
Prompt
Cleaned version rewritten from the source — not a direct quote.
Each morning, read batch-level stock with expiry dates from [sheet]. Group by SKU, sort oldest first, and grade each batch expired / urgent / promote / watch by days remaining. Send [WhatsApp/Slack] instructions naming the exact batch to pull and the fresh stock to leave. If nothing is urgent or expired, send nothing.
Recommended
Try it in Grok Bot
- Copy the prompt (button below).
- Open Grok Bot chat and paste it. Replace any [bracketed] placeholders.
- Connect the listed tools (Slack, WhatsApp) as connectors when Grok Bot asks.
- If the task repeats, ask: "Make this a daily routine."
Alternatives: the same prompt works in n8n, Claude, ChatGPT Agent, OpenClaw.
Set it up
Tools: Slack, WhatsApp · Stack: n8n
- Read the original source for full context.
- Connect the tools your agent needs.
- Paste the prompt and replace [bracketed] placeholders.
- Run once manually and check the output before scheduling it.
Generic suggested steps, not from the source.
Evidence
Real operator; clear design notes (grade on days not quantity, suppress empty runs)
Source: Web · Verified by us: not yet · Report broken or outdated