Send Shopify Orders to Your 3PL as a CSV on SFTP

6 min setup
No coding required
Runs automatically

Plenty of 3PLs, warehouses and ERPs don't connect to Shopify directly. They pick up an order file from an SFTP folder on a schedule. This workflow builds that file for you: every hour it collects your paid, unfulfilled Shopify orders that haven't been sent yet, saves them as a timestamped CSV on your FTP or SFTP server, and tags each order so it is never sent twice.

schedule icon
Every hour, or at your 3PL's pickup times
Shopify logo icon
Get paid orders from Shopify that haven't gone out yet
Save the orders as a timestamped CSV on the 3PL's server
Shopify logo icon
Tag each Shopify order as sent to the 3PL

How it works

6 steps to a fresh order file on your 3PL's SFTP server every hour, with no duplicates

schedule icon

Every hour, or at your 3PL's pickup times

App connector: Schedule • Time to complete: 1 minute

Run on a repeating schedule that matches when the 3PL collects files, for example hourly or at 9am, 1pm and 4pm.

Shopify logo icon

Get paid orders from Shopify that haven't gone out yet

App connector: Shopify • Time to complete: 1 minute

Get open orders with financial status paid and fulfillment status unfulfilled that don't have the tag sent-to-3pl, with order number, date, shipping address, shipping method, line items, SKUs and quantities.

Stop if there are no new orders this run

App connector: Filter • Time to complete: 1 minute

Only continue when at least one order was found, so the 3PL never receives an empty file.

Save the orders as a timestamped CSV on the 3PL's server

App connector: FTP • Time to complete: 1 minute

Format the orders as CSV in the column layout the 3PL specifies, with a header row and one row per line item (order number, ship-to name, address lines, city, region, postal code, country, phone, shipping method, SKU, quantity), and save it to the 3PL's inbound folder as orders-YYYYMMDD-HHMM.csv.

Go through each order that was in the file

App connector: Loop • Time to complete: 1 minute

Loop over the orders that were written to the file.

Shopify logo icon

Tag each Shopify order as sent to the 3PL

App connector: Shopify • Time to complete: 1 minute

Add the tag sent-to-3pl to the order so the next run skips it and your team can see which orders the warehouse has.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to a fresh order file on your 3PL's SFTP server every hour, with no duplicates

Get setup in 6 minutes.

Use this template →

FAQs

What if my 3PL wants different columns?

Ask the 3PL for a sample file or their import spec and match its headers, column order and date format exactly. Most failed order feeds come from a renamed column, not from the transfer.

How does the workflow avoid sending an order twice?

It only collects orders without the sent-to-3pl tag and adds that tag after the file is saved. To resend an order, remove the tag and it goes out in the next file.

Does it work with plain FTP as well as SFTP?

Yes. MESA's FTP connection supports both. Use SFTP whenever your 3PL offers it, since the file includes customer names and addresses.

Personalize this template

Customize this workflow even further:

Only send orders your 3PL ships
Add a filter on product tag, vendor or fulfillment location so digital items, pre-orders or orders you ship yourself stay out of the file.
One file per order
Switch the trigger to Shopify Order Paid and save one file per order if your 3PL prefers to process orders one at a time.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

a fresh order file on your 3PL's SFTP server every hour, with no duplicates

6 min setup • Fully supported if you need help