Greetings, i want to create a flow that will check the times of a discount has been used in a month and send an email, but after the month passed i want to rest and start count from the begging for the new month…is this possible?
Thanks in advance!
Greetings, i want to create a flow that will check the times of a discount has been used in a month and send an email, but after the month passed i want to rest and start count from the begging for the new month…is this possible?
Thanks in advance!
I think in order to know when a discount was used, you have to get the orders where that was applied. You could use “Get order data” action and a “discount_code:XYZ” filter in that query to see the orders in some time period. One caution there is that there is a 100 limit on that query currently. You would also have to do that query per discount code.
Hello, and thanks for reply
I do not have any issue with the limit of 100, but i cant find how to make it calculate a month. My current flow in that
Choose one of the query options like “Created in the last week”. Change the date from “1 week” to “1 month”
As a trigger or as a condition ?
In the “Get order data” action.