Skip to main content
Question

How do use a filter that detects there are more than one value

  • May 17, 2025
  • 2 replies
  • 24 views

rashednaber

The following is an example value below:

Line items current quantity (picked up from a webhook): 0, 0, 1, 1

So the comma is seperating strings here correct?

 

Is there a way to apply a filter saying only continue if

Line items current quantity contains more than one value

Is there a way to continue if line items contain more than 2 values

 

or in other words contains a comma or more than one comma

 

 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34032 replies
  • May 18, 2025

Hi ​@rashednaber 

Try these Zap steps:

  • Formatter > Utilities > Line Items to Text
    • Separate with |
  • Filter
    • Check if output from the Formatter step contains: |

 


rashednaber
  • Author
  • Beginner
  • 7 replies
  • May 19, 2025

My workaround before I saw this was funny (but hey it works!)

AI by Zapier Prompt = How many SKUs are in the SKU field? answer should be a number.

Input sku field and then filter based on the output.

 

Depending on the output I configured the Javascript code to split the array into different fields.

These “puzzles” can be somewhat fun!