Signed rate con filed on the McLeod load and checked against carrier pay
Carriers email back signed rate cons. This flow files each one on the McLeod load, checks the signature, carrier and total, and asks your carrier rep in Slack when something is off.
The prompt
When a carrier emails back a signed rate con to our Gmail inbox, read the PDF and pull out the load number, carrier, total rate, each charge and whether the carrier signed it. Find the load in McLeod. If there's no match, tell the carrier rep in Slack. If there is, attach the rate con to the load. Then check that it's signed, that the carrier is the one on the load, and that the total matches the agreed carrier pay to the cent. If anything is off, ask the carrier rep in Slack with Send back to the carrier and Keep it as filed buttons and wait for the answer. Send back replies to the carrier in the same thread asking for a corrected, signed rate con.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
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
- New signed rate con Checks the inbox in Gmail every 5 minutes for an email with an attachment and rate con, rate confirmation or load confirmation in the subject. The PDF is picked out from any logos or signature images in the email.
- Read the rate con An AI agent reads the rate con and pulls out the load number, the carrier and its MC number, each charge, the total, and whether and when the carrier signed.
- Find the load in McLeod Looks the load up in McLeod LoadMaster by its number. When the rate con shows no load number or nothing matches, it goes to the carrier rep in Slack with a link to the file and nothing is filed.
- Attach the rate con to the load Files the signed rate con on the load in McLeod Imaging.
- Compare with the agreed carrier pay Checks three things: the carrier signed, the carrier on the rate con is the one booked on the load, and the total matches McLeod's agreed carrier pay to the cent. A rate con that passes needs nothing more.
- Ask the carrier rep Anything else goes to the carrier rep in Slack with what differs, a link to the rate con, and two buttons, Send back to the carrier and Keep it as filed.
- Wait for the carrier rep's answer The run waits for the click. Send back replies to the carrier in the same thread with what to fix and asks for a corrected, signed rate con. Keep it as filed leaves it on the load and says so in the Slack thread.
Before you turn it on
- Connect your Gmail and Slack accounts, and enter your McLeod server URL and API token, or a McLeod user name and password.
- Add your Anthropic key in the flow setting Anthropic key.
- Copy the URL of the block Wait for the carrier rep's answer into the flow setting Answer link. The Slack buttons open it.
- In Attach the rate con to the load, set Document Type to the type your McLeod Imaging uses for rate confirmations.
- Pick your Slack channel in the three Slack steps, and narrow the Gmail search in New signed rate con to the inbox carriers send rate cons back to.