ShipDock adds three triggers to Shopify Flow, for a pickup point saved to an order, a pickup point removed and a cash on delivery order marked as paid. Use them to tag orders or alert your warehouse or accounting.
Before you start
Install the Shopify Flow app. You need a paid ShipDock plan with the pickup point widget set up.
COD marked as paid also needs the Full plan and the setting Upon delivery of the package, mark the order as paid.
Create a workflow
In Shopify admin, open Apps → Flow and click Create workflow.
Click Select a trigger, search for ShipDock and choose one of the triggers below.
Add conditions and actions and turn the workflow on.
Every trigger gives you the full Order plus its own fields, for example {{ pickupPointName }}. Unknown values are sent empty.
Trigger: Pickup point selected
Starts every time ShipDock saves a pickup point to an order: at order creation (point chosen in checkout or cart), when the customer selects or changes it, when you save it in Orders → Change pickup point, or when ShipDock assigns it itself.
pickupPointId,pickupPointName: ID in the courier's system and name of the pointprovider: courier code, for examplepacketa,ppl,dpd,gls,balikovna,ceskapostaproviderName: courier namepacketaCarrierId: Packeta partner carrier ID, otherwise emptyaddress,street,city,province,zip,countryCode: address of the pointpageContext:checkout,thank_you,order_status,adminornot_specified
Trigger: Pickup point removed
Starts when you remove the pickup point from an order in ShipDock (Orders → Change pickup point, clear the point and save).
Fields of the removed point: pickupPointId, pickupPointName, provider, providerName, address (may be empty) and pageContext (admin).
Trigger: COD marked as paid
Starts after ShipDock marks a cash on delivery order as paid in Shopify, once the courier reports the parcel as delivered.
trackingNumber: tracking number of the delivered shipmentprovider,providerName: courier code and namecodAmount,codCurrency: the COD amount stored with the shipment, for example1250.00andCZKcourierStatus: status code from the courier, may be emptymarkedAt: date and time in UTC (ISO 8601)
Workflow examples
Tag orders by courier. Pickup point selected → Add order tags with pickup-{{ provider }}.
Alert the warehouse when a customer changes the point. Pickup point selected → condition pageContext equals thank_you or order_status → Send internal email: Order {{ order.name }}: pickup point is now {{ pickupPointName }}, {{ address }}.
Tell accounting that COD money arrived. COD marked as paid → Add order tags cod-paid → Send internal email: COD for {{ order.name }} collected: {{ codAmount }} {{ codCurrency }}, {{ trackingNumber }}.
Limits
A changed point runs Pickup point selected again and does not start Pickup point removed.
Points chosen in checkout or in the cart arrive with
pageContext=not_specified. TheircountryCodeandpacketaCarrierIdcan be empty; take the country from the order's shipping address.Build conditions on
provider, not onproviderName: the name has no country variant (DPD,GLS) and for some couriers it contains the code (packeta).COD marked as paid does not start when you mark the order as paid by hand in Shopify. It works for the couriers supported by automatic COD marking.
If sending a trigger fails, ShipDock does not send it again.
Troubleshooting
The workflow did not run: check it is turned on and look at its run history in Flow. For COD, check that ShipDock marked the order as paid.

