---
name: small-batch-production-and-inventory-planning
description: "Calculates recipe material costs, checks stock lots, and drafts daily workshop production schedules from incoming customer orders. Use when small-batch orders need batch planning, shortage and allergen flags, and run sheets for workshop review."
license: CC-BY-4.0
compatibility: "Needs access to: Database, Spreadsheet, Email."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/small-batch-production-and-inventory-planning/"
  kind: workflow
  hermes:
    tags: ["manufacturing", "inventory", "baking", "operations", "scheduling"]
    category: ops
    requires_toolsets: ["file"]
---
# Small-batch production and inventory planning

Calculate recipe material costs, check stock lots, and draft daily workshop production schedules.

## When to use

Translate incoming customer orders into organized production batches for small-scale manufacturing. The bot rolls up recipe bill-of-materials costs, matches ingredient requirements against inventory lots, flags low stock or allergen constraints, and prepares clear batch run sheets for workshop review.

## Inputs

- `customer_orders`: Incoming customer orders that define product quantities and required batch demand.
- `recipe_versions`: Recorded recipe versions with bill-of-materials components, costs, and allergen constraints.
- `inventory_lots`: Available stock lot records with ingredient quantities and freshness details for matching demand.

## Steps

1. On a schedule: Daily order cutoff (Daily order cutoff triggers aggregation of order demand, stock lot checks, and batch run sheet preparation.). Schedule: `0 0 * * *`
2. Aggregate order demand and lot stock
3. Submit batch run sheets for approval

## Instructions

Inspect new orders to calculate total ingredient and component requirements using recorded recipe versions. Cross-reference demand with available stock lots in the database to detect shortages and track freshness. Generate a daily production batch plan and outline required supplier restocks. Always wait for human approval before creating purchase orders, sending emails, or marking batches as completed.

## Approvals

- Wait for human approval before creating purchase orders.
- Wait for human approval before sending emails.
- Wait for human approval before marking batches as completed.

## Output

Daily batch run sheet with recipe material costs, stock lot matches, shortages, allergen flags, and supplier restock outline. (format: spreadsheet)

## Source

Summarized in our own words from [Show HN: Craftplan – I built my wife a production management tool for her bakery](https://news.ycombinator.com/item?id=46847690) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/small-batch-production-and-inventory-planning/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
