How can I tag orders by zip code using Shopify Flow?

Topic summary

Goal: Automatically tag orders by matching the shipping ZIP/postal code against a large list (~900) in Shopify Flow without entering codes one-by-one.

Key points and guidance:

  • Use the condition operator “is at least one of” on the shipping ZIP. “Includes” checks if the field contains your string, not vice versa.
  • Alternative: store ZIPs in a shop metafield and check if the metafield includes the order’s ZIP. Note: metafield “values” must be set via a third‑party app (e.g., Metafields Guru); Shopify’s UI doesn’t support this yet.

Workarounds shared:

  • Paste a JSON-like array of ZIPs, e.g., [“99997”, “99998”, “99999”], into the ZIP field while using “equals” or “includes,” then switch to “is at least one of.” Flow converts the list into discrete entries.
  • For Canadian postal codes: use “starts with” for prefixes (enter multiple strings), or use full-code lists with “is at least one of,” depending on desired outputs.

Outcomes:

  • Mixed results: one user switched off Flow, using a webhook + GraphQL script to tag orders, citing reliability and documentation issues.
  • Discussion remains open; screenshots illustrate Flow and metafield setup.
Summarized with AI on December 17. AI used: gpt-5.

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?

Thank you.