Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi,
I'm building a flow to flag orders with specific shipping address issues. I start with the condition "addressVerified" is "false". But that alone will put way too many orders in the issue bucket. I only want to catch orders that have super short or super long address data. For example, we see only state abbreviation "MA" or "CA" as the main address sometimes. Or the entire address including city, state and country all combined into address line 1 field.
Is there a way to build such condition in Flow to check if address length is < = 2 and >= 30?
I know there are apps out there that do a better job catching bad addresses. But before I go that route I just want to utilize Flow first to see that it can handle before spending money on more apps. Also many of these bad addresses are populated by Paypal and Apple Pay payments, so the apps are not capable of catching those errors.
Thanks!
Solved! Go to the solution
This is an accepted solution.
You may be able to use a Run code step to evaluate the length of the address using Javascript.
This is an accepted solution.
You may be able to use a Run code step to evaluate the length of the address using Javascript.
That totally worked for me . Thank you!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024