# Save Gmail attachments to Google Drive

**URL:** <https://community.make.com/t/save-gmail-attachments-to-google-drive/68935>\
**Category:** Questions\
**Tags:** google-drive, connections\
**Created:** [February 9, 2025, 11:54pm UTC](https://community.make.com/t/save-gmail-attachments-to-google-drive/68935 "2025-02-09T23:54:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirsten\_W](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@Kirsten\_W](https://community.make.com/u/Kirsten_W)\
**Post date:** [February 9, 2025, 11:54pm UTC](https://community.make.com/t/save-gmail-attachments-to-google-drive/68935/1 "2025-02-09T23:54:56Z")

</div>

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

I set everything up. APIs, URIs, are correct. But no file shows up in Drive.  
I tried some ideas from other posts (like this → {{formatDate(now; “YYYY-MM-DD HH:mm”)}}.{{last(split(2.fileName; “.”))}}, but only one strange file with the name “{{last(split(2.fileName; “.”))}}” ends up in Drive.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/2/a2f8b1e9b10b90a154f50b9459d01901356a5341.png)

Any ideas? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![momomomonmon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/momomomonmon/32/59454_2.png) [@momomomonmon](https://community.make.com/u/momomomonmon)\
**Post date:** [February 10, 2025, 2:28am UTC](https://community.make.com/t/save-gmail-attachments-to-google-drive/68935/2 "2025-02-10T02:28:56Z")

</div>

@Kirsten_W  
Hi, could you please provide the following screenshots to help us identify the problem?

1. configuration of Gmail Module
2. configuration of Google Drive Module
3. INPUT and OUTPUT of Gmail Module execution result
4. INPUT and OUTPUT of Google Drive Module execution result

---

<div class="post-metadata">

**Author:** ![Kirsten\_W](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@Kirsten\_W](https://community.make.com/u/Kirsten_W)\
**Post date:** [February 10, 2025, 12:49pm UTC](https://community.make.com/t/save-gmail-attachments-to-google-drive/68935/3 "2025-02-10T12:49:58Z")

</div>

@momomomonmon Thank you!

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/b/9/b984c7ab2dc38e728935e0b4ee3da0c5477a2879.jpeg)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/a/3/a3e7be92fd0aa75e71100806310baa435d91830f.jpeg)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/f/9fd669b484ec0d7c783494fc8d3a64fc5d2c47ff.jpeg)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/2/32adb40733c2dc81a9eeb6d864e76881e864c504.jpeg)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/0/e06da9ed578e7516dc80f9501a2311895c693073.jpeg)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/e/9e663c45aab1cc822f6da5bef5aa7fe486b5a236.jpeg)

Thats all I got. Where du find further INOUT-Data?

---

<div class="post-metadata">

**Author:** ![Kirsten\_W](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@Kirsten\_W](https://community.make.com/u/Kirsten_W)\
**Post date:** [February 10, 2025, 10:08pm UTC](https://community.make.com/t/save-gmail-attachments-to-google-drive/68935/4 "2025-02-10T22:08:28Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/4/d4a0e6ea30808112dc575a08c22237826a3889a2.jpeg)

---

<div class="post-metadata">

**Author:** ![momomomonmon](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/momomomonmon/32/59454_2.png) [@momomomonmon](https://community.make.com/u/momomomonmon)\
**Post date:** [February 11, 2025, 11:53am UTC](https://community.make.com/t/save-gmail-attachments-to-google-drive/68935/5 "2025-02-11T11:53:52Z")

</div>

@Kirsten_W  
I understand the situation better now, along with the screenshots you provided. Thank you very much!

Perhaps it is just an error in the File Name setting in the Google Drive Module.  
Try typing the following in the File Name section of the Google Drive Module. For the `${fileName}` part, use the value obtained from Gmail or Iterator Module.  
`{{formatDate(now; YYYY-MM-DD)}} {{last(split(${fileName}; .))}}`

I have also attached a screenshot, I have passed test1.test2.test3 to the split function, but in your case you can enter the values you get from Gmail or the Iterator module.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/7/779881d9cd822be7d8b574604992a0696d3ef905.png)

---

<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:** [May 12, 2025, 11:07am UTC](https://community.make.com/t/save-gmail-attachments-to-google-drive/68935/6 "2025-05-12T11:07:01Z")

</div>


