SmartPack is connected under Settings → Integrations → SmartPack. The integration applies to the whole shop.
With SmartPack, your warehouse finishes the return in SmartPack, and the return is closed in Returnflows with the action your customer chose. Learn more in Your warehouse and Returnflows.
Connect SmartPack
You need a private app in SmartPack, and a return reason and a return action named Returnflows Return. You also need a delivery method with Return turned on and a workflow for the hold. Whoever administers your SmartPack creates them.
If you have no delivery method with Return turned on, then create an empty method named Returnflows with Provider set to none. Turn on Return on it. A default method without Return fails with DeliveryMethodNotFound.
In SmartPack, create a private app named Returnflows. Copy its App ID and Access Token. Your API Domain is the subdomain of your SmartPack URL only.
Create a return reason named Returnflows Return, and a return action named Returnflows Return with the action type Other. Note the id of each. The id is the last part of the URL when you edit it.
If you use claims, then create a reason and an action named Returnflows Claim too, and turn Complaint on for the reason.
In Returnflows, open the integration and select Install. Under Authentication, enter the App ID, the API Domain and the API Access Token.
Choose a Default Delivery Method that has Return turned on in SmartPack.
Enter the ids of Returnflows Return as Warehouse Action ID and Warehouse Reason ID. Under Claims Warehouse Settings, enter the ids of Returnflows Claim, or leave the fields empty.
Go through the remaining steps and select Install.
In SmartPack, turn Allow order reopen on under Settings → Preferences → Order Settings.
Turn off any active email of the type ReturnShippingConfirmation in SmartPack.
Create the workflow for the hold, as described below.
The hold order workflow
SmartPack ignores Shopify's hold on the exchange item. The order carries the tag hold-order instead, and a workflow in SmartPack pauses every order with the tag.
In SmartPack, go to Settings → Workflows and select Add Workflow. Name it Hold order, choose Order as Source, and save.
Edit the workflow and turn on Enable this workflow. Leave Index at 0.
Under Triggers, choose Before Create and Before Update. Leave Trigger Expression empty.
Set Internal run interval to 30 minutes and choose ReadyForPacking under Select states.
Under Actions&Preview, open the tab Manipulate Object and turn on Enabled. Paste the code below and select Save.
if (order.tags && order.tags.includes('hold-order')) {
order.paused = true;
order.deliveryNoteText = 'hold-order';
} else if (order.deliveryNoteText === 'hold-order') {
order.paused = false;
order.deliveryNoteText = '';
}The code pauses an order that carries the tag and releases the order when the tag is gone. A tag change reaches SmartPack within 30 minutes.
How a return runs
When the label is generated, we create a return order in SmartPack with the package number as its id. The reason and the action are Returnflows Return. Your warehouse scans the package number in SmartPack, checks the products and finishes the return. The webhook then closes the return in Returnflows, and we create the refund in Shopify, activate the gift card or release the exchange. The return closes only when the SmartPack case is Finished.
If the reason, the action or a quantity in SmartPack differs from the return, then the return gets a Return Mismatch alert and stays open. Learn more in Return statuses and alerts. Edit the return to what came back and close it in Returnflows. Learn more in Edit Return.
A return you close in Returnflows isn't closed in SmartPack.
A return can only be created in SmartPack for an order that was first shipped from that SmartPack.
Exchanges and restock
When your customer chooses an exchange, we add the exchange item to the Shopify order with the tag hold-order. When the return is closed, or when Instant Exchange releases the exchange item, we remove the tag and SmartPack releases the order for packing. Learn more in Exchanges.
Your stock is in SmartPack, so keep Show Restock on Close off. Learn more in Restock on Close.
Never release an exchange by removing the hold in Shopify. Always release it in Returnflows.
A changed customer address in Returnflows doesn't update the order in SmartPack. Change it on the order in SmartPack. An exchange variant without a barcode fails in SmartPack with ItemNotFound. Every variant needs a barcode in Shopify.
Claims
Claims go to SmartPack when you entered the ids of Returnflows Claim under Claims Warehouse Settings. The products your customer sends back are created as a return in SmartPack when the claim label is generated. Your warehouse finishes it in SmartPack, and the webhook closes the claim. With Complaint on for the reason, the handheld warns your warehouse that the return package is a claim. Learn more in Handle claims.
What to do in SmartPack
Open Returns in SmartPack and scan the package number. Returns are found by package number, not on the original sales order.
Check that the return package holds what the return expects.
Accept the return with the action Returnflows Return and finish it.
Never use SmartPack's built-in Refund action. It refunds outside Returnflows, and your customer can be refunded twice. The Returnflows Return action does nothing in SmartPack. It notifies us that the return was received. If your customer sent something else than what they registered, then edit the return in Returnflows before you finish it in SmartPack. A finished return can't be reopened in SmartPack.
Good to know
The tab Handling Settings has Transfer To Comment (optional), Transfer return reasons to lineitem comment and Transfer return reasons note to lineitem comment. It also has Transfer return customer note to all lineitems and Transfer return action to lineitem comment.
A cancel in Returnflows cancels the return in SmartPack, unless it is finished. An edit updates it.
SmartPack needs the Shopify scope read_all_orders to add an exchange item to an order older than 60 days.
With Ignore removed orderlines if shipped on in SmartPack, a change to a line that was already shipped is skipped.
Several labels on one return are supported. Group returns aren't. Learn more in Multi-Label Criteria and Group Returns.
Zero items can't be restocked on a return in SmartPack without cancelling the return order there.






