FlowRunner
Features Pricing
Theme
Start Free

Delivered McLeod load's documents copied to its Google Drive folder

When a load is delivered in McLeod, this flow copies its rate con, BOL, POD and other documents from McLeod Imaging into the load's folder in Google Drive.

The prompt

When a load is marked delivered in McLeod, list the documents McLeod Imaging holds for it, including the ones on its movements. Find the folder named after the load number inside our Loads folder in Google Drive and create it if it isn't there. Copy each document into it as a PDF named with the load number and the document type, and skip any that are already in the folder, including ones filed from email under the same type.

FlowRunner Prompt to Flow built this flow from that request. Here it is as it opens in the editor.

The flow

Yes No Yes Repeats for each item For each newdocument Code Pick documents tocopy Action Use the new folder Condition Load folder there? Starts the flow Load delivered inMcLeod Condition Documents on theload? Action List what'salready filed Action Use the load folder Action Create the loadfolder Action List the load'sdocuments Action Find the loadfolder

Inside the loop: For each new document

Action Download it fromMcLeod Action Copy it to the loadfolder

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. Load delivered in McLeod Checks McLeod every 15 minutes for loads that moved to Delivered.
  2. List the load's documents Lists the rate con, BOL, POD and other documents McLeod Imaging holds for the load and its movements. A load with none ends here.
  3. Find the load folder Looks inside your Loads folder in Google Drive for the folder named exactly after the load number.
  4. Create the load folder When the load has no folder yet, it's created inside the Loads folder.
  5. List what's already filed Lists the files already in the load folder, so a document copied before is skipped, and so is one the emailed paperwork flow already filed under the same type, such as 0451873 POD.pdf.
  6. Download it from McLeod Downloads each new document from McLeod Imaging as a PDF.
  7. Copy it to the load folder Uploads it to the load folder, named with the load number, the document type and its McLeod document ID.

Before you turn it on

  • Enter your McLeod server address with an API token or a user name and password, and connect your Google Drive account. The delivered check needs table auditing on orders turned on in McLeod.
  • Set the flow setting Loads folder to the ID of the Google Drive folder that holds your load folders (the part of the folder's link after /folders/). Use the same folder as the emailed paperwork flow, so both file into one folder per load.