Rate cons and BOLs Parseur could not read, sent to ops
When Parseur can't parse a scanned BOL or a rate con in a new format, ops picks in Slack: read it with AI and file it on the Turvo load, or key it by hand.
The prompt
Every few minutes, check our Parseur mailbox for a document Parseur could not parse, like a scanned BOL or a rate con in a new format. Send each one to the ops channel in Slack once, with a link to the file and two buttons, Read it with AI and Key it by hand, and wait for the answer. If they pick AI, read the file, work out whether it's a rate con, BOL, POD or carrier invoice, pull out the load number, BOL number and the amounts or counts on it, find the load in Turvo and file the document on it, then post what it read in the Slack thread. If no load matches, say so in the thread. If they pick by hand, reply in the thread with the link to the file.
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
- Check Parseur for unparsed documents Runs on a schedule and lists the documents in your Parseur mailbox.
- Pick the next unparsed document Takes the oldest document from the last 24 hours that Parseur could not parse and ops has not seen yet, and remembers it so it goes out only once.
- Ask ops how to handle it Posts it to ops in Slack with the file name, when it came in, a link to the file, and two buttons, Read it with AI and Key it by hand.
- Wait for ops' answer The run waits for the click. Key it by hand replies in the thread with the link to the file.
- Read the document with AI An AI agent reads the file itself, works out whether it is a rate con, BOL, POD or carrier invoice, and pulls out the load number, BOL number, carrier and the amounts or counts on it.
- Find the load in Turvo Looks the load up by load number or BOL number. When nothing matches, ops hears so in the Slack thread, with what the AI read.
- File it on the load Files the document on the load in Turvo under the type the AI read, then posts what it read in the thread so ops can check it against the file.
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 Parseur mailbox in the step Check Parseur for unparsed documents.
- 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 four Slack steps.
- Set the flow's schedule to every 5 minutes. Each run sends at most one document, so a short interval keeps the queue moving.