My goal is to have Flow look through a list of zip codes that I provide and then to assign a zone order tag if it reads as true that a specific zip code is found.
My problem is that I am pulling a list of around 900 zip codes from a csv file, that I am entering all at once in list format in the zip code field in Flow. Shopify Support recommended I enter each zip code 1 by 1 and hit enter 900 times... Is there a way to tell Flow to look at the full list and go through each zip code entered within that list? Perhaps a built in "or" function somehow? Example list: Zip1, Zip2, Zip3, Zip4, Zip5.
Thank you for any help or recommendations.
Includes will match the string you provide in the zip field, not the other way around. I think you want the operator to be "is at least one of". With that you can provide a list like tags.
Alternatively, you could store the zips in a shop metafield and then check is the shop metafield includes the new zip.
Will "is at least one of" check each zip code in the entire string or will it act like the entire string is just 1 record? I cannot sit here and press enter 900 times to enter each zip code individually (see red pen below); I have a full list that is put in the zip field under 1 entry/record (see blue pen). Is there a function / way to put a separator within my list that will automatically break the zip codes into their own entries?
We don't auto-split that field on characters because sometimes you want the characters. If you use the shop metafields option then you can just copy and paste them in.
The flow part:
I tried setting it up through metafields and based on today's orders, it hasn't worked yet. In the metafields setup, I entered the zip codes as a list, but it seems like maybe I have to enter each one individually (highlighted yellow below)? Here is what I have so far:
Thank you for any help.
Those are validations. You need to set the "values". It's not in the Shopify UI yet...so you need to use an app like Metafields Guru to set them.
Make the shift from discounts to donations, and witness your business not only thrive fina...By Holly Dec 4, 2023
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023