# Struggling uploading an image from google drive to OpenAI

**URL:** <https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175>\
**Category:** Questions\
**Tags:** chatgpt\
**Created:** [November 7, 2023, 7:05pm UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175 "2023-11-07T19:05:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaidano](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/kaidano/32/18987_2.png) [@kaidano](https://community.make.com/u/kaidano)\
**Post date:** [November 7, 2023, 7:05pm UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175/1 "2023-11-07T19:05:10Z")

</div>

Hi makers! Desperately need your advice.

The task is to take an image from a google drive, send it to GPT and get a description in the return. GDrive - download file and GDrive - Get shareable link give me plenty of data, but I can not understand what to do next, how exactly can I upload that jpeg to GPT to process it.

I’m stuck. Thank you for your help!

---

<div class="post-metadata">

**Author:** ![Philippe\_Billet](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@Philippe\_Billet](https://community.make.com/u/Philippe_Billet)\
**Post date:** [November 8, 2023, 8:15am UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175/2 "2023-11-08T08:15:56Z")

</div>

Hi [kaidano](https://community.make.com/u/kaidano),

If I well understand, you want to download your image in Make, and then get a description with GPT.  
So I upload a picture in my Google drive, its name is Screenshot 2023-11-08 085732.png  
In Make, I used the “Google drive” module: Download a file, with the following settings:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/f/df50037190b8f8d0b729e1c6666d1119666be319.png)  
Then I run the module, and I get a quite big bundle:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/6/56130f6b7f0943d4093873f51054f3ce06c9151a.png)

The picture is in the variable _data_ (in yellow in the picture above), you can use this to feed GPT.

Hope this helps,

PBI

---

<div class="post-metadata">

**Author:** ![kaidano](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/kaidano/32/18987_2.png) [@kaidano](https://community.make.com/u/kaidano)\
**Post date:** [November 8, 2023, 1:38pm UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175/3 "2023-11-08T13:38:29Z")

</div>

thank you! yes, you’re right. there was another problem. GPT didn’t want to it that field unless it was encoded to base64

---

<div class="post-metadata">

**Author:** ![Philippe\_Billet](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@Philippe\_Billet](https://community.make.com/u/Philippe_Billet)\
**Post date:** [November 8, 2023, 4:08pm UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175/4 "2023-11-08T16:08:51Z")

</div>

How did you solve this encoding problem?

Maybe with the function base64()…

---

<div class="post-metadata">

**Author:** ![kaidano](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/kaidano/32/18987_2.png) [@kaidano](https://community.make.com/u/kaidano)\
**Post date:** [November 9, 2023, 5:37pm UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175/5 "2023-11-09T17:37:14Z")

</div>

Yes, with base64(data) function, you’re right! And huge JSON (my brother, who is 80lvl super elf helped me with that Sorry for the delay with the reply.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/c/0c017d0ab4a24040b25fdc9cfe47ff8d9c1edcfe.png)

---

<div class="post-metadata">

**Author:** ![vendy](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/vendy/32/12635_2.png) [@vendy](https://community.make.com/u/vendy)\
**Post date:** [November 10, 2023, 9:16am UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175/7 "2023-11-10T09:16:53Z")

</div>

Hey there @kaidano 👋

Here’s a round of applause to you for solving this with the amazing assistance of @Philippe_Billet 👏.

Also thank you very much for keeping us in mind and coming back here with this valuable info. We truly appreciate it 🙏

Keep up the great work!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [November 23, 2023, 6:07pm UTC](https://community.make.com/t/struggling-uploading-an-image-from-google-drive-to-openai/19175/8 "2023-11-23T18:07:15Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


