---
title: "POD checked for OS&D and piece count before billing in McLeod | FlowRunner flow"
description: "Carriers email PODs. Textract reads the signature, piece count and handwritten notes. A clean POD moves the McLeod load to ready to bill; exceptions go to claims or billing."
url: https://flowrunner.ai/flows/aws-textract-pod-checked-before-billing
date_published: 2026-11-27
date_modified: 2026-11-28T11:55:38-08:00
---

# POD checked for OS&D and piece count before billing in McLeod

Carriers email PODs. Textract reads the signature, piece count and handwritten notes. A clean POD moves the McLeod load to ready to bill; exceptions go to claims or billing.

## The prompt

When a carrier emails a POD to our billing inbox in Gmail, read the BOL and PRO number, the piece count, who signed and the delivery date, check that it's signed, and pick out anything handwritten that says short, damaged, refused or OS&D. Find the load in McLeod by the BOL, or by the PRO if there's no BOL. If there's no match, send the POD to billing in Slack. If there is, file the POD on the load. When the POD is signed, has no OS&D notes, the piece count matches McLeod and the load is delivered, mark it ready to bill. If there are OS&D notes, ask the claims lead in Slack with Bill it as delivered and Hold billing for a claim buttons. Any other problem goes to the billing lead with Mark ready to bill and Hold the load buttons. Wait for the answer either way.

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

## The flow

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/aws-textract-pod-checked-before-billing.json)

-   [AWS Textract](https://flowrunner.ai/integrations/aws-textract)
-   [Gmail](https://flowrunner.ai/integrations/gmail-service)
-   [McLeod LoadMaster](https://flowrunner.ai/integrations/mcleod-loadmaster)
-   [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 POD email Checks your Gmail inbox every 5 minutes for an email with POD, proof of delivery or delivery receipt in the subject, and saves the attached POD.
2.  Read the POD Textract reads the BOL and PRO, the piece count, who signed and when, finds the signatures, and marks which lines on the page are handwritten. A POD it can't read goes to billing in Slack with the reason.
3.  Find the load in McLeod Looks the load up by BOL, or by PRO when there's no BOL, and files the POD on it in McLeod Imaging. When nothing matches, the POD goes to billing in Slack to file by hand.
4.  POD clean? A signed POD with no handwritten short, damaged or refused notes, a piece count that matches McLeod and a delivered load goes straight to ready to bill, with no one asked.
5.  Ask the claims lead A POD with OS&D notes goes to the claims lead in Slack with each note as written, both piece counts, a link to the POD, and two buttons, Bill it as delivered and Hold billing for a claim.
6.  Wait for the claims lead's answer The run waits for the click. Bill it as delivered marks the load ready to bill. Hold billing for a claim keeps it out of the queue and says so in the Slack thread.
7.  Ask the billing lead A missing signature, a count that doesn't match McLeod, or a load McLeod still shows open goes to the billing lead with what's wrong and two buttons, Mark ready to bill and Hold the load.
8.  Wait for the billing lead's answer The run waits for the click. Mark ready to bill moves the load to billing. Hold the load keeps it out of the queue and says so in the thread.

## We can build this for you.

It's custom work, built around how you do things by our implementation team at Midnight Flow, in your own FlowRunner workspace.

-   Every carrier invoice matched to its rate confirmation and POD, extra charges sent to you, and billing released
    
    Built and tested by our team. Runs on your FlowRunner plan.
    
    [Have us build this](https://midnightflow.ai/packages/carrier-invoice-matching?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=freight-brokers&utm_content=flows.aside&utm_term=aws-textract-pod-checked-before-billing)

## Before you turn it on

-   Connect your Gmail and Slack accounts. Enter your AWS access key, secret key and region in the AWS Textract settings, and your McLeod server address and API token, or a user name and password, in the McLeod LoadMaster settings.
-   Copy the URL of the block Wait for the billing lead's answer into the flow setting Billing answer link, and the URL of the block Wait for the claims lead's answer into Claims answer link. The Slack buttons open them.
-   Set POD document type to the McLeod Imaging document type you file PODs under (POD is filled in).
-   Pick your billing Slack channel in Send unreadable POD to billing, Send unmatched POD to billing and Ask the billing lead, and your claims channel in Ask the claims lead. The hold confirmations reply in the same thread.
-   Textract reads one page per POD, up to about 5 MB, from the email's first attachment. A multi-page POD stops at Read the POD and goes to billing to file by hand.
-   The OS&D check looks for handwritten words such as short, damaged, refused, crushed, wet, missing and OS&D. Add any others your consignees write to the list in the block Pick out the POD details.

[Everything FlowRunner does with AWS Textract](https://flowrunner.ai/integrations/aws-textract)

---
Markdown version of https://flowrunner.ai/flows/aws-textract-pod-checked-before-billing. Site index: https://flowrunner.ai/llms.txt
