Have your say in Community Polls: What was/is your greatest motivation to start your own business?

List line items and their fulfilment location in Shopify Flow

List line items and their fulfilment location in Shopify Flow

taylornz
Shopify Partner
2 0 0

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.  

Replies 3 (3)

paul_n
Shopify Staff
1433 157 332
Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
taylornz
Shopify Partner
2 0 0

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:

 

CleanShot 2023-06-29 at 00.26.25@2x.png

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

 

CleanShot 2023-06-29 at 00.22.47@2x.png

 

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?

paul_n
Shopify Staff
1433 157 332

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

 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.