Load paperwork archived in SharePoint by customer and month
When a McLeod load is ready to bill, this flow copies its rate con, BOL, POD and other documents to SharePoint, in a folder per customer, delivery month and load.
The prompt
When a load is marked ready to bill in McLeod, list every document McLeod Imaging holds for it, including the ones on its movements. Copy each one as a PDF to our Load Paperwork folder in SharePoint, in a folder for the customer, then a folder for the month it delivered, then a folder named with the load number, like Fresh Foods Inc. (FRESHATL)/2026-11/0451873. Create any of those folders that don't exist yet. Name each file with the load number and the document type.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
Inside the loop: Each document
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
- Load ready to bill in McLeod Checks McLeod every 15 minutes for loads whose ready to bill flag was just set, by which time the POD is usually on the load.
- Find the SharePoint site Finds your SharePoint site and document library, and works out the load's folder from the customer's name and ID, the month it delivered and the load number.
- List the load's documents Lists the rate con, BOL, POD and every other document McLeod Imaging holds for the order and its movements. A load with none ends here.
- Find the load folder Looks for the load's folder in the archive. When the customer, month or load folder is missing, the flow creates the missing ones, so a new customer or a new month needs nothing from you.
- Download it from McLeod Downloads each document from McLeod Imaging as a PDF, named with the load number, the document type and its McLeod document ID, such as 0451873 POD 7781344.pdf.
- Save it to the load folder Saves it in the load's folder. If the load is marked ready to bill again later, the same files are replaced, not copied twice.
Before you turn it on
- Connect your SharePoint account, and enter your McLeod server address and API token, or a user name and password, in the McLeod LoadMaster settings. The ready to bill check needs table auditing on orders turned on in McLeod.
- Set the flow settings SharePoint host name (such as contoso.sharepoint.com) and SharePoint site path (such as /sites/Operations) to the site that holds your archive, and Document library to the library's name as SharePoint shows it (Documents by default).
- Create the archive folder in that library once, and set the flow setting Archive folder to its path from the top of the library (Load Paperwork by default).