Auto-Fulfill Line Items by SKU in Shopify | Simplify Order Processing

Fulfill Shopify Line Items by SKU

7 min setup

No coding required

Runs automatically

Simplify your order processing by automatically fulfilling specific line items based on SKU. Perfect for memberships, digital items, bundles or other non-shipping products, this MESA workflow marks designated SKUs as fulfilled without manual effort. Maintain accurate inventory tracking and save time with a tailored solution that seamlessly updates fulfillment status for non-physical products or special orders.

How it works

4 steps to start automatically fulfilling specific line items by SKU

Order Created

App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)

Why this matters: This trigger captures new orders the instant they're placed, enabling immediate auto-fulfillment that ensures digital products, gift cards, or instant-access items are delivered without any processing delay.

This step automatically activates whenever a customer completes checkout in your store. The trigger captures all order details including line items, customer information, and fulfillment status. No configuration is required - it connects directly to your Shopify store and begins monitoring immediately. Once triggered, it passes the complete order data to the next step for processing.

Loop Over Line Items

App connector: [Loop](/content/apps/loop/integrate "View Loop integration page"/index.html)• Time to complete: 0 minutes (Auto-configured)

Why this matters: Processes each product in the order individually, enabling selective auto-fulfillment that only affects your specified SKU while leaving other items unfulfilled for normal warehouse processing.

The loop step takes the order data and creates a separate processing cycle for each line item in the order. This means if someone orders 3 different products, the workflow will evaluate each product individually. The loop automatically extracts product details like SKU, quantity, and current fulfillment status for each item. It then passes each line item's data to the filtering step to determine if that specific product should be auto-fulfilled.

Is It The Auto-Fulfillable SKU? (Filter)

App connector: [Filter](/content/apps/filter/integrate "View Filter integration page"/index.html)• Time to complete: 2 minutes

Why this matters: Acts as the decision gate that only allows your specified SKU to proceed to auto-fulfillment, preventing accidental fulfillment of physical products that need shipping while ensuring digital or instant items are processed immediately.

This filter checks two conditions that both must be true:

(1) {{loop.sku}} equals your configured SKU (you enter the exact SKU during setup that should be auto-fulfilled, like "GIFTCARD-100" or "DIGITAL-COURSE"), AND

(2) {{loop.fulfillment_status}} is empty (meaning the item hasn't already been fulfilled, preventing duplicate fulfillments).

If both conditions are met, the workflow proceeds to create the fulfillment. If the SKU doesn't match or the item is already fulfilled, the workflow skips that line item and continues to the next one in the loop.

Configuration tip: The SKU must match exactly (case-sensitive), so verify the exact SKU format in your Shopify products before entering it here.

Create Order Fulfillment

App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 3 minutes

Why this matters: Marks the matching line item as fulfilled in Shopify, updating the order status, triggering any configured fulfillment notifications to customers, and completing the instant delivery process for digital or no-ship products.

This step creates a fulfillment for the matching line item using {{shopify.id}} as the order ID, {{loop.id}} as the line item ID, and {{loop.quantity}} for the quantity to fulfill.

You need to configure the location_id during setup—this should be the location ID where you track this product's inventory. To find your location ID, go to Settings > Locations in Shopify admin, click on the location, and look at the URL which shows a number like "12345678901"—that's your location ID.

The fulfillment is created for only the specific line item, not the entire order, so mixed orders with physical and digital products will be partially fulfilled with only the auto-fulfill items marked as complete.

Frequently asked questions

Can I auto-fulfill multiple different SKUs?

Yes, modify the filter condition to check for multiple SKUs using OR logic (change the "and" operator to "or" and add additional SKU comparisons), or duplicate the entire filter and fulfillment section for each additional SKU you want to auto-fulfill.

What if an order contains both the auto-fulfill SKU and regular products?

The workflow will fulfill only the matching SKU line items. Other products in the order remain unfulfilled and require normal fulfillment processing. The order will show as "partially fulfilled" in Shopify until the remaining items are fulfilled.

Will customers receive fulfillment notifications?

Yes, if you have fulfillment notifications enabled in your Shopify notification settings (Settings > Notifications > Shipping confirmation), customers will receive the standard fulfillment email when the auto-fulfill happens. You can customize this email template or add additional custom notification steps to the workflow.

Make this template your own!

Customize this workflow even further:

You're in good company

Avg. App Store rating 4.9/5

Merchant reviews 157

Avg. time saved per week 3.5 hrs

Testimonials

  1. "MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
  2. "It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
  3. "The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"