---
title: "Samsara Integration"
description: "Connect 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."
url: https://flowrunner.ai/integrations/samsara
date_modified: 2026-12-02T08:59:36-08:00
---

# Samsara

[Logistics](https://flowrunner.ai/integrations/category/logistics-fulfillment)

Connect 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.

[Verified](https://flowrunner.ai/integrations/verified "What does verified mean?") · 2 triggers · 5 actions · API key · available

[Samsara website](https://www.samsara.com/) · [Platform Documentation](https://developers.samsara.com/) · Capability data verified 2026-12-01

1.  On Vehicle Arrived at Address fires at a shipper's dock
2.  Address name, street address, arrival time and vehicle read from the event
3.  The address is matched to the pickup stop on the truck's open McLeod load
4.  Set Stop Arrival and Departure records the arrival on the stop
5.  On Vehicle Left Address closes the visit with the departure time
6.  Dispatch sees the time at the dock next to the appointment window in Slack
7.  Dispatcher decides whether the wait becomes a detention claim

## 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](https://flowrunner.ai/concepts/human-in-the-loop): the agent watches every truck, and dispatch makes the decisions that put a driver on the road.

### Without FlowRunner

**Position by phone**: A check call is a dispatcher's phone call and a line typed into the TMS afterward

**Dock times unproven**: Arrival at a shipper is whatever the driver wrote on the BOL, if anything

**Clocks read after the fact**: A driver's remaining hours come up when the ELD stops the truck short of the consignee

### With FlowRunner

**Check calls from GPS**: The truck's last known position and street address go on the load on a schedule

**Visits timed by the address**: Arrival and departure at a Samsara address land on the stop with the vehicle that made them

**Clocks checked before the leg**: Drive, shift and cycle minutes left are weighed against the next appointment while there is still time to act

## 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](https://flowrunner.ai/integrations/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](https://flowrunner.ai/integrations/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](https://flowrunner.ai/integrations/gmail-service). 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](https://flowrunner.ai/integrations/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 processes routinely

Detects exception requiring judgment

Clear match Continues automatically

Ambiguous Routes to human via Slack

Human decides

Agent resumes with decision

## Agent Capabilities

5 actions

### Vehicles

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 triggers

### Event 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.

**Work at Samsara?** This integration exposes Samsara to AI agents on every FlowRunner plan, including through MCP, at no cost to you. [See what FlowRunner offers integration partners](https://flowrunner.ai/integrations/partners), including how to keep this page current.

## Need a custom Samsara automation? Our team can build it for you.

Tell us the process. Our implementation team at Midnight Flow builds it around how you work, tests it on your real data, and keeps it running, in your own FlowRunner workspace.

[Have us build it](https://midnightflow.ai/packages/custom?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=general&utm_content=integrations.aside&utm_term=samsara)

---
Markdown version of https://flowrunner.ai/integrations/samsara. Site index: https://flowrunner.ai/llms.txt
