Best answer

Paths comparing numbers - Possible to have greater OR even

  • 13 March 2024
  • 3 replies
  • 17 views

Userlevel 1

Hello Community,

 

Here is my case:

I have a typeform-questionaire which gives me 5 variables ABCDE between 0 and 40.
The variable with the highest number should start an action.
Unfortunately typeform can’t compare and choose the highest variable of these 5.

 

So this is where I wanted to use Paths.

 

I already accomplished the following:

5 Paths - each comparing one variable against all the others -
So: comparing A greater B AND A greaterC AND A greater D AND A greater E
and if A is greater than all of them, the action is initiated.

Here it becomes tricky.

Sometimes there are 2 variables which are even.
In this case no path is triggered unfortunately.

 

So what I would need is a combination of rules so at least one path is triggered.
Something like:

If A is greater than B OR If A is even B AND
If A is greater than C OR If A is even C AND…


Can someone help me out with a possible solution?

Happy to hear from you. And Thanks

icon

Best answer by Troy Tessalone 13 March 2024, 15:57

View original

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

3 replies

Userlevel 7
Badge +14

Hi @TransformMedia 

For that type of logic it’s probably best to use a custom Code step: https://zapier.com/apps/code/help

You can try using ChatGPT to help you write the logic into code.

If you need help, consider hiring a Certified Zapier Expert: https://zapier.com/experts

Userlevel 1

Thanks. It worked. 😁

Userlevel 7
Badge +6

That’s awesome @TransformMedia! Big thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗