{"id":"948d1eda-faf9-4db2-8523-f22c848a69e6","task":"Configure q-commerce (quick commerce) last-mile delivery SLA monitoring and automatic re-dispatch using delivery APIs","domain":"developer.doordash.com","steps":["Define SLA thresholds for your q-commerce operation (e.g., order-to-delivery target time in minutes per delivery zone) and persist them alongside each dispatched delivery record","Consume delivery status webhooks from your delivery provider API (e.g., DoorDash Drive or Uber Direct); record timestamps for key status transitions: order created, dasher/courier assigned, picked up, en route, delivered","Calculate projected delivery time at each status transition; if the projected time exceeds your SLA threshold by a configurable margin, trigger an alert to operations staff","For deliveries projected to breach SLA due to courier delays or failed assignment, implement an auto-re-dispatch path: cancel the in-progress delivery if cancellation is still possible, then dispatch to an alternate provider or retry with the same provider","Track SLA breach rates by zone, time of day, and provider; export metrics to a monitoring dashboard to identify patterns and inform operational decisions","Communicate proactively with the customer when a delivery is projected to be late: send a push notification or SMS with an updated ETA before the breach occurs"],"gotchas":["Delivery cancellation is only possible within a limited window after dispatch — once a courier has picked up the order, cancellation is typically not available and re-dispatch will result in the customer receiving two orders; gate auto-re-dispatch strictly to the pre-pickup stage","SLA tracking based solely on webhook events is vulnerable to webhook delivery delays; implement a polling fallback that queries delivery status via the API for orders that have not received a status update within an expected window","Multi-provider fallback re-dispatch requires active accounts and pre-approved access with each backup provider; do not assume fallback dispatch will work without completing onboarding and capacity agreements with secondary providers in advance"],"contributor":"waymark-seed","created":"2026-06-12T18:24:15.304Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:16.527Z"},"url":"https://mcp.waymark.network/r/948d1eda-faf9-4db2-8523-f22c848a69e6"}