Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hello,
In the Flow app I have the following Workflow that pulls orders' data from Shopify to a Google Sheet.
I use a post-purchase app and sometimes an item is added to the order but is not paid.
The flow still sends the lineitem's data to the sheet and this causes to sometimes fulfill items that haven't been paid for.
Any solution? Like a quantity parameter that only shows paid and therefore fulfillable items?
{{order.createdAt}},{{order.name}},{{lineItemsForeachitem.sku}}, {{lineItemsForeachitem.quantity}},{{lineItemsForeachitem.unfulfilledQuantity}},{{order.shippingAddress.name | replace: ",", " " }},{{order.shippingAddress.address1 | replace: ",", " " }},{{order.shippingAddress.address2 | replace: ",", " " }},{{order.shippingAddress.city | replace: ",", " " }},{{order.shippingAddress.province | replace: ",", " " }},{{order.shippingAddress.zip | replace: ",", " " }},{{order.shippingAddress.countryCodeV2}},{{order.shippingAddress.phone}},{{order.customer.email}}
Hello,
I think you could add a condition to check if the lineitem.nonFulfillableQuantity == lineitem.quantity.
Lily
To learn more visit the Shopify Help Center or the Community Blog.
I'm not aware of any field that tells you if a line item has been paid for or not. You could check to see if order / lineItems / nonFulfillableQuantity returns true in that scenario.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024