FlowRunner
Features Pricing
Theme
Start Free

Delivered Onfleet tasks filed as PODs and marked ready to bill in McLeod

When a driver completes an Onfleet delivery, this flow files the photos and signature on its McLeod load and marks clean ones ready to bill. The rest go to your billing lead.

The prompt

When a driver completes a delivery in Onfleet, get the load number from the task and find the load in McLeod. Attach the driver's photos and the consignee's signature to the load as the POD. If the delivery was signed, has photos and the driver left no notes, mark the load ready to bill. Otherwise ask our billing lead in Slack, with Mark ready to bill and Hold the load buttons, and wait for the answer. If the task has no load number or McLeod doesn't know it, post the POD links to billing in Slack so someone files it by hand.

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

The flow

Yes No No Yes No Yes Yes No Yes Repeats for each item Each POD image Condition Load number on thetask? Code Write the question forthe billing lead Asks a person Ask the billinglead Starts the flow Delivery completedin Onfleet Action Find the load inMcLeod Asks a person Wait for the billinglead's answer Action Confirm the loadis held Condition Signed, with photosand no notes? Condition Load found inMcLeod? Action Mark the loadready to bill Code Read the delivery Action Send the unmatchedPOD to billing Condition Bill it? Action Tell billing the loadnumber is missing Condition A delivery, not apickup?

Inside the loop: Each POD image

Action Attach the POD tothe load

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. Delivery completed in Onfleet Starts as soon as a driver completes a delivery in Onfleet, with the task's photos and the consignee's signature. Pickup tasks are left alone.
  2. Find the load in McLeod Takes the load number from the task's metadata or notes and looks the load up in McLeod. A task with no load number, or one McLeod doesn't know, goes to billing in Slack with links to the photos and signature.
  3. Attach the POD to the load Files each delivery photo and the consignee's signature on the McLeod load as the POD.
  4. Signed, with photos and no notes? A delivery signed at the door, with at least one photo and nothing in the driver's notes, goes straight to Mark the load ready to bill, and the load lands in the billing queue.
  5. Ask the billing lead Anything else goes to the billing lead in Slack: the load and customer, who signed, how many photos, the driver's notes, and two buttons, Mark ready to bill and Hold the load.
  6. Wait for the billing lead's answer The run waits for the click. Mark ready to bill moves the load to billing. Hold the load keeps it out of the queue and says so in the Slack thread.

Before you turn it on

  • Enter your Onfleet API key and your McLeod server address with an API token (or a user name and password), and connect Slack. Add your Onfleet webhook secret too if you want FlowRunner to check that each delivery comes from Onfleet.
  • Copy the URL of the block Wait for the billing lead's answer into the flow setting Answer link. The Slack buttons open it.
  • Put the load number on each Onfleet task, in a metadata field named Load Number or as Load 12345 in the task notes. If your field has another name, set it in the flow setting Load number field.
  • Check the flow setting POD document type against the document types in your McLeod Imaging setup. It starts as POD.
  • Pick your billing channel in the four Slack steps.