Ops · n8n

Build the Week's Roast Plan Straight From Wholesale Orders

Wholesale coffee orders trickle in until roast day chaos. Aggregate the week's orders by origin, roast level and grind, and produce the roaster's batch plan automatically.

difficulty Intermediatesetup 30 minresult Roast day runs from a computed plan — right batches, right sequence, minimal changeover waste.
  1. 1

    Collect the Orders

    Add a Webhook node logging each wholesale order's coffees and quantities.

  2. 2

    Close at Cutoff

    Add a Schedule Trigger closing the roast week's order window.

  3. 3

    Compute the Batches

    Add a Code node totaling per coffee and sequencing light-to-dark.

  4. 4

    Publish the Plan

    Send the roaster the batch plan with green-weight calculations.

  5. 5

    Activate and Test

    Activate the workflow with test orders. Confirm the plan totals correctly.

Frequently asked questions

Why sequence light-to-dark?

Roaster momentum and cleaning economics — the plan encodes what good roasters juggle mentally.

Green inventory too?

Roll planned batches against green stock so you reorder beans before the plan can't be filled.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.