Mastering Conditional Statements in Make.com: A Comprehensive Guide to Troubleshooting and Solutions

Hey there, Make.com enthusiasts! Today, we're going to tackle a common issue that many users face when working with conditional statements in Make.com. The problem arises when you're trying to populate documents based on whether certain form fields are left blank. You might have tried something like "if(Length()>1; Greater than 1; Less than 1)", only to find that it always returns as true, even when the field is blank. This can be quite frustrating, especially when you're trying to streamline your workflow.

Understanding the Problem

The root of the problem lies in how Make.com interprets the greater than and less than operators. It seems that Make.com might be interpreting these as text, which is why your conditional statement isn't working as expected. But don't worry, there's a simple solution to this problem!

Step-by-Step Solution

Instead of using the words "Greater than" and "Less than", you can use the symbols for these operators. Here's how you can do it:

  1. Open your conditional statement in Make.com.
  2. Replace "Greater than" with the symbol {{>}}.
  3. Replace "Less than" with the symbol {{<}}.
  4. Save your changes and test your conditional statement again.

Your conditional statement should now look something like this: "if(Length()>1; {{>}}1; {{<}}1)".

Troubleshooting Tips

If you're still having trouble with your conditional statement, here are a few things you can try:

  • Make sure you're using the correct symbols for the greater than and less than operators. It's easy to mix them up!
  • Check that your conditional statement is formatted correctly. A small typo can cause the whole statement to fail.
  • Try testing your conditional statement with different form fields to see if the problem is specific to one field.

Wrapping Up

Conditional statements are a powerful tool in Make.com, but they can be tricky to get right. The key is to understand how Make.com interprets different operators and to use the correct symbols for these operators. With a bit of practice, you'll be able to create complex conditional statements with ease. Happy making!

You do have further questions?

Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.