Changing Collection into Array

Dear Make Community,

Is it possible to replace the entire Array “Flow” in the Collection called “Blueprint” with another one?

Or is it possible to add another “Collection” to the existing Array “Flow” at the beginning as the number “1”?

If you get the Blueprint as JSON text, then it’s easier to manipulate/modify the data.

Otherwise you’ll just have to set a new Blueprint variable using the “Parse JSON” module, manually building it from new data (array of collections).

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.

Thanks for your answer.

  1. What do you mean by writing “JSON text”?

  2. In the second option, first in the first module I get the entire blur print of the scenario. Then in the “Parse Json” module I create the schema I want to add, and finally in the “set variable” module I combine “flow” from blueprint with “flow” from “Pase Json” and I get the “flow” I would like to have in the new blueprint.
    The question is:
    How to form the entire collection called Blueprint?