Notify your fulfilment provider about upcoming orders with an HTTP push
This article aims to explain how to tag an order with Order Tagger and then use Shopify Flow to send orders containing that tag through to a fulfillment provider via an http push.
For the purposes of this article, we are going to tag orders where a specific fulfillment location has been automatically allocated by Shopify.
Article quick links
- What determines the allocated location for fulfillments on an order
- How to set-up the workflow in Order Tagger
- Sending the order details via HTTP Push
- Flow template
- Need any help?
What determines the allocated location for fulfillments on an order
The fulfillment location(s) on an order can be determined in 2 main ways:
- Automatically assigned by Shopify based on availability of inventory and location priority
- Selected by the Customer when choosing the local pickup option during checkout
Our allocated fulfillment location(s) criteria can be used to create a workflow that tags orders when a specific fulfillment location has been allocated.
How to set-up the workflow in Order Tagger
To create a workflow using this criteria, click on the Create New Workflow button from the main Workflows view:
Define the trigger to determine at which point you would like the workflow to run, we recommend selecting the trigger when orders are created.
Click the Add criteria to my workflow button:
This allocated fulfillment location(s) criteria can be found within the Fulfillment category in the Select criteria pop-up window:
Click the Use in your workflow button to select this criteria.
On selecting this criteria, the fulfillment locations configured in your store will be populated into a dropdown list:
Select the fulfillment location that needs to be present for this workflow to match.
Select the includes condition:
Choose the name of the tag you'd like to see on all orders that match this workflow and enter it into the Add tags when the workflow matches section. In this example we have used the tag Warehouse:
Click on the Add fixed tag button.
Saving and naming your workflow
It's worth giving your workflow a name to help you identify it at a later date, so add a workflow name in the New Workflow section, check the summary of your workflow and if happy, either Test your Workflow against an existing order or hit Save Workflow:
In this example, any new order where the Molesey Lock-up fulfillment location has been automatically allocated will be tagged with Warehouse.
Sending the order details via HTTP Push
To send the order details onto your fulfillment provider, you will need to create a new workflow in Shopify Flow with an action to send orders that contain the tag Warehouse via an http push.
from Shopify Flow, you need to create a workflow just like the one below.
Click on the Create workflow from template button and continue to customise the workflow by entering the http endpoint details of your fulfillment provider. You will also need to select the order fields that need to be passed along to the fulfillment providers endpoint.
Enable your workflow and that's it! Your Order Tagger workflow and Shopify Flow workflow are now live!
30 seconds after a workflow has been processed by Order Tagger, your Workflow in Shopify Flow will be triggered.