Season 4 · Challenge 12 Fictional customer

North Pole LogisticsGlobal Fulfilment

It’s Christmas Eve. A sleigh is running late on the Pacific route. Help Comet work out which deliveries can switch sleighs and how many gift parcels will move.

The fastest eligible C12 finisher wins one month of n8n Cloud Pro. Prize rules

A sleigh leaves the snowy workshop. At the delay marker, a spare sleigh offers a second path to the Pacific route.
Scheduled route Spare route

Your task

  1. For each of the 12 deliveries, subtract the promised minute from the estimated minute. Keep checking only if the delay is greater than your grace period.
  2. Check that delivery’s reserved spare. It must be ready, serve the same route and fit every parcel. Skip the delivery if there is no suitable spare.
  3. Count the deliveries that switch sleighs. Add up the parcels on those deliveries. Submit those two totals and your workflow JSON.

View starter on n8n

Read the full rule

Subtract the promised minute from the estimated minute. If the delay is at or below your grace period, keep the original sleigh.

For a later delivery, check its own reserved spare. It must exist, be ready, serve the same route and have room for every parcel. An exact fit counts. If any check fails, leave that delivery for the dispatcher.

Return two whole numbers: the number of deliveries that change sleighs and the number of parcels on those deliveries. Never split a delivery or borrow another delivery’s spare.

Field definitions
grace_minutes
The allowed delay for all 12 deliveries in your dispatch list.
delivery_id, route
A delivery’s label and route. Compare route names exactly as supplied.
promised_minute, estimated_minute
Whole minutes from the same shift start, including after midnight.
parcels
The number of parcels travelling on this delivery.
spare
The reserved sleigh with its route, ready flag and parcel capacity. A null value means no spare is available.

Questions and discussionSeason 4 announcement

Your run

Timer has not started

Your first personal fetch here or in n8n starts your timer.

Entries close

Register for a participant keyRecover your key

Challenge 12 only

One month of n8n Cloud Pro

The shortest time from your first personal data fetch to your accepted submission wins. The organiser will send the eligible winner a coupon by private message on the n8n Community.

Use the starter and n8n documentation. Build the workflow and calculate both answers yourself, without AI assistance or a shared solution.

Prize eligibility and tie rules