Month-end audit of Dropbox load folders against McLeod
Finds delivered loads with no rate con, BOL or POD in their Dropbox folder or in McLeod Imaging, and posts the list to billing in Slack.
The prompt
On the first of every month, go through the load folders in our Loads folder in Dropbox, one folder per load number, and look at the ones with a file added in the last 35 days. Check each for a rate con, a BOL and a POD by file name. For any folder missing one, find the load in McLeod, and if it's delivered, check whether McLeod Imaging has the missing document instead. Post a list to billing in Slack of the delivered loads still missing paperwork, with the customer, carrier, delivery date and what's missing, or say that every load is complete.
FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.
The flow
Inside the loop: Page through the load folders
Inside the loop: For each folder missing paperwork
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
- List the load folders Lists every file in your Loads folder in Dropbox, page by page, however many loads it holds.
- Find folders missing paperwork Groups the files by load folder, keeps the folders with a file added or changed in the last 35 days, and checks each for a rate con, BOL and POD by file name.
- Find the load in McLeod Looks up each load that is missing something. Loads McLeod doesn't show as delivered are left off the list.
- Check McLeod Imaging Lists the documents McLeod holds for the delivered load and its movements, so a POD filed only in McLeod isn't reported as missing.
- Note what's missing Writes one line per load with the customer, the carrier, the delivery date and the paperwork that is in neither place, linked to the Dropbox folder. A load already marked ready to bill says so.
- Post the audit to billing Posts the list to billing in Slack, or says every delivered load checked has its rate con, BOL and POD.
Before you turn it on
- Connect your Dropbox and Slack accounts, and enter your McLeod server address with an API token, or a user name and password, in the McLeod LoadMaster settings.
- Set the flow setting Loads folder to the Dropbox folder that holds one folder per load, named by load number (/Loads by default). The check goes by file name, so each file needs Rate con, BOL or POD in its name, as the scanned paperwork flow names them.
- Set McLeod document types to your McLeod Imaging document type IDs for a rate con, BOL and POD. Days back (35) can stay as it is.
- Pick your billing channel in Post the audit to billing. The flow has no trigger, so give it a schedule: the first of each month, or weekly to catch gaps sooner.