---
title: "Contract driver packet checked and the driver added to Onfleet | FlowRunner flow"
description: "Drivers email their W-9, license and insurance. This flow checks each one, emails back what's missing or expired, and adds approved drivers to Onfleet with the driver app invite."
url: https://flowrunner.ai/flows/onfleet-driver-packet-to-driver-app
date_published: 2026-11-19
date_modified: 2026-11-25T18:03:54-08:00
---

# Contract driver packet checked and the driver added to Onfleet

Drivers email their W-9, license and insurance. This flow checks each one, emails back what's missing or expired, and adds approved drivers to Onfleet with the driver app invite.

## The prompt

When a contract driver emails their onboarding packet to our Gmail inbox, read each attachment and work out whether it's a W-9, a driver's license or a certificate of insurance, with the name and the expiration date. Check that the W-9 is signed and has a taxpayer ID, that the license and the insurance haven't expired, and that we have a mobile number. If anything is missing or expired, reply to the driver with exactly what we still need. If the packet is complete, ask our ops lead in Slack, with Add the driver and Do not add buttons, and wait for the answer. If they approve, add the driver to our Onfleet team so they get the driver app invite, and email them to expect it.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

## The flow

Inside the loop: Each document in the packet

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/onfleet-driver-packet-to-driver-app.json)

-   [Onfleet](https://flowrunner.ai/integrations/onfleet)
-   [Gmail](https://flowrunner.ai/integrations/gmail-service)
-   [Slack](https://flowrunner.ai/integrations/slack)

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. [How importing works](https://docs.flowrunner.ai/manage/flows#importing-a-flow)

## What each step does

1.  New driver packet email Checks your Gmail inbox every 5 minutes for an email with attachments and driver packet, driver onboarding or driver application in the subject.
2.  Read the document Saves each attachment, and an AI agent reads it: a W-9, a driver's license, a certificate of insurance or something else, with the name, the expiration date and whether the W-9 is signed. It never copies out a Social Security number, EIN or license number.
3.  Pull the driver's details A second AI agent takes the driver's name, mobile number and vehicle from the email and the documents.
4.  Packet complete? Checks for a signed W-9 with a taxpayer ID, a license and an insurance certificate that haven't expired, and a mobile number. If anything is missing, the driver gets a reply in the same email thread listing exactly what to send.
5.  Ask the ops lead A complete packet goes to the ops lead in Slack with the driver, the vehicle, a line on each document with a link to it, and two buttons, Add the driver and Do not add.
6.  Wait for the ops lead's answer The run waits for the click. Do not add leaves Onfleet alone and says so in the Slack thread.
7.  Add the driver to Onfleet Add the driver creates the driver on your Onfleet team with their vehicle. Onfleet texts them the driver app invite, a reply tells the driver to expect it, and the Slack thread is updated.

## Need a custom driver onboarding 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=flows.aside&utm_term=onfleet-driver-packet-to-driver-app)

## Before you turn it on

-   Connect your Gmail and Slack accounts, and enter your Onfleet API key.
-   Add your Anthropic key in the flow setting Anthropic key.
-   Copy the URL of the block Wait for the ops lead's answer into the flow setting Answer link. The Slack buttons open it.
-   Set the flow setting Driver team to the ID of the Onfleet team new drivers join, and Company name to the name drivers know you by. It signs the emails.
-   Ask drivers to put driver packet in the subject, or change the search in New driver packet email. Narrow it to your onboarding inbox if it shares a mailbox.
-   Pick your ops channel in the three Slack steps.

[Everything FlowRunner does with Onfleet](https://flowrunner.ai/integrations/onfleet)

---
Markdown version of https://flowrunner.ai/flows/onfleet-driver-packet-to-driver-app. Site index: https://flowrunner.ai/llms.txt
