Rate con checked against Turvo before the carrier invoice
Parseur reads each carrier rate con. The flow checks it against the carrier pay on the Turvo load, files it on the load, and asks ops when the two don't match.
The prompt
When Parseur finishes reading a carrier rate con in our rate con mailbox, pull out the load number, carrier, pickup and delivery, linehaul, fuel, accessorials and total. Find the load in Turvo. If there's no match, post the rate con to Slack so ops can file it by hand. If there is, compare the rate con with the carrier pay on the load. When everything matches, file the rate con on the load as approved. When anything differs, ask ops in Slack with the differences and two buttons, Accept the rate con and Dispute with the carrier, and wait for the answer. Accept files it as approved. Dispute files it as rejected and reminds ops to get a corrected rate con from the carrier.
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
- Rate con parsed in Parseur Starts the moment Parseur finishes reading a rate con forwarded to your rate con mailbox.
- Read the parsed rate con An AI agent reads Parseur's fields by meaning and pulls out the load number, carrier, pickup and delivery, linehaul, fuel, accessorials and total.
- Find the load in Turvo Looks the load up by load number. When nothing matches, the rate con goes to ops in Slack with a link to the file, so someone files it by hand.
- Get the carrier pay in Turvo Reads the agreed carrier pay on the load: linehaul, fuel, accessorials and total.
- Rate con matches Turvo? Compares the two line by line, to the cent, and checks the carrier name. A match is filed on the load as an approved carrier rate confirmation.
- Ask ops about the rate con Anything that differs goes to ops in Slack: the load, the carrier, each difference, a link to the rate con, and two buttons, Accept the rate con and Dispute with the carrier.
- Wait for ops' answer The run waits for the click. Accept files the rate con as approved. Dispute files it as rejected and posts in the thread to get a corrected rate con before the carrier invoice comes in.
Before you turn it on
- Enter your Parseur API key and your Turvo API key, client ID and client secret, and connect your Slack account.
- Pick your rate con mailbox in the Parseur trigger, and make sure the OriginalDocument metadata field is turned on in that mailbox so the flow gets a link to the file.
- Add your Anthropic key in the flow setting Anthropic key.
- Copy the URL of the block Wait for ops' answer into the flow setting Answer link. The Slack buttons open it.
- Pick your ops channel in the three Slack steps.