How to create an line break in WhatsApp?

I have been sending a field called ‘message’ to Make via Webhook, where I have an array with several items.
Since the quantity changes according to the items the customer has chosen, I cannot set a defined number of variables.

I have tried to extract the ‘message’ field, separate it by each ‘item,’ and used ‘newline’ to create a new line for each item (which was also a suggestion from the AI integrated into the platform).
The problem is that whenever I test the flow, I get a 400 error stating:
“The operation failed with an error. [400] [100] (#100) Invalid parameter Param text cannot have new-line/tab characters or more than 4 consecutive spaces.”

Is there any way I can break each ‘item’ into lines and send it to the customer, considering this whole scenario?

My field configuration (I have tried ‘multiline Y’ and ‘multiline N’)

My custom variable which I set for each item as new line:

Welcome to the Make community!

What is the output bundle of your webhook when you do the following:

You can do that by setting the Webhook “JSON Pass-through” to YES (it is “No” by default), when creating or editing a webhook.

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.

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.