How to Create a WordPress Google Drive Upload Form

Are you looking for a way to create a contact form that allows users send you messages with file attachments? Well, we have a better solution for you. In this post, we’ll show you how to add a file upload feature to your WPForms contact forms and also have those files automatically uploaded to your Google Drive.

You don’t need any web design or programming skills to create this form. Thanks to the beginner-friendly drag and drop editor on WPForms, you can create this Google Drive upload form in a few simple steps.

Before we get to the fun part of this guide, let’s figure out why you should use a file upload form on your website.

Make sure to take a peek at these mind-blowing digital marketing statistics for some facts that may surprise (and help) you.

Why Create a Google Drive Upload Form?

Whether you’re managing a small business or a WordPress blog, there are situations where users might want to send you files through your website’s contact form.

WPForms is the best WordPress Form Builder plugin. Get it for free!

Having a contact form with a file upload feature will make that process much easier for both you and your users. But, why connect it to Google Drive?

Normally, when a user uploads file from a contact form it will get uploaded to your website’s server. So, for some reason, if your server files get corrupted or inaccessible, all those uploaded files will also disappear along with them. Not to mention that when lots of users start uploading files to your server, it will also take up your hosting space as well.

Be sure to check out our post on the best managed WordPress hosting services around.

However, when you connect Google Drive with your contact form, it will also send a copy of those uploaded files to your Google Drive. That way, you will have copies of those uploaded files on both your server and on Google Drive. It will make things much easier for you to manage those files and you can even delete those files on your server to free up space.

Create The File Upload Form

Without further ado, let’s get started and create this awesome Google Drive upload form on your WordPress blog.

Creating the upload form is easy. If you prefer instructions in video format, watch the video above. Or, reading this guide for a more detailed step-by-step tutorial.

Still collecting data using Google Forms? You don’t have to! Check out this list of the best Google Forms alternatives.

How To Integrate Google Drive Uploads

Now that we’ve created a gorgeous contact form with an upload feature, let’s see how we can connect Google Drive with this upload form so that a copy of the files uploaded via the form gets automatically sent to your cloud storage.

Note: This guide will only show you how to save your upload form file attachments into a Google Drive folder. If you also want to save your contact form entries such as the name, email, and message, check out this guide to learn how to connect a contact form with Google Sheets.

In order to connect Google Drive with WPForms, you’ll need the Zapier addon and a Zapier account.

Step 1: Go to WPForms » Addons. Scroll all the way down to find the Zapier addon. Then click Install and activate the addon.

Step 2: Go to WPForms » Settings » Integrations and copy your WPForms Zapier API key. You will need this to connect your Zapier account with WPForms.

Thinking about adding a blog to your site? Check out this list of the top ways to make money blogging on WordPress.

Step 3: Login to your Zapier account. If you don’t have a Zapier account you can register an account for free. And click on Make A Zap button.

Step 4: Search for WPForms and select it as the trigger app.

Step 5: Choose New Form Entry as the trigger and Save.

Make sure to head over to our post on the best WordPress affiliate plugins.

Step 6: Then click on Connect An Account. This will open a new window. Enter your website address and the WPForms Zapier API key here. Then click Save and Continue when prompted.

Step 7: In the next step, select your upload form from the list of forms you’ve created. And click Continue.

Step 8: Now, Zapier will ask to test your form. Before doing that, you need to enter a test entry onto your form. Go to your WordPress dashboard » WPForms » All Forms and click Preview to show your form. And submit a test entry. Make sure to add a sample file attachment in this test message.

Step 9: After completing the test, go back to your Zapier account and click Fetch and Continue button to test the trigger you’ve just created. After the successful test, click Continue.

Now you can create an action for the Zapier trigger you’ve just created. Here’s how it’s done.

Step 1: In the list of Action Apps, search and find Google Drive.

Step 2: Choose Upload File as the Action. Then click Save and Continue.

Step 3: Now you need to connect your Google Account with Zapier. Click on Connect an Account and login to your Google Account. When prompted, Allow Zapier to access your Google Drive.

Step 4: In the Setup Template section, choose your default Google Drive and a folder to save your uploaded files. It’s best to create a new folder to save your contact form uploads for easier management.

Hiring for your small business? Make sure to check out our tutorial on how to add a job application form to WordPress to reach candidates from all over!

Step 5: In the File option, choose File Upload which contains the file you’ve uploaded in the contact form test entry.

Step 6: You can leave the rest of the options blank. But, you can customize them if you like to automatically convert your uploaded files to Google Drive file formats or change the names. Once you’re done, click Continue.

Step 7: In the next step, Zapier will test your upload form. Click Send Test To Google Drive. Go to your Google Drive folder and see if you see a copy of the file you attached in your test form entry.

Step 8: If you see a file on the Google Drive, then your Zapier integration is successful. You can go ahead and click Finish to complete the Zap.

Step 9: Give your Zap a name and Turn it On.

That’s it! If you want, you can do another test form submission to see if it works.

If you’re looking for a new job, be sure to check out our guide to the best WordPress resume themes.

Embed The Upload Form

Now, let’s see how to embed the upload form on your website.

Go to WPForms » All Forms. Find the upload form you’ve created and copy its Shortcode. Then you can paste this code onto a page, a post, or anywhere on your website to make the form appear.


There you go! Now your users can send you any kind of a file from your contact form.

Keep in mind that this method only sends a copy of the uploaded file to your Google Drive. The original file will get stored on your server. WordPress might also restrict some types of file uploads. You can fix that by following this guide.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.


  1. Can form Entries be saved as pdf on google drive?
    I can see files only, it will be great if the completed form can be added

  2. Hi Jess & team,

    I’m trying to pair Google Drive files with WordPress and Weebly, i.e. adding in links to both, but am currently getting messages to the effect that “That file is currently unavailable.” I’ve used the technique of putting new word lists/ vocabulary for my students on the links before and it worked really well to share simple info with many students, but now it seems weirdly difficult.
    Any hints or future plans?

  3. Unbelievable, it helped me a lot. Thank you very much =)
    I have a question, how do I make the files that users upload to my google drive are separated by folders with user names?
    Also, this tutorial helped me a lot. It’s amazing. (sorry for my english)
    Deepl Translate

    1. Hi Martin,

      We don’t have a way to do this right now, but I’ve made a note on our feature request list so we can keep it on our radar! Thanks for the suggestion 🙂

      1. Hi,
        coming back to Martin’s inquiry:
        is there now the possibility that an upload from wpforms creates each time a new folder on google drive and stores all form content (or atleast the uploaded files) in that folder?

      2. Hi Tendam — I took a look in Zapier’s options, and I do see an option to select a folder when you set up a Zap (here’s a screenshot). However, during my quick test it didn’t seem to allow me to create a new folder (when I tried, I was getting an error message). The Zapier team may be able to clarify this further, though, because it does look to me like this might be possible.

        What I can see with certainty is that you can custom name your files, and so even if you can’t sort them into files you should be able to easily search/sort if you give your files a specific name format.

        I hope this is at least a helpful starting point! If you have any other questions about our paid licenses or addons, please drop an email to our support team 🙂

    1. Hi Steve,

      We currently don’t have a way of doing this right now. In order to delete the file completely, you’ll need to access your site’s files via FTP, go into Uploads, track down the file and delete it from there. Unfortunately just deleting the entry don’t delete the file itself.

      I hope this helps!

      1. Can I just upload to Google Drive without uploading to the server? I would much rather upload to Google Drive rather then the server.

        It would be a great upgrade to offer a direct to Google drive upload (with option to save on server as well) without using Zapier.

        Your awesome Email option uses direct Google integration. Having a direct connection to Google for uploads would be so great.

      2. Hi STEVE! Thanks for your question!
        Unfortunately, there is no other way currently to upload data to Google Drive. I do agree it would be super helpful to have a Google Drive add-on, though. I’ve made a note of the feature request and we’ll keep it on our radar as we plan out our roadmap for the future.
        Have a good one 🙂

  4. Is there a way to trigger an email for every upload notifying me each time there is a new submission? In other words, if a new doc is uploaded to Google Drive using this system, will I receive an email alert with a link to the file in Google Drive?

    1. Hi Suze, thanks for the question!
      Yes, you can set up Notifications in your form and have a notification email every time once somebody has submitted a form on your site. And we have a great article on how to set up Notifications here.
      Hope this helps! 🙂

  5. thanks for the information shared. it’s very helpful.

    But i want to ask, if it’s possible to filter the name, demography, gender, category etc of the files uploaded.

    1. Hi Segun, I hope you are doing well!

      As the only file from your form will be uploaded to Google Drive the rest of the fields won’t be stored there and can be available under WPForms entries only. However, in WPforms you can filter entries by the form fields.

      I hope this helps.
      Have a good one 🙂

  6. Hi there,

    Have you looked at implementing this so that it uploads directly to Google Drive and bypasses my site’s server? You mentioned it in a response to a previous question, and it would be so useful to be able to do that. For one thing it would help keep the website running fast (essential in the modern era under Google’s SEO!) and for another it prevents malicious files getting onto a website directly.



    1. Hi Paul!
      Currently, this feature is unavailable in WPForms, unfortunately. It will still upload files to both, your site and Google Drive through Zapier. We do agree that Google Drive addon would be an awesome addition to WPForms, and I will add your vote for this to our internal system.
      I apologize for any inconvenience and appreciate your suggestion!
      Have a good one 🙂

  7. hello, I buy the plugin today … so how can I prevent a customer from spamming files continuously in ma server ?

    honestly in the upload I prefer contact 7, it sends the file directly by mail … is it possible add this mod ?

    1. Hi Alex, great question!
      With our Form Locker addon, you can restrict users from sending multiple form entries. The system won’t allow users to send more than one entry using the same email address.
      Also, you can set the maximum amount of files in one File Upload field in the filed settings.
      I hope this helps.
      Have a good one 🙂

  8. The upload feature only allows me to import pictures/videos but it doesn’t send them. The uploads just freeze.

    I have the following configuration:

    Max File Size: 250 mb
    Max File Number: 50

    I’ve even added a plugin that increases the maximum file upload.

    Please help.


Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.