# How Can I fetched multiple files from google drive using Celigo?

**URL:** <https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693>\
**Category:** Integrator.io\
**Tags:** google-drive, connectivity\
**Created:** [August 8, 2022, 12:18pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693 "2022-08-08T12:18:49Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamaliraut](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shamaliraut](https://connective.celigo.com/u/shamaliraut)\
**Post date:** [August 8, 2022, 12:18pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/1 "2022-08-08T12:18:49Z")

</div>

How Can I fetched multiple files from google drive using Celigo?

---

<div class="post-metadata">

**Author:** ![courtneyjordan](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@courtneyjordan](https://connective.celigo.com/u/courtneyjordan)\
**Post date:** [August 8, 2022, 1:41pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/2 "2022-08-08T13:41:12Z")

</div>

Moving this to our [main community forum](https://connective.celigo.com/c/6), rather than the area for enhancement requests.

---

<div class="post-metadata">

**Author:** ![shamaliraut](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shamaliraut](https://connective.celigo.com/u/shamaliraut)\
**Post date:** [August 8, 2022, 5:34pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/3 "2022-08-08T17:34:28Z")

</div>

HI,

Let me know how can I access it after moving to main community

---

<div class="post-metadata">

**Author:** ![scotthenderson](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/scotthenderson/32/6780_2.png) [@scotthenderson](https://connective.celigo.com/u/scotthenderson)\
**Post date:** [August 8, 2022, 9:25pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/4 "2022-08-08T21:25:57Z")

</div>

It should be super simple to do this.

1. Create a flow.
2. Select 'Google Drive'.
3. etc...

Please be more specific if you have a more targeted use case. Also, it is really helpful if you provide more background on what you are trying to do, and screenshots where you are getting stuck, etc...

If are looking for more guided help, then please contact support, or attend one of our office hours sessions.

 ![5301043caa20740200000001-aca61bab4acf4e978faeafe87fc1d5b1.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/4/4704ee187aec7df586fba0e00ab7937f4f33dcfe.png)

---

<div class="post-metadata">

**Author:** ![shamaliraut](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shamaliraut](https://connective.celigo.com/u/shamaliraut)\
**Post date:** [August 10, 2022, 12:13pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/5 "2022-08-10T12:13:30Z")

</div>

Hi Scott,

I am good with drive connection. Here I am creating some files on google drive and also files are uploading via flow successfully. But I also want to fetched the file link/url created on google drive in order to send it to another system.

---

<div class="post-metadata">

**Author:** ![shamaliraut](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shamaliraut](https://connective.celigo.com/u/shamaliraut)\
**Post date:** [August 10, 2022, 12:14pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/6 "2022-08-10T12:14:35Z")

</div>

there could be multiple files so file id will not help as the base/common url is changing every time for every generated file.

---

<div class="post-metadata">

**Author:** ![scotthenderson](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/scotthenderson/32/6780_2.png) [@scotthenderson](https://connective.celigo.com/u/scotthenderson)\
**Post date:** [August 10, 2022, 2:25pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/7 "2022-08-10T14:25:21Z")

</div>

I am not an expert with google drive APIs, but i would think the base url is common for all files in your google drive, and then only the id for a file is unique, and then it should be easy enough to construct the url to send to other apps. i.e. To get the id back into your source record payload you would define a 'Response mapping'. I actually recommend mapping both 'id' and '\_json' back into your payload, and the '\_json' field can sometimes contain useful info (depending on what the external API returns).

 ![5301043caa20740200000001-6f605d39b91244fba2d86e8b36cb6138.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/e/ef732f7abf3c351c4441b226ad3a60fd62fa9278.png)

 ![5301043caa20740200000001-d2bec910d5f34a7a8d23bdca76133912.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/a/a347f16d10716f3043af75b8a0bce008c26a9c08.png)

---

<div class="post-metadata">

**Author:** ![shamaliraut](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shamaliraut](https://connective.celigo.com/u/shamaliraut)\
**Post date:** [August 12, 2022, 3:55pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/8 "2022-08-12T15:55:13Z")

</div>

Hi Scott,

I applied response mapping in the flow and trying to fetch id as well as other values as below

 ![5301043caa20740200000001-95f48b3635564b9fbf7ce7d6a928acd6.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/2/24cc36bf7055061e0c9e53e3f530db1406a6db07.png)

But here we are not getting any ID back, we are getting \_JSON data only which contains file name. Nothing else we have in data which I errored out manually by adding some error in flow.

for sample see below data :

{  
 "errors": [  
 {  
 "occurredAt": "2022-08-12T00:21:37.236Z",  
 "source": "post\_submit\_hook\_ss",  
 "code": 200,  
 "message": "Unable to create the order in NetSuite for the Shopify order #4762883915863 Failed to save record because Please configure the inventory detail for this line.",  
 "traceKey": "4762883915863",  
 "importDataURI": "[https://radpowerbikes.ca/admin/orders/4762883915863](https://radpowerbikes.ca/admin/orders/4762883915863)",  
 "oIndex": "1",  
 "retryDataKey": "e5c3c2ee93af4ef3886d2882fa954468",  
 "errorId": "921318424",  
 "\_flowJobId": "62f59cdeb2715028f2e2df6d",  
 "reqAndResKey": "5597854702616-f6c72669210f4be4bd4ee39079154a83-undefined-undefined",  
 "json": {  
 "name": "file-2022-08-12T08:49:34-07:00.xlsx",  
 "fileLocation": "Createdfile"  
 }  
 }

]

}

---

<div class="post-metadata">

**Author:** ![scotthenderson](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/scotthenderson/32/6780_2.png) [@scotthenderson](https://connective.celigo.com/u/scotthenderson)\
**Post date:** [August 12, 2022, 4:20pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/9 "2022-08-12T16:20:55Z")

</div>

Bummer. I was hoping we would have the id from Google available in the response data. I will pass this along to our team to enhance.

---

<div class="post-metadata">

**Author:** ![shamaliraut](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@shamaliraut](https://connective.celigo.com/u/shamaliraut)\
**Post date:** [August 22, 2022, 12:09pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/10 "2022-08-22T12:09:19Z")

</div>

Hi Scott,

Any update here?

---

<div class="post-metadata">

**Author:** ![pridhvi](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@pridhvi](https://connective.celigo.com/u/pridhvi)\
**Post date:** [August 22, 2022, 3:35pm UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/11 "2022-08-22T15:35:16Z")

</div>

Hi @shamaliraut

I'm working with my team to see if there is any way to get around this issue. Please give me until today to keep you updated on the status.  
  
We have created an enhancement request to address this issue and ensure that we capture the entire raw response in '\_json" field (JSON format) so that any field returned by an API can be accessed in the flow response mapper. We are currently scoping the details for this enhancement.

Thank you & Regards,

Pridhvi

---

<div class="post-metadata">

**Author:** ![pridhvi](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@pridhvi](https://connective.celigo.com/u/pridhvi)\
**Post date:** [August 23, 2022, 10:05am UTC](https://connective.celigo.com/t/how-can-i-fetched-multiple-files-from-google-drive-using-celigo/693/12 "2022-08-23T10:05:32Z")

</div>

Hi @shamaliraut,

After internal team discussions, we determined that there is no simple solution to this problem at this time. As I mentioned in my previous comment, we intend to improve this in the first half of next year, though the exact date has yet to be determined. I will keep you updated once we have prioritised this issue. Thank you very much.

Regards,

Pridhvi
