Fulfillment Overview
The order fulfillment process consists of three main stages:- Label Generation: Create shipping labels through Venndelo integration
- Pickup Request: Schedule carrier pickup for ready orders
- Tracking & Delivery: Monitor shipment status until delivered
All fulfillment operations integrate with Venndelo’s API. Ensure your
VENNDELO_API_KEY is configured.Order Processing Workflow
Identify New Orders
Filter by Por Procesar (DETAILS) status to see orders needing labels:These orders show a Generate Label button (printer icon).
Eligible Statuses
Verify Order Details
Check each order for:
- Complete shipping address (address_1, city, phone)
- Valid product line items
- Correct payment status
- Customer contact info (email/phone for notifications)
Generate Shipping Label
Click the printer button on the order row. This triggers:Backend Process (
/api/admin/generate-label):Label Generation Technical Flow
Label Generation Technical Flow
Label Generation Process
Download/Print Label
- Label PDF opens in new tab automatically
- Toast notification provides manual link if popup blocked
- Print 10x15cm thermal label or standard paper
Requesting Carrier Pickup
Once labels are generated, schedule pickup:Click Request Pickup
Yellow Solicitar Recogida button appears on READY_TO_SHIP orders.Confirm the action when prompted.
Label Generation Statuses
Success Response
Processing Response
Error Response
- Insufficient balance: Prepaid account needs funding
- Invalid address: Missing or incorrect shipping details
- Shipment already exists: Safe to ignore, proceed to generate label
Email Notifications
When labels are generated successfully, customers receive automated emails: Email Content:- Order confirmation with readable ID (PIN)
- Tracking number
- Carrier name
- PDF label attachment (optional)
- Link to tracking page:
https://kaiu.com.co/rastreo?guide={trackingNumber}
Email Trigger (generate-label.js:136-182)
Email sending is async/non-blocking to prevent label generation delays. Check logs for email delivery status.
Tracking & Monitoring
Shipment Sync
Manually sync tracking updates:Backend Sync Process
Endpoint:
/api/admin/sync-shipmentsQueries Venndelo for updated shipment statuses and tracking events.Tracking Number Display
In the order table, the Rastreo column shows:Tracking Display
Fulfillment Best Practices
Morning Batch Processing
Process all new orders first thing each day. Generate labels in batch for efficiency.
Verify Addresses
Double-check addresses for COD orders before generating labels to avoid failed deliveries.
Coordinate Pickups
Request pickups only when packages are ready. Group multiple orders for same-day pickup.
Monitor Transit Times
Sync tracking daily. Follow up on shipments in transit > 5 days.
Handling Special Cases
Reprint Lost Labels
If a label is lost or damaged:- Find the order (use search or filter by READY_TO_SHIP)
- Click the printer icon (now shows as “Reimprimir Guía”)
- Same PDF will be regenerated from Venndelo
Cancel a Shipment
To cancel after label generation:- Contact Venndelo support (no API endpoint yet)
- Manually update order status to CANCELLED in database
- Release inventory if needed
Failed Deliveries
If carrier marks delivery as failed:- Check tracking for reason (address issue, customer unavailable)
- Contact customer to verify/update address
- Coordinate re-delivery with carrier
- Sync shipments to update status
COD Order Workflow
Cash on Delivery orders require special handling:Troubleshooting
Label Generation Fails
Symptom: Error message after clicking generate label. Solutions:- Check Venndelo account balance (prepaid carriers)
- Verify shipping address is complete and valid
- Ensure product dimensions/weight are configured
- Check backend logs for API error details
Pickup Not Requested
Symptom: Button disabled or missing. Solutions:- Verify order status is exactly READY_TO_SHIP
- Ensure label was generated successfully first
- Check that shipment exists in Venndelo
Tracking Not Updating
Symptom: Tracking number shows but status stale. Solutions:- Click Sincronizar to force update from Venndelo
- Check carrier’s website directly with tracking number
- Allow 24-48 hours for carrier to scan packages
Email Not Received
Symptom: Customer didn’t get shipping notification. Solutions:- Check backend logs for email sending errors
- Verify customer email in order shipping_info
- Check spam/junk folder
- Ensure email service credentials are configured
Next Steps
Admin Portal
Return to admin portal overview
Payment Integration
Learn about payment processing and webhooks