List line items and their fulfilment location in Shopify Flow

I am trying to set up a workflow in Shopify Flow that notifies our warehouse team of fulfilments that are routed to our retail stores so that we can match it in our inventory system.

I’m struggling to find the correct variable to achieve the following output:

  • SKU123 Product Name1 (QTY: 4)
    Fulfilment location: Store 1
  • SKU321 Product Name2 (QTY: 1)
    Fulfilment location: Store 2
  • SKU000 Product Name2 (QTY: 3)
    Fulfilment location: Store 3

What attribute or liquid variable should I be using to re to return this information?

Shopify Support have redirected me here.

Location is provided in fulfillmentOrders, which are order / fulfillmentOrder / assignedLocation / name or something like that.

A note - the location is not assigned when an order is first created, so you may either need to use a Wait step (~5 min) after order created or “Order ready to fulfill”, which runs per fulfillment order.

Thanks! That pointed me in the right direction. I did have to play around and figure out what worked. In the end, this is what I used:

This is the end result. I’ve blurred the custom emoji

I would love to make the results bulleted (it’s in Slack), but markdown doesn’t appear to work as expected when using Flow.

Any insight into what formatting method I could do to make it look like this would be appreciated:

  • SKU1234567890 - Product Name - Variant - COAL / Size 10 (Qty: 1)

    Warehouse

  • SKU1234567890 - Product Name - Variant - COAL / Size 10 (Qty: 1)
    Queenstown

Additionally, I would like to have a hyperlink to the order, but the standard html and markdown techniques don’t work there either and the raw URL just gets dumped. Is that a limitation?

For bullets, I think that’s a limit of Slack’s API, but as a workaround I think you can directly insert a bullet character (•). You might also be able to insert a newline followed by -. So:

\n-

See https://api.slack.com/reference/surfaces/formatting#visual-styles

This also contains info on hyperlinks