What is your goal?
I am unable get/download multiple attached pdf file uploaded via jotform in make.com
I am able get the single pdf but not multiple.
Please give solution.
Regards
What is the problem & what have you tried?
I am unable get/download multiple attached pdf file uploaded via jotform in make.com
Hi Abhiroop, welcome to the community
This is a common behavior with Jotform. When someone uploads multiple files, Jotform sends them to Make as an array of file objects, not as a single file. That’s why downloading one file works, but multiple files don’t if you try to handle them the same way.
To fix this, you need to iterate over the attachments array. Use an Iterator on the file upload field coming from the Jotform module, then download each file individually. This way, Make processes one PDF per cycle and all files will be downloaded correctly.
If you later need to email them or store them together, you can aggregate the files again using an Array Aggregator.
Hope this helps, and welcome again!
Tony
3 Likes
Welcome to the Make community!
From your output bundle, it appears that you have an array of items. What do you do when you have an array?
“Looping” Through Array Items
When you see an array in a module’s output, think of using an Iterator module. This allows you to individually access and process each item in the array.
In this example, this variable is an array of items (collections). You’ll want to map this variable in an Iterator module.
Question: Have you tried mapping your array variable into an Iterator module, ran the scenario once, and view the output? Then …
Combining Bundles Using Aggregators
Every result/item from some module types (like Trigger / Iterator / List / Search / Match modules) can potentially and likely output more than one bundle. These multiple bundles will individually run subsequent modules once per bundle, which is not optimal in most cases:
- one operation per bundle per module, which could lead to…
- use of multiple credits per bundle per module (some modules use more than one credit)
View example screenshots
Aggregator Example
The “Search Rows” module runs one time, returning 999 results (999 bundles).
 |
Warning: |
 |
|
This can easily use your entire quota of credits if you are not careful or fail to understand this concept. |
|
To “combine” multiple bundles into a single variable, so that you can process all of the items in a single operation, you’ll need to use an aggregator. Aggregators is a type of module that accumulates bundles and outputs one bundle (unless you are using “Group By”). An example of a commonly-used aggregator module is the Array aggregator module.
You can find out more about some other aggregator modules here:
Question: Which is the best aggregator do you think you’ll need for your use-case?
For more information, see “Mapping with arrays” in the Help Centre. I also suggest going through the Make Academy, which also covers the use of Iterators & Aggregators.
— @samliew
P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!
2 Likes
You can use an iterator module before the download module.
In this way Make will separate each file from the array (a list) and download them individually.
1 Like
Hi everone,
I solved the issue by using iterator module as you suggest.
A big thanks to everyone for giving suggestion. @samliew @avillarruel @juan_burstein
3 Likes