---
title: "Emailed ASN turned into a ShipBob receiving order, with box labels sent back | FlowRunner flow"
description: "When a client or supplier emails an ASN or packing list, creates the ShipBob receiving order and replies with its box labels. Problems go to the receiving lead first."
url: https://flowrunner.ai/flows/shipbob-emailed-asn-to-receiving-order
date_published: 2026-11-19
date_modified: 2026-11-25T18:03:54-08:00
---

# Emailed ASN turned into a ShipBob receiving order, with box labels sent back

When a client or supplier emails an ASN or packing list, creates the ShipBob receiving order and replies with its box labels. Problems go to the receiving lead first.

## The prompt

When a client or supplier emails an ASN, packing list or inbound BOL to our receiving inbox in Gmail, read the attachment and pull out the PO number, carrier, expected arrival date, ship-to, and every box or pallet with its tracking or PRO number and SKU quantities. Match the ship-to to one of our ShipBob fulfillment centers and look up each SKU in ShipBob. If everything matches and the PO has no open receiving order yet, create the warehouse receiving order with the boxes and expected quantities, and reply to the sender in the same thread with the receiving order number and ShipBob's box labels as a PDF, so they can label every box before it ships. Otherwise show the receiving lead what is wrong in Slack, with Create without those SKUs and Set it aside buttons, and wait for the answer. Tell receiving in Slack if ShipBob refuses the order.

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

## The flow

Inside the loop: Each SKU on the ASN

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/shipbob-emailed-asn-to-receiving-order.json)

-   [ShipBob](https://flowrunner.ai/integrations/shipbob)
-   [Gmail](https://flowrunner.ai/integrations/gmail-service)
-   [Slack](https://flowrunner.ai/integrations/slack)

Download the file, then in FlowRunner click + beside Flows, pick it under Import a Flow Version and click Create. [How importing works](https://docs.flowrunner.ai/manage/flows#importing-a-flow)

## What each step does

1.  New ASN email Checks the receiving inbox in Gmail every 5 minutes for an email with an attachment and ASN, ship notice, packing list or inbound in the subject.
2.  Read the ASN Once the file is saved and the fulfillment center list is read from ShipBob, an AI agent pulls out the PO number, carrier, expected arrival, ship-to and each box or pallet with its tracking or PRO number and SKU quantities, and picks the fulfillment center that matches the ship-to.
3.  Find the SKU in ShipBob Looks up each SKU to get its ShipBob inventory ID. A SKU that is not set up in ShipBob is noted.
4.  Build the receiving order Puts the boxes and quantities in ShipBob's format and checks for an open receiving order on the same PO, a date already past, a box with no tracking or PRO number, and a ship-to that matches no fulfillment center.
5.  Create the receiving order in ShipBob An ASN with no problems becomes a receiving order with every box and expected quantity. If ShipBob refuses it, the reason goes to Slack.
6.  Get the box labels Saves ShipBob's box labels for the new receiving order as a PDF. The sender gets a reply in the same thread with the receiving order number and the labels attached, to print and put on each box or pallet before it ships. If the labels cannot be saved, the reply still goes out and says the labels follow, and the receiving lead is asked in Slack to send them.
7.  Ask the receiving lead Anything else goes to Slack with the problems, the lines ShipBob knows and a link to the file. Create without those SKUs shows only when the receiving order can still be created.
8.  Wait for the receiving lead's answer The run waits for the click. Create without those SKUs creates the receiving order with the known lines and sends the labels, and the reply names the SKUs left off. Set it aside creates nothing and says so in the Slack thread.

## Need a custom warehouse receiving orders automation? Our team can build it for you.

Tell us the process. Our implementation team at Midnight Flow builds it around how you work, tests it on your real data, and keeps it running, in your own FlowRunner workspace.

[Have us build it](https://midnightflow.ai/packages/custom?utm_source=flowrunner.ai&utm_medium=referral&utm_campaign=general&utm_content=flows.aside&utm_term=shipbob-emailed-asn-to-receiving-order)

## Before you turn it on

-   Connect your Gmail, ShipBob and Slack accounts.
-   Add your Anthropic key in the flow setting Anthropic key.
-   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, and narrow the Gmail search to your receiving inbox if it shares a mailbox.

[Everything FlowRunner does with ShipBob](https://flowrunner.ai/integrations/shipbob)

---
Markdown version of https://flowrunner.ai/flows/shipbob-emailed-asn-to-receiving-order. Site index: https://flowrunner.ai/llms.txt
