Skip to main content
Best answer

How To Automatically Upload A New File Created By Zapier Into A Specific Folder

  • January 21, 2023
  • 8 replies
  • 736 views

  • Beginner
  • 5 replies

I have Zap that creates a new Google Doc based off of a submission from Google Form, the logic is fairly straight forward, but I cannot figure out the upload step to Google Drive to a certain folder. Each document shows on the root of just my Google Drive.
 

The Google Document that is being created by Google Form each have a unique document name based on the answer on the form.

I.E. a question on the form is: What is your ID? Answer: 123456

Google Doc name: 123456 - Application Submission

Any assistance on this would be great.

Best answer by Troy TessaloneBest answer by Troy Tessalone

@MyKo 

The File field expects a file url or a file object.

 

From the GDoc step, search for “File exists but not shown”, else use the one of these links:

 

 

Also, you probably don’t need Step 3 (GDrive Find Folder), since you aren’t mapping a dynamic variable from that step to Step 4.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

8 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @MyKo 

Good question.

What is the logic for knowing what GDrive folder to use for a given GDoc?

Try using a GDrive Find Folder Zap action step.

 


  • Author
  • Beginner
  • 5 replies
  • January 24, 2023

Thank you for this guidance, I was able to locate the folder, as shown below, but was not able to make anything of it or have newly zapped documents show in said folder. My apologies, this is my first Zap so I’m still learning.

Also was not sure if there was something incorrect about the “Folder Name” as I was unsure what to input here and the last question “Should this step be considered a “success” when nothing is found? As the test action failed on No but on Yes I couldn’t find anything when I ran the zap.


Troy Tessalone
Forum|alt.badge.img+14

@MyKo

Try adding another step: GDrive - Upload File (GDoc from Step 2 and GDrive Folder ID from Step 3)

 


  • Author
  • Beginner
  • 5 replies
  • January 24, 2023

Thank you I was able to upload to the correct folder, but I cannot figure out how to get the newly zapped document to the folder, I tried the ID in the test action in step 2 but it generated a random .txt document in the folder.


Troy Tessalone
Forum|alt.badge.img+14

@MyKo 

We’d need to see detailed screenshots with how your Zap steps are configured.

Make sure to map the GDoc field that say “File exists but not shown” as part of the value.

How to use files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps


  • Author
  • Beginner
  • 5 replies
  • January 25, 2023

Here are the screenshots, I have the first two parts of the zaps pretty much figured out but not the uploading new file to specific folder portion.

Thank you again.


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31340 replies
  • Answer
  • January 25, 2023

@MyKo 

The File field expects a file url or a file object.

 

From the GDoc step, search for “File exists but not shown”, else use the one of these links:

 

 

Also, you probably don’t need Step 3 (GDrive Find Folder), since you aren’t mapping a dynamic variable from that step to Step 4.


  • Author
  • Beginner
  • 5 replies
  • March 2, 2023

My apologies as I was gone for some time and this was the resolution. Thank you!