How to control total amount of current year paid orders in Shopify Flow?

Hello everyone,

I am new to shopify programming and I have a problem related to the shopify flow app, I’m trying to create a condition that allows me to control the total amount of paid orders but only the orders of the current year. is this possible? something like: order.created_at | date: “%Y” = ‘now’ | date: “%Y”

If anyone knows anything about it I would appreciate your help.

You currently cannot use flow to get all orders in a given time-frame. Flow is event-based so operates on a single order.

1 Like

I take the chance here, which is the correct condition to add to a order transaction object to check if an order amount is > X ?

P.S I have found even to check which order have free shipping like:

Order.totalShippingPriceSet.shopMoney.amount

But I can’t find how to figure out to check the total amount paid for an order(assuming customer paid with card or other payment that isn’t manual).

P.S I think I have found, is this?

order.totalPriceSet.shopMoney.amount

1 Like