Convert string into array of collections

Hello,
One of the modules returns the following string → “https://fileupload.com/some-file.png”.

How can I convert it to this array using Make built-in functions?

[{ url: "https://fileupload.com/some-file.png" }]

This is the format expected by Airtable in file column.

Just concatenation will work. Create a string literal with the placeholder for your file variable.

The notation in the text will notify the api that you’re sending an array. It’s just text!

So

[{ url: "<your module output>" }]

And put it inside the body you are sending to another api call.

2 Likes