---
title: "Shopify orders into ShipStation, held until stock arrives | FlowRunner flow"
description: "Each Shopify order lands in ShipStation with the cheapest carrier and service set and its source tagged. An order with an item out of stock waits on hold until stock is back."
url: https://flowrunner.ai/flows/shipstation-shopify-order-stock-hold
date_published: 2026-11-17
date_modified: 2026-11-18T16:18:59-08:00
---

# Shopify orders into ShipStation, held until stock arrives

Each Shopify order lands in ShipStation with the cheapest carrier and service set and its source tagged. An order with an item out of stock waits on hold until stock is back.

## The prompt

When a new order comes in on my Shopify store, compare live shipping rates from my carriers and add the order to ShipStation with the cheapest carrier and service, its addresses, items, totals and weight, under my store and ship-from location, tagged Shopify so we know where it came from. Then check Shopify stock for every item on the order. If anything is short, put the order on hold in ShipStation for 7 days so it doesn't ship partial, check stock again every 6 hours, and release the order from hold as soon as every item is back in stock. If stock still isn't back after 7 days, leave the order on hold.

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

## The flow

Inside the loop: Get rates from each carrier

Inside the loop: Check stock for each item

Inside the loop: Recheck stock until it arrives

Inside the loop: Recheck each item

[Import this flow](https://flowrunner.ai/downloads/prompt-to-flow/shipstation-shopify-order-stock-hold.json)

-   [ShipStation](https://flowrunner.ai/integrations/shipstation)
-   [Shopify](https://flowrunner.ai/integrations/shopify)

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 Shopify order Checks your Shopify store every 5 minutes for new orders and reads each one in full: addresses, line items with SKUs and weights, and totals.
2.  Get rates from each carrier Finds your ship-from location in ShipStation and asks each of your carriers for rates from there to the customer's address at the order's total weight. A carrier that returns no rate is skipped.
3.  Add the order to ShipStation Creates the order awaiting shipment with the cheapest carrier and service already set, plus its weight, your store, your ship-from location and your Shopify tag. It is keyed to the Shopify order, so a rerun updates it instead of adding a copy.
4.  Check stock for each item Looks up every SKU on the order in Shopify and counts the items Shopify shows as oversold. With everything in stock, the order stays ready to ship.
5.  Hold the order Puts the order on hold in ShipStation until a date 7 days out, so nobody ships it partial.
6.  Recheck stock until it arrives Waits 6 hours, checks each SKU in Shopify again, and repeats until every item is back or the hold period runs out.
7.  Release the order Once every item is in stock, takes the order off hold so it is back awaiting shipment. If stock never came back, the order stays on hold until its hold date.

## Need a custom order intake 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=shipstation-shopify-order-stock-hold)

## Before you turn it on

-   Connect your Shopify store and enter its shop domain, and enter your ShipStation API key and API secret.
-   Change the flow setting Carriers to the ShipStation carrier codes you ship with. It starts with stamps\_com, ups and fedex.
-   Set the flow settings ShipStation store and Ship-from location to the names you use in ShipStation. If no name matches, the order goes under your manual store and ships from your default location.
-   Create an order tag in ShipStation named Shopify, or change the flow setting Source tag to the name of the tag you use. If the tag doesn't exist, the order goes in untagged.
-   Change the flow settings Days to hold and Hours between stock checks if 7 days and 6 hours don't fit how fast you restock.
-   Give every Shopify variant a SKU and a weight, since the stock check looks items up by SKU and the rates use the order's weight.

[Everything FlowRunner does with ShipStation](https://flowrunner.ai/integrations/shipstation)

---
Markdown version of https://flowrunner.ai/flows/shipstation-shopify-order-stock-hold. Site index: https://flowrunner.ai/llms.txt
