FlowRunner
Features Pricing
Theme
Start Free

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

Repeats for each item Page through the loadfolders Repeats for each item For each foldermissing paperwork Code Find folders missingpaperwork Action Post the audit tobilling Action Start the report Code Write the audit Action Start the listing

Inside the loop: Page through the load folders

Action Save the page Action List the loadfolders Code Keep the files on thispage

Inside the loop: For each folder missing paperwork

Yes Action Find the load inMcLeod Code Note what's missing Action Check McLeodImaging Action Add it to the report Condition Load delivered?

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

  1. List the load folders Lists every file in your Loads folder in Dropbox, page by page, however many loads it holds.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.