---
title: "Failed and short deliveries in Detrack reviewed as OS&D by dispatch | FlowRunner flow"
description: "Each evening this flow reads every failed or short delivery in Detrack and asks dispatch in Slack to reattempt, open an OS&D claim, or leave it."
url: https://flowrunner.ai/flows/detrack-delivery-exceptions-to-osd-review
date_published: 2026-11-18
date_modified: 2026-11-18T16:18:59-08:00
---

# Failed and short deliveries in Detrack reviewed as OS&D by dispatch

Each evening this flow reads every failed or short delivery in Detrack and asks dispatch in Slack to reattempt, open an OS&D claim, or leave it.

## The prompt

Every evening, find the deliveries Detrack shows as failed or delivered short today. For each one, pull the delivery record and the POD with the driver's photos and notes, and work out what happened: refused, short, damaged or not delivered, which pieces, and how many attempts so far. Ask dispatch in Slack with Reattempt tomorrow, Open OS&D claim and Leave it buttons, and wait for the answer. On a reattempt, book the load again for tomorrow in Detrack. On a claim, email our claims inbox with the details and the POD attached. Confirm what was done in the Slack thread.

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

## The flow

Inside the loop: For each delivery exception

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/detrack-delivery-exceptions-to-osd-review.json)

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

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.  Find failed and short deliveries Every evening, searches Detrack for today's deliveries that closed as failed or partially completed.
2.  Export the POD For each one, reads the delivery record and exports the POD with the driver's signature, photos and notes.
3.  Read the exception An AI agent reads the record and the POD and says what happened: refused, short, damaged or not delivered, which pieces, and how many attempts the load has had.
4.  Ask dispatch Posts the load to dispatch in Slack with what happened, a link to the POD, and three buttons: Reattempt tomorrow, Open OS&D claim and Leave it.
5.  Wait for dispatch's answer The run waits for the click before it moves to the next load. Leave it changes nothing.
6.  Reattempt tomorrow Reattempt tomorrow books the load for another delivery attempt the next day in Detrack and says so in the Slack thread.
7.  Send the OS&D claim Open OS&D claim emails your claims inbox from Gmail with the exception, the pieces affected and the POD attached, and confirms in the Slack thread.

## Need a custom OS&D review 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=detrack-delivery-exceptions-to-osd-review)

## Before you turn it on

-   Enter your Detrack API key, connect your Slack and Gmail accounts, and add your Anthropic key in the flow setting Anthropic key.
-   Copy the URL of the block Wait for dispatch's answer into the flow setting Answer link. The Slack buttons open it.
-   Set the flow setting Claims email to the inbox that handles OS&D claims, and Time zone to your dispatch time zone. It starts as America/Chicago.
-   Pick your dispatch channel in the three Slack steps.
-   Set the flow's schedule to run every evening after your last deliveries close.

[Everything FlowRunner does with Detrack](https://flowrunner.ai/integrations/detrack)

---
Markdown version of https://flowrunner.ai/flows/detrack-delivery-exceptions-to-osd-review. Site index: https://flowrunner.ai/llms.txt
