PODs saved to a SharePoint folder filed on the McLeod load
Your team saves PODs to one SharePoint folder. This flow reads each one, files it on the McLeod load and renames it with the load number. Billing hears about the rest.
The prompt
When a POD is saved to our PODs folder in SharePoint, read it and pull out the load number, PRO and BOL, whether it's signed, and any shortage, damage or refusal written on it. Find the load in McLeod and file the POD on it, then rename the file in SharePoint so it starts with the load number. If the file isn't a PDF or an image, isn't a POD, has no number we can read, or matches no load in McLeod, tell billing in Slack with a link to the file so they can file it by hand. If the POD is filed but isn't signed or notes an exception, tell billing in Slack what it says before the load is billed.
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 in SharePoint Checks your PODs folder in SharePoint every 2 minutes for new files, such as scans from the office copier or photos saved from a phone.
- Get a download link A PDF or image gets a short-lived download link from SharePoint, used right away to read the POD and file it. Any other file type goes straight to billing.
- Read the POD An AI agent reads the load number, PRO and BOL, whether the receiver signed, the delivery date, and any shortage, damage or refusal written on it.
- Find the load in McLeod Looks the load up by load number, or by PRO or bill of lading when the load number is missing. A file that isn't a POD, has no number, or matches no load goes to billing in Slack with a link to it.
- File the POD on the load Adds the POD to the order in McLeod Imaging under your POD document type.
- Rename it with the load number Renames the file in SharePoint so it starts with the load number, such as 0451873 POD - scan_1105.pdf, which also shows it has been filed.
- Signed and clean? A signed POD with nothing noted on it is done. An unsigned POD, or one that notes a shortage, damage or refusal, goes to billing in Slack with what it says, so nobody bills the load at full rate by mistake.
Before you turn it on
- Connect your SharePoint and Slack accounts, and enter your McLeod server address and API token, or a user name and password, in the McLeod LoadMaster settings.
- In the block New POD in SharePoint, pick the Site, the Drive (the document library, usually Documents) and the Folder your team saves PODs to. Only that folder is watched, not its subfolders.
- Add your Anthropic key in the flow setting Anthropic key.
- Set the flow setting POD document type to the McLeod Imaging document type your team files PODs under (POD by default).
- Pick your billing channel in the block Tell billing.