Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
We use the trigger order created to notify us if no shipment has been made within 36 hours.
It goes something like this:
Order created >> wait 36 hours >> check for shipping >> send Slack message if no shipping.
But now we have the problem that our warehouse is not always working on weekends. Therefore we would like to have it something like this:
Order created >> Check for weekday (if order is created between Sunday and Thursday) >> Wait for 36 hours. But if the order was created between Friday and Saturday, wait e.g. 48 hours.
But I have not found out how to create a check based on weekdays,
Is it possible somehow?
Solved! Go to the solution
This is an accepted solution.
Hi @Timo_Krause
one way you could approach is would be to print the day of the week this order was created on using a variable that prints the day of week in a tag or metafield, and later check again for that same value to determine if it's a weekday or a weekend order:
{{ order.createdAt | date: "%a" }}
You can use a wait step for a few seconds to make sure the condition is applied on the updated item.
This way you can have different paths to manage your shipping processes.
To learn more visit the Shopify Help Center or the Community Blog.
Currently there is no way to check the current day of the week in Flow.
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi @Timo_Krause
one way you could approach is would be to print the day of the week this order was created on using a variable that prints the day of week in a tag or metafield, and later check again for that same value to determine if it's a weekday or a weekend order:
{{ order.createdAt | date: "%a" }}
You can use a wait step for a few seconds to make sure the condition is applied on the updated item.
This way you can have different paths to manage your shipping processes.
To learn more visit the Shopify Help Center or the Community Blog.
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