How to add manually a collection to a variable in module "set multiple variables"

Hey Fellow Makers !

This is probably a beginer question but I did not found the answer on any other community topics.

I need to have a collection on a set multiple variable. Collection is :

{
    "DE": "https://popcall.typeform.com/to/--",
    "EN": "https://popcall.typeform.com/to/---",
    "ES": "https://popcall.typeform.com/to/----"
}

When I put this in my set multiple variable, the output bundle look like this :

{\n    \"DE\": \"https://popcall.typeform.com/to/--\",\n    \"EN\": \"https://popcall.typeform.com/to/---\",\n    \"ES\": \"https://popcall.typeform.com/to/----\"\n}

So basically make is interpreting it as a text and not a collection.

When I put in a collection for a previous module the “Set multiple variables” module is keeping it as a connection.

Is there a way to manually write a collection on a set multiples variable module ?

Thanks a lot for your help, It’s probably something basic I’m missing.

Noé

Welcome to the Make community!

Yes, instead of a Set Variable module, use a “Parse JSON” module.

Screenshot_2024-08-26_010857

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

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!