I want to create a filter that will only work when there are no numbers in the input data. If there are no numbers, the next queries should be executed, but if there is any number in the input data, stop. How can I do that?
I want to create a filter that will only work when there are no numbers in the input data. If there are no numbers, the next queries should be executed, but if there is any number in the input data, stop. How can I do that?
Hi there
Welcome to the Community! 🎉
It looks like you’ve reached out to our Support Team about this and they replied today with a suggestion. I’ll share details of the suggestion here in case it’s helpful:
Since it's not clear which field are you looking to filter, I would recommend you just select the fields you need in an Extract Number step. To add the action, simply add in the "Formatter" action and select the "Text" event. Under the "Transform" field, select "Extract Number". In this example, I'm using the Line Item Name:
(view larger)
This action will then return the numbers in each line item name if there are any:
From here, you can edit any of your Paths to use the Output
from this step. In this example, I would want the Zap to only continue if the Output
above is empty, meaning there were no numbers found in the product names:
(view larger)
Can you let me know if this is the solution you have in mind? If so, please don't hesitate to give it a try and let me know how you go.
If you’ve got any questions regarding their suggestion it would be best to continue the conversation with them over email. If you can’t locate their reply I’d recommend searching your spam/junk folder or searching your inbox for any emails from zapier.com in case. Sometimes their emails can end up in the spam/junk folder by accident.
is there a way to set this in the filter? e.g. by "(text) is not in" ?
Hi there
Please relay this question to your open ticket to our Support Team. If you can’t locate their reply, I’d recommend searching your inbox for any emails from zapier.com or contact@zapier.com
Thank you for your patience and understanding.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.