Expert advice required and ideally contact

:bullseye: What is your goal?

final reporting on an outbound AgentAI system

:thinking: What is the problem & what have you tried?

Message for Make.com Expert

Hi there,
I need guidance on the correct and stable way to build multi-line expressions inside a Tools → Set multiple variables module in the new Make.com UI.

Issue I’m facing

When building expressions such as:

if(
  or(
    equal( /44.do_not_contact ; true );
    equal( /56.last_action_reason_raw ; "dnc_request" );
    greaterOrEqual( /58.calls_today_final ; 4 )
  );
  false;
  true
)

the editor sometimes:

  • Deletes or strips parameters inside functions

  • Removes tokens inside equal()

  • Converts tokens to empty strings {{}}

  • Rearranges parentheses

  • Inserts duplicate semicolons

  • Collapses the entire expression to something like equal(10)

  • Randomly rewrites the block after saving

  • Converts typed {{token}} to plain text instead of a real token

  • Converts booleans to strings ("FALSE")

  • Breaks nested function calls completely

This happens even when tokens are inserted cleanly using / and even on brand-new Tools modules.

My question

What is the correct, officially recommended method for writing a multi-line expression inside a Tools module in the new UI that contains:

  • Nested functions (if, or, equal, greaterOrEqual, etc.)

  • Multiple Boolean comparisons

  • Multiple mapped tokens from previous modules

  • More than 3–4 lines of logic

  • Conditions that must evaluate to true or false reliably

Specifically, I need to know:

  1. Should expressions be written on one line or multiple lines?

  2. Should I use semicolon separators after each function?

  3. Should tokens be referenced as /bundle.field or as {{bundle.field}}?

  4. Does the new UI support complex expressions in Tools, or should they be placed in a different module type (e.g., Math → Evaluate expression)?

  5. How do I prevent Make from auto-rewriting or stripping tokens inside nested functions?

  6. Is there a recommended stable pattern for complex boolean logic in Tools?

For context, this is part of a large scenario with multiple Tools, Math, Router, and Sheets modules. Rebuilding the entire flow isn’t feasible, so I’m looking for a stable, recommended pattern that avoids ghosted tokens and UI corruption.

If there are official guidelines or documentation on where complex boolean logic should live (Tools vs Math vs Router), or examples of stable multi‑line expressions, I’d be grateful for a pointer.

Thank you!

:clipboard: Error messages or input/output bundles

too many to list… expert help required

Logic can live everywhere in Make. But as a beginner, you should use the official documentation and Make Academy only to teach yourself.

AI will get you stuck very fast and you won’t learn anything, I advice you to stop using it.

2 Likes

Welcome to the Make community!

I would suggest completing the Make Academy before jumping into building a complete scenario, as ALL the basics required to use Make effectively are covered there. If you need specific assistance when you have started building a scenario it’s easier to help you then.

For more information, see Mapping below.

Learn Make

How-Tos

Useful to Know

My Custom App — Absolutely Free!

Save development time and operation credits with these utility modules: Chunk Text; Chunk Array; Chunk Words; Multiple Find & Replace; Collection to Array/String List; Execute JavaScript; Estimate Tokens; Calculate Difference Between Two Dates; Get Next Business Day (with holidays); List Upcoming Dates of Day of Week; and more!

Make Partners & Custom Apps

Do you require urgent / private support?

Is this topic going back-and-forth too slowly, or with no resolution yet? You can use the Hire a Pro > Hire Help category to request for 1-to-1 assistance to help you get the issue resolved faster, especially if it is urgent or if your automation contains sensitive information that you can’t share here.

It is important to post your request in the Hire a Pro > Hire Help category, as other forum members are not allowed to advertise services in other categories like here. Posting in the Hire a Pro > Hire Help category will also expedite your request as other members can assist you over other forms of communication like direct messages, emails, and screenshare.

How to send direct messages?

This forum has a semi-hidden messaging feature which you can use to directly reach out to other forum members.

:warning: Warning: :police_car_light:
New forum accounts do not have permissions to send private messages. Simply earn trust levels first by being active on this forum

1. Message Inbox Page

You can message another user from your message inbox page, and click on the “New Message” button on the right.

2. User Card / Profile Pages

You can message another user from their profile card on each post, or visit their profile.

3. Creating a New Topic

The last method is by using the “New Topic” button to begin composing a new topic. Click on the :plus: symbol to switch the post type to a “New message”.

— @samliew

You aren’t meant to manually type them out. After all, the scenario editor is a no/low-code visual editor platform.

Officially recommended? Pick functions, operators, and variables from the variables panel of course.

Official guidelines or documentation? There’s the Make Academy, Make Partner Training, and Make Help Centre. Have you at least completed the Make Academy?


It appears that your brackets, operators, functions, or special variables were not selected from the Variables Panel. If done correctly, they should have a solid background.

Try selecting it again from the Variables Panel, or type curly brackets one at a time, like these {{ }} so that it ends up with a background:

{{ ( }}
{{ / }}
{{ + }}
{{ = }}
etc.

I also suggest doing this Make Academy, as it covers selecting brackets, operators, functions, or special variables from the Variables Panel.

For more information, see:

Pick built-in functions from the variables panel, or by typing / and selecting from the autocomplete dropdown.

Pick built-in operators from the variables panel. Select brackets if you need to group operators.

Pick variables from previous modules from the variables panel, or by typing / and selecting from the autocomplete dropdown.

You CANNOT split logic within a field into multiple NEW LINES.

Provide examples of what’s not working? For more information, see Item data types - Help Center and Type coercion - Help Center

NO. Semicolons are only used in-between parameters. You can however, nest functions inside another function’s parameters.

Pick variables from previous modules from the variables panel, or by typing / and selecting from the autocomplete dropdown. The / must disappear if you correctly select a variable from the autocomplete list.

Please provide examples of what you’re trying to do, what you are actually doing, and what you’re expecting, and what actually happens.

Please provide examples of what you’re trying to do, what you are actually doing, and what you’re expecting, and what actually happens.

What do you mean stable?—How are you mapping variables within a field that it appears to be unstable?


We’d love to help, however, we require more information that demonstrates the problem to help us reproduce the scenario and any issues and errors.

To allow others to assist you, please provide the following:

1. All Relevant Screenshots

We need to see what you’re working with to give you the best advice. Screenshots are important because Make is a visual editor — a picture provides us with more context.

It would help us identify the issue by having screenshots of:

  • the full scenario, and the zoomed in parts of the scenario that you are referring to (if your scenario is huge),
  • a full scenario run/execution from the history (showing output “speech” bubbles),
  • relevant module fields (showing how you’ve used any built-in functions, and how you’ve mapped the variables),
  • relevant filters between modules (showing which operators and any built-in functions you’ve used, and how you’ve mapped the variables),
  • relevant module input/output bubbles,
  • if applicable, any error messages,
  • and if applicable, any external services (spreadsheet headers/ sample data/ regex101.com/ etc. to show the item/ record exists, and is set up correctly).
Need help❓View instructions ◀

We would appreciate it if you could directly upload screenshots here instead of linking to them outside of this forum. This allows us to zoom in on the image when clicked, and also having improved privacy from third-party sources.

Taking Screenshots

  • Microsoft Windows: Take screenshots using the “Windows Snipping Tool”, by pressing either PrtSc or WinShiftS keys on your keyboard.
  • MacOS: Take screenshots by pressing CommandShift4 keys on your keyboard.

Uploading Attachments

  • Drag image files directly into the rich-text editor, or
  • Click on the upload button in the editor toolbar to select files:

2. Scenario Blueprint

Providing your scenario will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return. This would benefit you in implementing our suggestions as you can view screenshots of the changes or paste corrected modules back into your scenario.

Need help❓View instructions ◀

A. Export Blueprint

In the scenario editor, click the three dots at the top-right, then select “Export blueprint”.

  • You can upload files and images to this forum by clicking on the upload button:

    Uploading an attachment here will look like this:
    blueprint.json (12.3 KB)

B. Create Public Share Link

In the scenario editor, click on the Share button:

Read more about the scenario sharing feature in the Help Centre.

3. Properly-formatted Output Bundles from a Scenario Run

Please provide the input/output bundles of each of the relevant modules by running the scenario, or get the bundles from a previous run from the Scenario “History” tab.

Providing the bundles from a scenario run will allow others to replicate what is going on, especially if there are complex data structures (nested arrays and collections) and external services. This helps mapping the correct raw variable names from collections (instead of the label/display name).

Need help❓View instructions ◀

Click on the white speech bubbles on the top-right of each module and select “Download output (or input) bundles”.

A. Upload a Text File

Save each bundle contents in a plain text editor as a moduleNumber-output.txt file. Open the file to check if it has not added additional formatting or encoded the plain text.

  • You can upload files and images to this forum by clicking on the upload button:

    Uploading an attachment here will look like this:
    module1-input.txt (1.2 KB), module1-output.txt (3.4 KB)

B. Insert a Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the bundles AND format them correctly.

:warning: Formatting IS Important! :warning:

Here are some ways to provide text content in a way that it won’t be modified by the forum.

  • Method 1: Type code fence manually —
    Manually type three backticks ``` in a separate line before and after the content, like this,

    ```
    text goes here
    ```
    
  • Method 2: Highlight the pasted content, then click the preformatted text/code button —

  • Method 3: Upload your file elsewhere and share the public link —
    This method is only advised for large files exceeding the forum upload limit.

Sharing these details will make it easier for others to assist you, so that you can get better answers, faster.

Hope this helps! If you are still having trouble, please provide more details.

— @samliew