# Tigger Array (multiple) file downloads

**URL:** <https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131>\
**Category:** Ask for Help\
**Created:** [July 24, 2024, 1:23am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131 "2024-07-24T01:23:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [July 24, 2024, 1:23am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/1 "2024-07-24T01:23:34Z")

</div>

Any way to trigger an array of PDF links to open/download with the ‘open links’ action? (I want to trigger a multiple file download action)

Note: the list of files are in a Relation/Query Array

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 24, 2024, 11:47pm UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/2 "2024-07-24T23:47:52Z")

</div>

I’m not aware of any methods to do that. Usually the browser is against opening multiple links at once anyway, at least Safari does it that way.

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [July 25, 2024, 1:44am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/3 "2024-07-25T01:44:38Z")

</div>

I believe it’s doable in Chrome. For example in Google sheets you can select many cells with URL’s and “Open Links”, which will open all of them.

Question is whether I can somehow simulate an array of 3 URL’s in Glide to open.

---

<div class="post-metadata">

**Author:** ![FrancoisDigico](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/francoisdigico/32/75651_2.png) [@FrancoisDigico](https://community.glideapps.com/u/FrancoisDigico)\
**Post date:** [July 25, 2024, 2:09am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/4 "2024-07-25T02:09:20Z")

</div>

Nope, Chromium in any browser will prevent that action. With a warning in bottom left of screen. It’s like with generate PDF at once.

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [July 25, 2024, 2:41am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/5 "2024-07-25T02:41:29Z")

</div>

Hmm -  
I guess I’ll have to build a custom API to compress them into Zip files

---

<div class="post-metadata">

**Author:** ![FrancoisDigico](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/francoisdigico/32/75651_2.png) [@FrancoisDigico](https://community.glideapps.com/u/FrancoisDigico)\
**Post date:** [July 25, 2024, 3:36am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/6 "2024-07-25T03:36:25Z")

</div>

You can also use Webhooks, to send to Make, and then do your scenario.  
It’s quite easy and fast to use [Make.com](http://Make.com) for that.

---

<div class="post-metadata">

**Author:** ![FrancoisDigico](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/francoisdigico/32/75651_2.png) [@FrancoisDigico](https://community.glideapps.com/u/FrancoisDigico)\
**Post date:** [July 25, 2024, 3:39am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/7 "2024-07-25T03:39:05Z")

</div>

And yes you can simulate, even try console.log for any variable in input (basics of Javascript).

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [July 26, 2024, 1:17pm UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/8 "2024-07-26T13:17:17Z")

</div>

Elaborate what you mean by simulate with console.log

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 26, 2024, 11:53pm UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/9 "2024-07-26T23:53:24Z")

</div>

For me, I think using Make to ZIP your files first before showing a single button to download that ZIP is your best bet.

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [July 27, 2024, 5:02am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/10 "2024-07-27T05:02:40Z")

</div>

So the user is able to filter a list (which is a query of many items), each items can have up to 3 files related to it in a documents table referencing the item\_id.

At the top of the collection I want to create a button where the user can download all the files associated with the items filtered out as a zip.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 27, 2024, 9:25am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/11 "2024-07-27T09:25:41Z")

</div>

Is that a native filter in a collection, or a custom filter?

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [July 27, 2024, 12:31pm UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/12 "2024-07-27T12:31:49Z")

</div>

Custom filter

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 27, 2024, 12:47pm UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/13 "2024-07-27T12:47:39Z")

</div>

Then I think you can find a way to get all file links in one place after applying the custom filter, then send those to Make, and update that back to a column/add a new row in Glide to allow the user to download.

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [September 14, 2024, 3:12am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/14 "2024-09-14T03:12:45Z")

</div>

Yes, I ended up taking the route of- creating a CSV of record ID’s containing URL’s \> HTTP to n8n to query the documents \> API to compress \> API responds with a URL containing the zipped folder which downloads it automatically

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2024, 3:21am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/15 "2024-09-14T03:21:15Z")

</div>

Do you use n8n cloud version? I have always wanted to dive into it but haven’t got time.

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [September 14, 2024, 3:32am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/16 "2024-09-14T03:32:36Z")

</div>

Yes, using cloud.  
Self hosted for some projects.

Used to use make for everything.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2024, 3:41am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/17 "2024-09-14T03:41:49Z")

</div>

Is it cheaper than Make for the cloud version? I guess yes?

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [September 14, 2024, 3:54am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/18 "2024-09-14T03:54:47Z")

</div>

Definitely is, especially for larger workflows. n8n counts executions fo workflows, no matter how many operations within. Whereas make charges per operation.

Another big factor is now that Claude sonnet and GPT4 are so effective at basic JavaScript, it’s much more efficient and simpler to write little JavaScript(s) for some things over using a bunch of no-code modules in make.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2024, 4:15am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/19 "2024-09-14T04:15:29Z")

</div>

Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![Eden](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eden/32/18651_2.png) [@Eden](https://community.glideapps.com/u/Eden)\
**Post date:** [September 14, 2024, 10:52am UTC](https://community.glideapps.com/t/tigger-array-multiple-file-downloads/75131/20 "2024-09-14T10:52:31Z")

</div>

Ofc!
