FlowRunner
Features Pricing
Theme
Start Free

Emailed POD filed in McLeod and the load released to billing

Carriers email PODs to your billing inbox. This flow files each one on the McLeod load, asks dispatch before an open movement is delivered out, and marks clean loads Ready to Bill.

The prompt

When a carrier emails a POD to our billing inbox in Gmail, read it and pull out the order number, PRO and BOL, whether it's signed, when it was signed, and any shortage or damage noted. Find the load in McLeod. If there's no match, post the POD to Slack so billing can file it by hand. If there is, file the POD on the load in McLeod Imaging. If McLeod still shows the movement open, ask the dispatcher in Slack whether to deliver it out now, which puts the current time on every stop, or to enter the signed times first, and wait for the answer. When the POD is signed and clean, mark the load Ready to Bill. Otherwise ask the billing lead in Slack, with Mark ready to bill and Hold the load buttons, and wait for the answer.

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

The flow

Yes No No Yes Yes No No Yes Yes No AI agent Read the POD Condition Movement still open? Action Deliver the loadout Asks a person Wait for the billinglead's answer Condition Bill it? Action File the POD onthe load Code Check the load andthe POD Asks a person Wait for thedispatcher's answer Condition Deliver it now? Condition POD signed andclean? Asks a person Ask the billinglead Asks a person Ask thedispatcher Action Confirm the loadis held Action Find the load inMcLeod Action Mark the loadready to bill Starts the flow New POD email Condition Load found? Action Send unmatchedPOD to billing Action Save the POD file

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. How importing works

What each step does

  1. New POD email Checks the billing inbox in Gmail every 5 minutes for an email with an attachment and POD or proof of delivery in the subject.
  2. Read the POD An AI agent reads the saved PDF and pulls out the order number, PRO and BOL, whether the consignee signed, the signed time, and any shortage, damage or refusal written on it.
  3. Find the load in McLeod Looks the load up by order number, or by PRO or bill of lading when the order number is missing, and files the POD on the order in McLeod Imaging. When nothing matches, the POD goes to billing in Slack with a link to the file.
  4. Ask the dispatcher When McLeod still shows the movement open, the dispatcher sees the signed time next to the current time in Slack, with two buttons, Deliver it now and I entered the times. An asset movement gets a Done button instead, since it is delivered from driver dispatch.
  5. Wait for the dispatcher's answer The run waits for the click. Deliver it now delivers the movement out in McLeod, which records the current time at every stop. I entered the times moves on and leaves the stops as the dispatcher set them.
  6. POD signed and clean? A signed POD with nothing noted on it goes straight to Mark the load ready to bill, and the load lands in McLeod's billing queue.
  7. Ask the billing lead Anything else goes to the billing lead in Slack: the load, the carrier, what the POD says, 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 sets the load's ready to bill flag in McLeod. Hold the load keeps it out of billing and says so in the Slack thread.

Before you turn it on

  • Connect your Gmail and Slack accounts, and enter your McLeod server address and API token, or a user name and password, in the McLeod LoadMaster settings.
  • Add your Anthropic key in the flow setting Anthropic key.
  • Copy the URL of the block Wait for the dispatcher's answer into the flow setting Dispatcher answer link, and the URL of Wait for the billing lead's answer into Billing answer link. The Slack buttons open them.
  • Set POD document type to the McLeod Imaging document type your team files PODs under. To file PODs on the movement instead of the order, set Attach To to Movement in the block File the POD on the load.
  • Pick your Slack channels in the four Slack steps, and narrow the Gmail search to your billing inbox if it shares a mailbox.