Process values from bundle

Unfortunately, I can’t get any further with a problem here. It’s about processing an invoice request from a customer where there are two invoice numbers with two shipping dates for one order number.

I get both numbers in one variable like here:
Json_query:
“invoice_numbers”: “TAT441919, TAT443211”,
“shipping_dates”: “2025-05-14, 2025-05-26”,

I have two values in a variable, which I separate with this variable, and everything works:

  • Split InvoiceArray

    • 1

TAT441919

  • 2

TAT443211

  • Split DatesArray

    • 1

2025-05-14

  • 2

2025-05-26

But now to the actual problem, both numbers and data are displayed here per bundle.
For the first invoice, I can process everything cleanly up to the module where the invoice is downloaded:

This is what the first download module looks like, which also works:

But now I want to process the invoice number and date from the second bundle, as here:

But the output is empty:

I now need a way or variable to get only the value from the second bundle from both aggregators:

Hey Marcel,

this is definitely not how you process an array in Make.

You either have an iterator module to go through the items one by one and do the same operation for each of them.

Or, it looks like this is your case, you can directly map the items and use the orderindex to get the desired one. It looks like you will always have two items inside the array right? So just have two modules - one to upload the first and one to upload the second item.

Hi, thanks for the feedback. yes that’s true so far, this thread is only for cases where there are two invoice numbers and shipping data. Yes, both operations must be carried out in one string in order to retrieve both invoices from the S3 bucket.

There is also a line for just one invoice number, which is the standard and is usually addressed.

However, I have now found a solution, I have changed the split variable to get the values individually, which has worked.