How can I divide 2 numbers in a condition?

Hi, I’m building a scenario in which I’m sending an automatic slack notification if the bounce rate goes over 2%. For doing such a thing, I have parameters bounce_count and total_unique_sent_emails, so the bounce rate is easily calculated by dividing here. The question is, is this possible? because after trying myself it doesn’t seem the condition is working. Attaching image.

And to add more info, in the documentation, I revised and there doesn’t seem to be math functions for helping in this task.

Thanks for any help you can provide.

Hi @Tomas_Denis_Reyes_Sa,

Welcome to the community :party_blob:

If you use / or * Make will see this as text (string) values. So it won’t do math with them.

So you should be able to fairly easily fix your issue by using the math operators (joined with brackets).

You should end up with a formula like this:
image

Start off by adding the brackets to your field:

Then, add your variables and insert the math functions to do the calculations:

If you then run this, it should give you the desired result:
image

Hope that helps!

Thomas - Nola Digital

3 Likes