Extract values from a bundle then send them to http get file

Dear Make esperts,

I would like to extract the URL values (3 ones) out of a bundle.
then send each value to a http get file function.
Initially, I have three URLs (of pictures) in Airtable, I aggregated them, then iterate them to get them all in one single bundle. Now I want to send each objec(or value?) to be processed by three different http get file. I know how to store them in google drive afterwards.

thank you

Amine

Welcome to the Make community!

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

2 Likes

[
{
“array”: [
{
“Image 1”: “https://replicate.delivery/pbxt/SIDlCiHYIxqtIVZA4b6Zw9fZO1iYEh5p7QUouV80rOpVKvSJA/ai.png”
},
{
“Image 1”: “https://replicate.delivery/pbxt/XKmreGQbAxSAWS56mOIp5M47pbPobXsQP0D9at0LXOdGfdlSA/ai.png”
},
{
“Image 1”: “https://replicate.delivery/pbxt/SIDlCiHYIxqtIVZA4b6Zw9fZO1iYEh5p7QUouV80rOpVKvSJA/ai.png”
}
],
“IMTAGGLENGTH”: 3
}
]

According to Mapping with arrays, you can access each array index using the built-in function get

e.g.:

{{ get(map(40.array; "`Image 1`"); 1) }}
{{ get(map(40.array; "`Image 1`"); 2) }}
{{ get(map(40.array; "`Image 1`"); 3) }}

For more information, see Mapping with arrays

3 Likes

you’re a genius. it works perfectly. Thank you very much
Amine

2 Likes