# Gmail PDF Attachment Download and Upload to Matching Drive Folder

**URL:** <https://community.make.com/t/gmail-pdf-attachment-download-and-upload-to-matching-drive-folder/82164>\
**Category:** Questions\
**Tags:** gmail, pdf, google-drive\
**Created:** [May 12, 2025, 2:08pm UTC](https://community.make.com/t/gmail-pdf-attachment-download-and-upload-to-matching-drive-folder/82164 "2025-05-12T14:08:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Szabo](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@Thomas\_Szabo](https://community.make.com/u/Thomas_Szabo)\
**Post date:** [May 12, 2025, 2:08pm UTC](https://community.make.com/t/gmail-pdf-attachment-download-and-upload-to-matching-drive-folder/82164/1 "2025-05-12T14:08:18Z")

</div>

Dear Community!

I seek help from you. I would like to create an automatic system on [Make.com](http://Make.com) where the workflow automatically searches the Gmail inbox for PDF attachments, downloads it, extract the data from the PDF file, Identifies from 6 different company which one is the buyer, then upload it to 1 of 6 similarly company named (buyer info) google drive folder. My current  
workflow is : Gmail Trigger-\>Array Aggregator-\>Google Drive (upload to common folder)-\>Google Drive (Get a Share link)-\>0CodeKit (PDF data extraction) -\>OpenAI GPT (4.omini)

The workflow finishes but the chat gpt output says: “Please provide the recognized text from the invoice so I can identify the buyer (Vevő) and determine the matching folder for the PDF to be copied and uploaded.”

I prompted it to the analyze data from the previous moduel, tried promting to analyze data from the Web Content Link but nothing helped.

Any what should I correct or try different workflow?

Thank you guys in advance!

---

<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:** [August 10, 2025, 2:17pm UTC](https://community.make.com/t/gmail-pdf-attachment-download-and-upload-to-matching-drive-folder/82164/2 "2025-08-10T14:17:30Z")

</div>


