FlowRunner
Features Pricing
Theme
Start Free

Inbound receipts checked against the ASN in ShipBob, with carrier claims

When ShipBob completes a receiving order, compares it with the ASN. Short, over or unstowed lines go to the receiving lead, who files a carrier claim, tells the client or accepts.

The prompt

When ShipBob completes a receiving order, compare what the ASN said to expect with what was received and stowed on every line. If anything is short, over, or not stowed, look up the inbound load in McLeod by the PRO or tracking number on the receipt to see which carrier delivered it. Then ask our receiving lead in Slack, with Claim with the carrier, Tell the client and Accept the count buttons, and wait for the answer. If they pick the carrier, have AI draft a shortage claim notice and email it to the carrier's email in McLeod. If they pick the client, draft a receiving discrepancy notice and email it to the client. Confirm in the Slack thread either way.

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

The flow

Yes Code Compare receivedwith the ASN Condition Any line off the ASN? Action Get the receipt'sboxes Action Email the notice tothe client Starts the flow Receiving ordercompleted Asks a person Wait for the receivinglead's answer If a step fails No load to match Code Write the question forthe receiving lead AI agent Draft the carrierclaim Asks a person Ask the receivinglead Action Confirm the noticein Slack AI agent Draft the client notice Action Find the inboundload in McLeod Action Confirm the claimin Slack Action Note the acceptedcount Action Email the claim tothe carrier Action Get the receivingorder Condition What did thereceiving lead pick?

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. Receiving order completed Starts when ShipBob completes a receiving order, after its boxes are received and stowed, and reads the order.
  2. Compare received with the ASN Works out the short, over and not stowed units on every SKU. A receipt where every line matches the ASN needs nothing else.
  3. Find the inbound load in McLeod For a receipt that does not match, reads its boxes and looks up the inbound load by the PRO or tracking number, to name the carrier that delivered it, the delivery time and the carrier's email.
  4. Ask the receiving lead Posts the receipt, the PO, the load and carrier, and every line that did not match in Slack, with Claim with the carrier, Tell the client and Accept the count buttons. The claim button shows only when units are short and McLeod has the carrier's email.
  5. Wait for the receiving lead's answer The run waits for the click. Accept the count sends nothing and says so in the Slack thread.
  6. Draft the carrier claim Claim with the carrier has an AI agent write a shortage claim notice with the PRO, load number, delivery date and units short per SKU, asking the carrier to acknowledge it. It states no dollar value. Gmail sends it to the carrier's email in McLeod and the Slack thread confirms it.
  7. Draft the client notice Tell the client has an AI agent write a receiving notice listing each SKU's ASN, received and stowed quantities and asking how to handle the difference. Gmail sends it to the client and the Slack thread confirms it.

Before you turn it on

  • Connect your ShipBob, Gmail and Slack accounts, and enter your McLeod server address and API token.
  • Add your Anthropic key in the flow setting Anthropic key, and put the client's email address in the flow setting Client email.
  • Copy the URL of the block Wait for the receiving lead's answer into the flow setting Answer link. The Slack buttons open it.
  • Pick your Slack channel in the four Slack steps.