How can I post multiple Google Drive files as multipart/form-data in one HTTP request (latest Make UI)?

I’m working in the latest Make.com interface (2025) and trying to send several Google Drive files together in a single multipart/form-data POST.

The goal is to upload a JSON “instructions” file plus several PDF files to an API endpoint that merges them into one PDF.

The Drive folder looks like this:

Instructions.json
DocumentA.pdf
DocumentB.pdf
DocumentC.pdf

In the future, there will always be one Instructions.json file, but the other files are variable.


:gear: What I Tried

  1. Google Drive → Search for files/folders
    → Returns metadata for all four files.

  2. Iterator to iterate through each file.

  3. Google Drive → Download a file
    → Works; four bundles, each with file name, data, size, etc.

  4. Array Aggregator (to collect the bundles).
    → Same net result — four operations, each a bundle with one file.

  5. HTTP → Make a request (multipart/form-data)
    → I want to map each file as a separate part of the form body:

    Instructions | Instructions.json | <binary>
    Resource     | DocumentA.pdf     | <binary>
    Resource     | DocumentB.pdf     | <binary>
    Resource     | DocumentC.pdf     | <binary>
    
    

:construction: The Problem

After step 3 or 4, I cannot reference individual files in the HTTP module.

  • The new GUI no longer supports array indexing ([1], [2], etc.) or manual expressions like get(Array aggregator; 2; "data").

  • The get() function, when used in the mapper, only returns the first item of the aggregated array.

  • There’s no Code or JavaScript module anymore, so I can’t script a solution or manually build the multipart/form-data body.

  • Every attempt results in either four separate operations (one file per HTTP call) or one operation that sends only the first file.

Essentially, I can download multiple files, but there’s no way to use them as a single unit in the current Make runtime.


:puzzle_piece: What I Need

A way—any way—to have the HTTP module send multiple files at once as separate form parts, each with its name and binary data, in one request.

Specifically:

  • Instructions.json → posted as “Instructions”

  • all other files → posted as “Resource” parts

  • one single HTTP POST, not four sequential ones


I think this might be the issue, any statement of fact is actually conjecture (don’t know the following)!

  • The new Make runtime executes one bundle at a time; bundles don’t coexist.

  • Array Aggregator only gives you a JSON array, not true binary objects.

  • The HTTP module cannot access array elements individually.

  • Make removed scripting modules, so no in-scenario code workaround exists.

So, is there any supported way in the latest Make.com version to treat multiple downloaded files as a group and send them together as multipart form data in one HTTP request?
If not, is there a known workaround (e.g., webhook + external script, beta scripting feature, or roadmap item) that addresses this?

And if this analysis is incorrect, apologies, but I searched high and low on how to accomplish this, if it’s simple but not seeing it…apologies.

Hello,

To be honest- I have not got much time to investigate your case but take a look here- maybe it will be helpful:

  1. Google Drive Search module returns files as separate bundles- you don’t need iterator.

  2. Add download module and map it with File ID

  3. Crucial step- add array aggregator but do not configure it yet

  4. Add your HTTP module

  5. Configure HTTP module and map output of array aggregator as Fields.

  1. Go back to array aggregator
  • Set up source to your 1st Search module
  • Set target to HTTP mode
  • Set correct key for your field according to api spec. If you need to change file name- set “File” radio button to “Map”

  1. I tested it out and the request looks okay:

If you need to create individual keys for each file- below is one of the examples:


Incoming data:

Please let me know if that helped!

2 Likes

That did it. Thank you immensly and I’ll give shout out when writing the tutorials on integrating our product into Make. Here’s what I did and worked. Now, I’m relying on the order of the files coming from google drive. Noob follow up question (but off topic) - to get them in proper order (i.e. 1st file is an *.json while all other files need to be in N order so that its Instructions, then Resource as the file name for the http request) 0 assuming I would do that in the download module. But that is off topic, as the question posed here is fixed following the steps provided in the answer.