Expressions in Make.com Truncated or Not Evaluating Correctly

I’m encountering an issue in Make.com where expressions within double curly braces {{...}} are being unexpectedly truncated or not evaluated as intended. For example, when I input {{2["id"]["videoId"]}}, it results in just 2, omitting the rest of the expression.​

This behavior disrupts the proper functioning of my scenario. Has anyone faced a similar problem or have insights on how to ensure that expressions are fully recognized and processed correctly in Make.com?​

Thank you in advance for your assistance.

Welcome to the Make community!

This is not JavaScript. You don’t use square brackets in module fields.

This is how you’d reference the videoId, assuming it’s all nested collections (objects).

For example, if your output bundle looks like this:

[
  {
    "id": {
      "videoId": "value"
    }
  }
]

e.g.: (paste this into the field)

{{2.id.videoId}}

If you need further assistance, please provide the following:

Please provide the output bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the History tab).

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

A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a bundle.txt file.

You can upload the file here by clicking on this button:

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved, and help you with mapping the raw property names from collections.

This will allow others to better assist you. Thanks!

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Hey there,

sorry do you need to retain the curly brackets or are you trying to map 2.id.videoID variable?

Hi,

When you copy/paste in a field, you need to keep them, so that it’s interpreted by the editor as output variables.

Cheers