Samsara
LogisticsConnect Samsara fleet telematics to FlowRunner: live and historical vehicle GPS, driver Hours of Service clocks, driver lists and in-cab messages in the Samsara Driver app. Triggers fire when a vehicle arrives at or leaves a Samsara address.
What This Integration Enables
Samsara is the telematics platform in the cab and on the dashboard for fleets that want one view of their vehicles, their drivers and the addresses they serve. This connector is built for the gap between that dashboard and the load: the times a dispatcher reads off a map and keys into the TMS, and the hours of service a planner checks after the truck is already committed.
Agents read a vehicle's last known GPS position with its reverse-geocoded street address and the Samsara address it is inside, if any, and the points a set of vehicles reported over a time window. They read every driver's Hours of Service clocks: drive, shift and cycle time left, time until the required break, duty status and current vehicle, with the minutes remaining added in whole numbers. They list the organization's drivers and send an in-cab message to one or more of them in the Samsara Driver app. Two triggers start a flow when a vehicle arrives at or leaves a Samsara address. They report the vehicle, not the driver, and they need event subscriptions turned on for the organization under Feature Management. The agent records positions and stop times on its own. When a driver's clock will not cover the next leg, or a dock visit is about to be billed, it stops and asks a person on Slack, email, WhatsApp or phone. That is the default you get with human-in-the-loop: the agent watches every truck, and dispatch makes the decisions that put a driver on the road.
Without FlowRunner
With FlowRunner
Flows you can build with Samsara
-
Arrival and departure written to the stop
A fleet keeps its regular shippers and consignees as addresses in Samsara, each with a geofence. When On Vehicle Arrived at Address fires, the agent reads the address name and the vehicle, finds the truck's open load in McLeod LoadMaster and matches the address to its stop. Set Stop Arrival and Departure records the arrival, and McLeod reads the stop back to confirm it kept the time. When On Vehicle Left Address fires for the same address and vehicle, the departure is written the same way. Dispatch sees the time at the dock next to the appointment window in Slack. A visit inside the customer's free time needs nobody. A long one is a detention claim only if the dispatcher says so, and then Update Load adds the accessorial.
-
Check calls from the truck's GPS
On a schedule, the agent calls List Loads in McLeod for loads In Progress and, for each truck under way, Get Vehicle Location in Samsara. The street address, the time of the fix and the speed become a check call on the load through Add Check Call, with the Samsara address name when the truck is inside one. A customer who asks for updates gets the position and the ETA by Send Message in Gmail. When Samsara returns no location because the vehicle has reported no GPS data, the agent says so in Slack instead of logging a blank, and the dispatcher decides whether to call the driver.
-
Hours of service before the truck is committed
On Load Status Changed fires in McLeod when a load moves to In Progress. The agent reads the driver and the next appointment from the load and calls Get Driver HOS Clocks, which returns the drive, shift and cycle minutes left for every driver, including the one on this load. It compares the drive minutes left with the drive time to the next stop. When the clock covers the leg, the flow ends quietly. When it does not, dispatch gets the driver, the minutes left and the appointment in Slack, and chooses between a relay, a swap and a new appointment. Only on that answer does Send Driver Message tell the driver what changed, in the cab.
Human-in-Loop Highlight
The gate sits on the driver's clock, because Samsara's HOS clocks are the ELD's own record of what the driver may legally do. When Get Driver HOS Clocks shows the drive minutes left are short of the next leg, the agent does not pick an option and it does not message the driver. It posts to dispatch in Slack: "D. Reyes has 2 hours 10 minutes of drive time left and 3 hours 5 minutes to the Amarillo consignee on load 0463208, appointment 4:00 PM. Relay at the Childress yard, swap drivers, or move the appointment?" Send Driver Message goes out only with the dispatcher's answer. A dispatcher who pushes a driver past the clock owns the violation; an agent never should, so the message that puts a truck back on the road is always a person's.
Agent Capabilities
5 actionsVehicles
2- Get Vehicle Location Reads a vehicle's last known GPS position: time, latitude and longitude, speed, heading, the street address and the Samsara address it is inside, if any. The location is empty when the vehicle has reported no GPS data, so the flow can ask a person. Used for check calls and arrival estimates.
- Get Vehicle Locations Reads the GPS points a set of vehicles reported between a start and an end time, oldest first per vehicle, with the Samsara address each point was in. Long ranges come back in pages. Used to reconstruct a trip for a claim or to audit time at a customer's address.
Drivers and Hours of Service
2- Get Driver HOS Clocks Reads every driver's Hours of Service status: drive, shift and cycle time left, time until the required break, duty status and current vehicle, with the minutes remaining in whole numbers. Includes inactive drivers. Used before a dispatch decision that depends on whether the clock covers the leg.
- List Drivers Lists the drivers in the Samsara organization, active ones unless told otherwise, one page at a time. Used to match the driver on a load to a Samsara driver.
Messaging
1- Send Driver Message Sends an in-cab message to one or more drivers in the Samsara Driver app. A person approves any message that changes a driver's plan before the agent sends it. Used to pass along a dock assignment, an appointment change or a relay.
Triggers
2 triggersEvent Triggers
2- On Vehicle Arrived at Address Fires when a vehicle enters the geofence of a Samsara address, with the time, the address name and street address, and the vehicle. Event subscriptions must be turned on for the organization under Feature Management. Used to record arrival at a shipper or consignee on the load.
- On Vehicle Left Address Fires when a vehicle leaves the geofence of a Samsara address, with the time, the address name and street address, and the vehicle. Event subscriptions must be turned on for the organization under Feature Management. Used to record departure on the stop and to decide whether the visit becomes a detention claim.
Frequently asked questions
What can FlowRunner do with Samsara?
FlowRunner agents can run Get Vehicle Location, Get Vehicle Locations, and Get Driver HOS Clocks in Samsara, plus 2 more actions.
Does connecting Samsara to FlowRunner require OAuth?
No. Samsara connects to FlowRunner with an API key, no OAuth flow required.
Can Samsara trigger a FlowRunner workflow automatically?
Yes. Samsara supports 2 triggers that can start a FlowRunner workflow automatically.
Start building with Samsara
Free plan, no card required. Connect in minutes.