Skip to main content

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

 

 

Hi ​@rashednaber 

Try these Zap steps:

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

 


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!