Ballpoint Marketing

Production Dashboard

Dashboard

๐Ÿšจ
2 Order(s) Past Due
BP-28805, BP-28806
View Due Today โ†’
Overall Production Pace
11,071 / 11,143 pcs/day โ— On Track
4.2
Avg Days to Ship
83%
On-Time Rate
2.1
Days to Clear
11
Active Orders
Click to view โ†’
8
In Production
Click to view โ†’
2
Overdue
Click to view โ†’
2
Low Stock
Click to view โ†’
3.8%
Avg Waste
Click to view โ†’

Orders by Source

Pipeline Status

All Orders (12)
Search matches order ID, campaign fields, customer/recipient names, and available address metadata.
Order Source Customer Qty Product Status Due Actions
0
Orders Need Action Today
0 Overdue
0 At Risk
0 On Track
โœ…
All Caught Up!
No orders require action at this station today.
๐Ÿ“ฅ Pull More Work
Upcoming orders at this station (not yet due today)
2
Low Stock Items
20
Total Materials Tracked
3.8%
Avg Waste Rate
2
Pending Reorders

Bill of Materials Configuration

Define material usage per piece for each product type. These values are used to calculate expected consumption and identify waste.

Material Postcard Printed Letter Hybrid Fully Written Unit
Envelope per piece
Postage
Forever Stamp per piece
Presort Stamp per piece
Printed Postage
(Indicia)
per piece
Paper Stock
Letter Paper
(8.5x11)
sheets per piece
Insert Stock sheets per piece
Postcard Stock per piece
Ink & Toner
Black Toner % of cartridge
Color Toner % of cartridge
Pens (Robot Writing)
Blue Pen % of cartridge
Black Pen % of cartridge

Unit Conversion Reference

Use these guidelines to calculate your usage percentages:

๐Ÿ“ Pen Cartridges
If 1 cartridge writes ~500 envelopes:
1 piece = 0.2% of cartridge
(100 รท 500 = 0.2)
๐Ÿ–จ๏ธ Toner Cartridges
If 1 cartridge prints ~5,000 pages:
1 piece = 0.02% of cartridge
(100 รท 5000 = 0.02)
๐Ÿ“„ Paper (Ream = 500 sheets)
If tracking by case (10 reams):
1 sheet = 0.0002 cases
(1 รท 5000 = 0.0002)

Expected Usage Calculator

Based on current BOM settings and recent production:

LAST 7 DAYS PRODUCTION
Postcards:
52,000
Printed Letters:
8,800
Hybrid:
12,500
Fully Written:
4,200
EXPECTED MATERIAL USAGE

Waste Analysis

Comparing expected usage (based on orders shipped) vs actual consumption to identify waste, misprints, and potential theft.

4.5%
Highest: Floral Envelopes
0.8%
Lowest: Presort Stamps
12.5%
Flag: Blue Ink Pens โš ๏ธ
Material Scheduled Ordered Expected Use Actual Use Variance Status

Station Time Tracking

Comparing expected vs actual time per piece by station. Identifies efficiency gaps and helps optimize scheduling.

Expected Time Per Piece (seconds)

Configure expected processing time per piece for each station and product type. Used to calculate efficiency variance.

Station Postcard Printed Letter Hybrid Fully Written Unit
๐Ÿ“ฅ Incoming sec/piece
๐Ÿ“‹ Prep sec/piece
๐Ÿ–จ๏ธ Printing sec/piece
โœ๏ธ Writing sec/piece
๐Ÿ“จ Inserting sec/piece
๐Ÿ“ฆ Shipping sec/piece
Capacity Reference: At 14 sec/piece = 257/hr (hybrid writing). At 24 sec/piece = 150/hr (fully written). At 1.4 sec/piece = 2,571/hr (postcard printing).

Station Performance Log

Date Order Station Product Pieces Expected Actual Variance Operator
โœ…
QA tracking coming soon

Active Integrations

Order sources feeding into the production dashboard.

PS
PropStream
via Ballpoint API โ€ข 2-day SLA
Connected
1,247 orders MTD
SF
SoldFast
via Ballpoint API โ€ข 2-day SLA
Connected
892 orders MTD
๐Ÿ›’
Shopify
via Shopify API โ€ข 7-day SLA
Connected
156 orders MTD
๐Ÿ“ค
Manual Upload
CSV import โ€ข 5-day SLA
Always Available
43 orders MTD

Webhook Endpoints

Incoming order webhooks from integration partners.

POST /webhooks/propstream
Last: 3 min ago Today: 47 events Errors: 0
POST /webhooks/soldfast
Last: 12 min ago Today: 31 events Errors: 0
POST /webhooks/shopify
Last: 2 hr ago Today: 8 events Errors: 0

Outbound Webhooks (Status Updates)

OUT order.status_changed
Sent: 156 today Failed: 2 Retry queue: 0

Recent API Activity

Time Source Event Order ID Details Status
2 min ago PropStream order.created BP-28813 1,250 pieces โ€ข Hybrid Letter Success
8 min ago SoldFast order.created BP-28812 500 pieces โ€ข Written Letter Success
15 min ago PropStream order.created BP-28811 2,100 pieces โ€ข Postcard Success
1 hr ago Shopify order.created BP-28810 100 pieces โ€ข Hybrid Letter Success
2 hr ago Manual order.created BP-28809 750 pieces โ€ข Written Letter Success
Group compatible orders for single Accuzip runs. Advancing a batch updates each order's status via the API individually โ€” PropStream and partners see normal per-order updates.
๐Ÿ’ก Batching is dashboard-only. The API receives individual PATCH /orders/{id}/status calls per order. Partners are unaware of batching.
Active Batches
Completed
Polling every 30s
System Status
API Health
โ€”
Waiting for health check...
Queue Depth
โ€”
Server + dashboard retry queues
Last Processed Event
โ€”
From ingest/webhook metrics
Webhook Receiver
โ€”
No webhook diagnostics yet
Last Correlation ID
โ€”
Shown on API errors
No API errors captured in this session.
โ€”
Loading...
Database
โ€”
Loading...
Ingest Queue
โ€”
Loading...
Order Queue
โ€”
Loading...
Workers
โ€”
Active Alerts
โ€”Waiting for first health check...
Metrics

Requests

Totalโ€”
4xx Errorsโ€”
5xx Errorsโ€”

Ingest Pipeline

Jobs Createdโ€”
Completedโ€”
Failedโ€”
Dead Letterโ€”
Events Processedโ€”

Webhooks

Sentโ€”
Deliveredโ€”
Failedโ€”
Retriesโ€”
Database Pool
Pool Size
โ€”
Free
โ€”
Utilization
โ€”
Endpoint Performance
EndpointRequestsp50p95p99Latency
Waiting for metrics data...
Circuit Breakers
Loading circuit breaker states...
Manage who can access the dashboard, what they see, and which stations they're assigned to.
PersonRoleStationsModulesStatusActions
Robot fleet availability summary.
Total Robots
โ€”
Functional
โ€”
Maintenance
โ€”
Per-shift production targets by station. Used for pacing calculations and SLA compliance.

Authentication Method

๐Ÿ“ง
Email OTP (One-Time Password)
All users receive a 6-digit code via email. No passwords to manage or forget.
Active
๐Ÿ”
TOTP Two-Factor Authentication
Required for all Management role users. Google Authenticator, Authy, 1Password, etc.
Required for Management

Security Settings

OTP Code Expiry
How long email codes remain valid
10 minutes
Session Duration
Auto-logout after inactivity
8 hours
Max OTP Attempts
Lock account after failed attempts
5 attempts
Allowed Domain
Only these email domains can sign in
@ballpointmarketing.com

Offline Queue Safety

Management-only emergency action. Clears queued offline order payloads for the currently signed-in user profile.
โš  This permanently deletes unsynced queued order data and cannot be undone.

Backend Implementation Notes

When deployed at dashboard.ballpointmarketing.com, the auth flow will be:
1. POST /auth/send-code โ€” sends OTP to the user's email via SES/SendGrid
2. POST /auth/verify-code โ€” validates OTP, returns short-lived session token. If user is management role, returns requires_totp: true
3. POST /auth/verify-totp โ€” validates authenticator code, upgrades session to full access
4. Session stored as HttpOnly, Secure, SameSite=Strict cookie with 8h expiry. Dashboard currently uses sessionStorage as interim; migrate to cookie-based auth when backend is deployed.
5. TOTP enrollment: Management users set up authenticator on first login via QR code from POST /auth/enroll-totp

โš  Server-side authorization (required for production):
6. Session tokens must encode role, allowed_stations, and allowed_modules as JWT claims (or store server-side and validate per request)
7. All API endpoints must enforce role-based access: employees may only read/write orders at their assigned station(s); management-only endpoints (/batches, /reports, /staff, /sla) must return 403 for employee tokens
8. GET /orders must filter by employee's station scope server-side โ€” never trust client-side filtering alone
9. PATCH /orders/:id/status must verify the operator has permission for that station before accepting the transition
10. GET /orders?q=... (server search) must also enforce station-scoped results for employee sessions
11. Before go-live, complete and archive a targeted authorization middleware audit for all dashboard-consumed endpoints (see deploy/developer-integration-checklist.md)

Service Level Agreements by Source

Define turnaround times for each order source. Integration orders have faster SLAs.

Source
Type
Standard
Rush
PropStream
Integration
days
days
Deal Machine
Integration
days
days
SoldFast
Integration
days
days
Shopify
Online Store
days
days
Manual
Manual
days
days

* All times in business days

Processing Time by Product Type

Hours required per stage. Variable stages scale with order quantity.

Product
Prep
Print/Write
Insert
Total Est.
Postcard
2h fixed
3h/1k
1.5h/1k
~6h
Printed Letter
2h fixed
4h/1k
2h/1k
~9h
Hybrid
3h fixed
2h + 6h/1k
2h/1k
~15h
Fully Written
2h fixed
10h/1k
1.5h/1k
~16h

* Times are estimates for 1,000 piece orders. Larger orders scale proportionally.

Station Capacities

Maximum throughput per hour for scheduling calculations.

๐Ÿ–จ๏ธ
pcs/hr
Print Station
โœ๏ธ
pcs/hr
Writing Robots
๐Ÿ“จ
pcs/hr
Inserting Line
๐Ÿ“ฆ
pcs/hr
Shipping Prep

Daily Production Summary

to
Date Pieces In Pieces Out Active Orders In Production Completed Overdue Low Stock Items

Staff Performance vs Station Capacity

Operator Station Orders Processed Pieces Handled Avg Time/Order vs Expected Efficiency

Missed Due Today Tasks

Order Customer Station Should Have Completed Actual Status Hours Behind Impact