Skip to templates
AI Craft Pad
Operations · ORIGINAL TEMPLATE

Prepare an inventory reorder review

Find stock at or below a defined threshold and suggest review quantities.

Browser + n8n starterMIT · AI Craft PadUpdated 2026-11-02

What this template does

Compare available stock with each SKU minimum. When stock reaches the minimum, calculate the nonnegative difference to the target. An approval flag remains attached to every suggestion.

Prepare these inputs

SKU, current stock, minimum and target as nonnegative integers, with target at least minimum. These thresholds must come from your own replenishment policy.

Field map: sku, stock, minimum, target

TRY THE WORKING DATA STEP

From input to reviewable output.

Use the synthetic example or edit its JSON structure. This demo sends no input to an AI service or our server. Keep real personal data in your approved environment. Up to 1,000 records and 100 KB of JSON.

Ready. Run the sample to inspect the result.

Use the starter in n8n

  1. Download the JSON and import it using n8n’s import-from-file option. Keep it unpublished.
  2. Inspect the three nodes: Manual start → Sample input → Reviewable output. Run it manually with the synthetic example.
  3. Compare records, rejected and the counts with the demo here. The output is one item containing an envelope; split the records array if a later node expects individual items.
  4. Replace Sample input with an approved source only after mapping its data to the same single-item JSON structure shown above. Supply an explicit as_of where required.
  5. Add a separate review or approval step before any external write. Test credentials and permissions in your own environment, then decide whether a schedule is appropriate.

The download has no live connector, schedule, credential or external request. Connecting a mailbox, CRM, spreadsheet or notification destination is a separate setup and test.

Download n8n starter JSON

SHA-256: db154a7419323fd23081687fa62a8d2a631c803fc499b522cf45bf86a135b94b

Limits and review points

Reserved stock, supplier lead times, packs and pending purchase orders are not modeled. Review those before turning a suggested quantity into an order.

Rejected rows are returned with their one-based input position and a reason. Review them before using the result; an empty output can be a valid outcome. Unknown or malformed top-level inputs produce an error instead of a guessed result. Keep an untouched input export for reconciliation.

Run costs and data handling

The browser step has no service fee, API call or account requirement. It uses no browser storage for your input. Ordinary website access logs still apply. Downloaded results are saved only when you request them. Your own n8n hosting, cloud plan and any later connected service may have charges; no paid AI model is required by this starter.

More useful data steps