Emailed POD to ready to bill in Turvo
Carriers email PODs to your AP inbox. This flow reads each one, attaches it to the Turvo load and moves the load to billing, and asks your AP lead when a POD has problems.
The prompt
When a carrier emails a POD to our AP inbox in Gmail, read the PDF and pull out the load number, PRO and BOL, whether it's signed, and any shortage or damage noted. Find the load in Turvo. If there's no match, post the POD to Slack so AP can file it by hand. If there is, attach the POD to the load. When the POD is signed and clean, mark the load ready to bill. Otherwise ask the AP 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
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 POD email Checks the AP inbox in Gmail every 5 minutes for an email with an attachment and POD or proof of delivery in the subject.
- Read the POD An AI agent reads the saved PDF and pulls out the load number, PRO and BOL, whether the consignee signed, and any shortage, damage or refusal written on it.
- Find the load in Turvo Looks the load up by load number, PRO or BOL. When nothing matches, the POD goes to AP in Slack with a link to the file, so someone files it by hand.
- Attach the POD to the load Files the PDF on the load in Turvo as its proof of delivery.
- 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 the billing queue.
- Ask the AP lead Anything else goes to the AP lead in Slack: the load, the sender, what the POD says, and two buttons, Mark ready to bill and Hold the load.
- Wait for the AP 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 Slack thread.
Before you turn it on
- Connect your Gmail and Slack accounts, and enter your Turvo API key, client ID and client secret.
- Add your Anthropic key in the flow setting Anthropic key.
- Copy the URL of the block Wait for the AP lead's answer into the flow setting Answer link. The Slack buttons open it.
- Pick your Slack channel in the three Slack steps, and narrow the Gmail search to your AP inbox if it shares a mailbox.