FlowRunner
Features Pricing
Theme
Start Free

Delivered loads to billing with the signed POD from Detrack

Every evening this flow finds the day's completed deliveries in Detrack and emails each signed POD to billing. Unsigned PODs go to dispatch in Slack.

The prompt

Every evening, find the loads Detrack shows as delivered today. For each one, check that the consignee signed. If they did, export the POD as a PDF and email it to our billing inbox from Gmail with the load number in the subject, so billing knows the load is ready to bill. If there's no signature, post the load to dispatch in Slack so they get the signed POD before it goes to billing.

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 For each deliveredload Action Find today'sdelivered loads Code Work out today's date

Inside the loop: For each delivered load

Yes No Action Get the deliveryrecord Action Send the POD tobilling Condition Signed at delivery? Action Export the POD Action Tell dispatch thePOD is unsigned

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. Find today's delivered loads Every evening, searches Detrack for the deliveries that closed as completed today, in your time zone.
  2. Get the delivery record Reads each load's delivery record: the consignee, the signature, and when it was signed.
  3. Signed at delivery? A signed load goes on to billing. A load closed as delivered with no signature is posted to dispatch in Slack and kept out of billing until the signed POD is in Detrack.
  4. Export the POD Exports the POD from Detrack as a PDF, with the driver's signature, photos and delivery details.
  5. Send the POD to billing Emails the PDF from Gmail to your billing inbox, with the load number and delivery date in the subject and a note that the load is ready to bill.

Before you turn it on

  • Enter your Detrack API key, and connect your Gmail and Slack accounts.
  • Set the flow setting Billing email to your billing inbox, and Time zone to your dispatch time zone. It starts as America/Chicago.
  • Pick your dispatch channel in Tell dispatch the POD is unsigned.
  • Set the flow's schedule to run every evening after your last deliveries close.