Hello,
I am trying to set up a Shopify Flow automation whereby the item name, variant title, and respective quantity for each line item is sent through to a slack channel that our fulfilment partners are on.
Ideally, it would look something like this:
{{order.billingAddress.firstName}} from {{order.billingAddress.city}}, {{order.billingAddress.country}} placed an order for the following items:
-
(Product 1 ) (Variant) (Quantity)
-
(Product 2 ) (Variant) (Quantity)
-
etc
So far, I have this, but I am not sure it is correct:
{{order.id}}, {{order.billingAddress.firstName}} from {{order.billingAddress.city}}, {{order.billingAddress.country}} placed an order for the following items.
{% for lineItems_item in order.lineItems %}
{{lineItems_item.name}}::{{lineItems_item.variantTitle}}::{{lineItems_item.currentQuantity}}::{{lineItems_item.originalUnitPriceSet.presentmentMoney.amount}}::{{lineItems_item.sku}}::{{lineItems_item.product.customProductType}}##
{% endfor %},
{{order.createdAt}},
{{order.customer.email}}Thanks for taking a look at this and really appreciate your help!