All posts
Projects7/3/2026

Logistics: Fleet Cold-Chain Tracking with Raspberry Pi GPS & n8n

Prove your cold chain in transit. A Raspberry Pi streams truck temperature and GPS to IoTFlow, and an n8n flow alerts dispatch and logs the trip when it drifts.

Logistics: Fleet Cold-Chain Tracking with Raspberry Pi GPS & n8n

Fleet Cold-Chain Tracking

Rejected deliveries are expensive. A Raspberry Pi with a temperature probe and a GPS module streams both to IoTFlow — plotted live on the map — and an n8n flow escalates to dispatch the moment the reefer drifts out of range.

Device code (Raspberry Pi, Python)

iot.send(temperature=read_probe(), gps={"lat": lat, "lng": lng})

The n8n workflow

n8n workflow

Here is the low-code automation that ties it together. In IoTFlow, every device event (telemetry, alert, command) can be forwarded to an n8n Webhook, and n8n calls back into the platform to control the device.

  1. The Webhook receives truck telemetry (temperature + GPS).
  2. An IF node checks whether it is out of range or off-route.
  3. A Slack node alerts dispatch; a Sheets node logs the full trip.

Wire it up in 3 steps

  1. In n8n, add a Webhook node, activate it and copy the Production URL.
  2. In IoTFlow → Automations → New automation, pick the event and paste the URL.
  3. Click Test, then let real device data trigger it automatically.
Tip: bind a Switch or Slider widget to the same virtual pin so you can also control the device by hand from the web or mobile app.

Happy building! 🚀

Reviews

Leave a review