Stop guessing when to reorder inventory
RoastFlow analyzes your sales velocity and lead times to predict exactly when you need your next green bean purchase
$pip install roastflow-cli Predict reorder points from your data
RoastFlow ingests your historical sales and parses lead time variance so you know precisely what to order and when
- Connects to your POS or CSV export in minutes
- Models seasonal and promotional dips automatically
- Adjusts for supplier lead time variance
```python
from roastflow import ForecastEngine
engine = ForecastEngine(
sales_history='./exports/sales.csv',
lead_times='./data/suppliers.json'
)
reorder = engine.predict_next_order(
sku='ethiopia-yirgacheffe-250',
target_stock=45
)
print(reorder)
# { 'order_qty': 24, 'eta_days': 5, 'confidence': 0.87 }
``` Get notified before you run dry
Set min/max thresholds per SKU. RoastFlow monitors your current stock against predicted demand and alerts you with lead time in mind
- Configurable per green coffee origin
- Slack and email notifications included
- Respects your supplier prep windows
```yaml
# roastflow.yaml
alerts:
channels:
- slack:#roastery-ops
- email: ops@coldspringcoffee.com
watchlist:
- sku: colombia-huila-250
min_stock: 20
max_stock: 60
lead_days: 4
``` Sync roastery stock levels in real-time
Pull current inventory from your ERP, roastery software, or custom webhook. RoastFlow keeps a live view of what's on your floor
- Integrates with Cropster, Roastlog, DEAR ERP
- Custom REST webhook ingestion
- Bi-directional sync for outbound sales
```python
from roastflow.webhooks import InventorySync
sync = InventorySync(api_key='rf_live_...')
# Sync current stock from Cropster
result = sync.push(
source='cropster',
data={'on_hand': [{'sku': 'guatemala-antigua', 'kg': 42}]},
timestamp='2025-01-15T08:00:00Z'
)
print(result.updated_skus)
# ['guatemala-antigua', 'kenya-aa-plus']
``` Common questions
How does RoastFlow calculate reorder points?
RoastFlow uses a time-series forecast (GARCH-lite) fed by your historical sales velocity, factoring in supplier lead time variance and seasonal patterns. It runs a simple safety stock formula: `(demand_during_lead × lead_time_cv) + (z_score × forecast_std)` to give you a reorder point that considers demand uncertainty. The output includes confidence intervals.
No statistics degree required. You tune by adjusting your z-score preference (default: 1.65 for 95% service level) and RoastFlow handles the rest.
You can also import a custom demand model if you already have one built out.
What data do I need to get started?
You need a minimum 90 days of sales history (POS export or CSV), plus supplier lead time estimates per SKU. That's it for basic forecasting.
For the full experience, we'd also pull: current on-hand stock levels, any upcoming contract changes, and seasonal availability flags. RoastFlow has import templates for Cropster, Roastlog, and generic CSV.
If you're starting from scratch and only have purchase orders, RoastFlow can backfill a demand proxy using your reorder history as a signal. Accuracy improves with 6+ months of data.
Can I integrate with my existing roastery software?
Yes. We ship native integrations with Cropster, Roastlog, and DEAR ERP. For everything else, we offer a bi-directional REST webhook and CSV sync.
The integration setup is typically a 15-minute job: paste your API key, map your SKU naming convention to RoastFlow's format, and you're live.
We don't currently support Lightspeed, Square for Retail, or older QuickBooks versions. Check our integrations page for the full list.
How does pricing work?
RoastFlow is $150/month per SKU catalog. Most small roasters (under 15 SKUs) pay between $150-$300/month.
No seat-based pricing. No per-alert fees. Just unlimited reorder predictions and up to 50,000 API calls per month.
We offer a 14-day trial with full access. No credit card required. If you're on a wholesale contract for 500kg+/month, ask us about roastery-scale pricing.
Is my data safe and private?
RoastFlow stores your inventory and sales data in an encrypted Postgres instance (AES-256 at rest, TLS 1.3 in transit). Your data is never used to train shared models.
You own your data. Export or delete it at any time via the dashboard. We're SOC 2 Type II compliant and our infrastructure runs on AWS us-east-1.
For enterprise customers needing EU or local-region hosting, contact us directly for a private deployment option.
What if my supplier changes lead times suddenly?
RoastFlow monitors for lead time variance. If your supplier suddenly adds 2 days to their prep window, RoastFlow flags the delta and recalculates your reorder point in the next batch run.
You can also set manual lead time overrides per supplier if you know a contract is about to change. The system will respect your override for a configurable window (default: 7 days) before reverting to the model-based estimate.
For high-volatility origins (Ethiopia, Colombia highlands), we recommend setting a wider safety stock buffer or using a Monte Carlo scenario to stress-test your reorder policy.
Your next reorder shouldn't be a guess
Set up RoastFlow in your terminal in under two minutes. No spreadsheets. No prayer.