How to Send WordPress Uploads to Google Drive (Easily)

Are you looking for a way to connect a contact form with uploads to Google Drive? If you’re managing a small business online, there are situations where users might want to send you files through your website’s contact form. And you might want to automatically save them to Google Drive.

So in this post, we’ll show you how to add a file upload feature to your contact forms, and also have those files automatically uploaded to your Google Drive.

Why Create a Google Drive Upload Form?

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.

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 a 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.

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.

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

How to Send WordPress Uploads to Google Drive

Here’s exactly how to create a WordPress upload form that send data to Google Drive, automatically.

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.

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 our guide on learning how to connect a contact form with Google Sheets.

Step 1: Install the Zapier Addon

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

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

install wpforms addon to get wordpress upload to google drive

Step 2: Integrate Zapier With WPForms

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

wordpress lets you use zapier to upload to google drive

Step 3: Log in to your Zapier account.

Now, log in 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.

pick zapier app

Step 4: Find the WPForms App

Search for WPForms and select it as the trigger app.

choose a zapier trigger

Step 5: Select the New Form Entry

Choose New Form Entry as the trigger and Save.

select wpforms trigger to send wordpress uploads to google drive

Step 6: Connect the Zapier and WPForms Account Zaps

Now, click on Connect An Account as this will open a new window. Enter your website address and the WPForms Zapier API key here. Then click Save and Continue when prompted.

select wpforms account

Step 7: Select Your Form

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

set up wpforms entry in zapier to send form uploads to google drive

Step 8: Test Your Zap

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.

preview upload contact form

Step 9: Fetch and Continue

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.

test wpforms upload to google drive zap

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

Step 1: Find the Google Drive App

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

choose an action zap google drive

Step 2: Select the Action

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

select wordpress upload to google drive action

Step 3: Connect the Accounts

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.

select google drive account in zapier

Step 4: Choose Your Google Drive Folder

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.

setup wordpress upload to google drive preview

Step 5: Choose the File

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

choose the file in zapier

Step 6: Customize Options

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: Test Upload Form

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.

wordpress upload to google drive with zapier

Step 8: Confirm Integration

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

Step 9: Turn On Zap

Give your Zap a name and Turn it On.

wordpress upload to google drive set up zap

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

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.

wordpress upload to google drive forms overview

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 on allowing additional file types.

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

In Conclusion

There you go! You know now who to send WordPress uploads to Google Drive.

And if you think the idea of doing all this stuff with your forms automatically is cool, you’ll definitely want to check out this post on the best marketing automation software for your small business.

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

      1. Hi Jess!

        Question about the status of PDF uploads via Google Drive. If someone uploads a PDF via a form and we integrate WPForm + Zapier, would it save the PDF to Drive – or is this still not a possibility?

        Thank you in advance!

      2. Y’all should allow a person receiving a notification of a form entry to download that form entry as a pdf from the notification email. It was save several steps and streamline that process.

      3. Hey Hunter – I’m sorry we currently don’t have a built-in way to download notification emails into a PDF. I do agree this would be a helpful feature and 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.

        Thanks for the suggestion!

  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 🙂

  4. How do you delete the files that are uploaded to the server? When I delete an entry it doesn’t remove the file on the server.

    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 🙂

  5. 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! 🙂

  6. 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 🙂

  7. 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 🙂

  8. 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 🙂

  9. 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.


  10. Can I set the files on WordPress to auto delete after copying over to Google Drive? That would be very helpful.

    1. Hi David! Currently, we do not have an option that would auto-delete files after they’ve been copied to Google Drive. I do agree it would be super helpful, 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.

      If you have any further questions about this, please contact us if you have an active subscription. If you do not, don’t hesitate to drop us some questions in our support forums.

      1. Hi,

        Has there been any developments on this feature? The integration works great but I’m encountering the same issues if I can’t automatically delete the uploaded file from the server, or just upload it directly to gdrive.

        I see an option to not store entries into WordPress, does this mean the form itself or the files that are uploaded with it ?

      2. Hi Blake! I’m sorry but there hasn’t been any developments on this feature yet. We have added the ability for files to be deleted alongside entries now though, which is a step towards being able to implement something like automatic deleting.

        The option to not store entries in WordPress means the forms data itself. It also refers to the files, but with a caveat. During the upload process, uploaded files are loaded into a temporary folder so that your site can process the file. Files in this temporary folder are purged automatically, but it does mean that files are stored on your site, although temporarily and in a background folder.

        I hope this helps to clarify 🙂 If you have any further questions about this, please contact us if you have an active subscription. If you do not, don’t hesitate to drop us some questions in our support forums.

  11. Hello everyone, I have a question!

    Currently, I’m connected with a contact form with Google Sheets addon and this generate a URL file on a sheet google table when an user upload document

    The Integration Zapier With WPForms permit in Google Sheet addon register URL file copy of the google Drive in my google sheet ?



    1. Hey Nandy– I apologize as I’m not sure whether I fully understand this question.

      If you are referring to adding a Google drive URL of the uploaded file to Google Sheets, then that cannot be achieved as the uploaded file via form submission can go to Google sheets and Google drive individually. The Google drive URL cannot be passed to google sheets.

      If you are referring to something else then in order to make sure we answer your question as thoroughly as possible, could you please contact our team with some additional details about what you’re looking to do?

      Thanks! 🙂

  12. I need a way to let my customers to send me image files. I would like them to go to goggle drive but that part is not necessary. I have the free version of wpforms and the upload file field is not available unless I upgrade to a $200 a year plan. This is not an option as I only need wpforms for a contact form which I already have created for free and a file upload form or integrated into my existing contact form. This is not worth $200 a year! Can you supply me with a simple add on for that upload field for a one time fee?

    1. Hi Steve! I apologize for any misunderstanding here, but the File Upload field is available with any of our paid versions, even in our Basic license which is currently on sale (we have a flash sale running this week) for $31.60 for the first year.

      I hope this helps to clarify!

  13. Greetings. Is there a way to upload solely to Google Drive now. I read above that it wasn’t an option a couple years ago. I need the upload functionality to help streamline new client onboarding, but I’m very concerned about the risks of malicious activity and malware being uploaded to my servers. Please advise and thanks.

    1. Hi Bill!

      At this time we do not have a direct integration with Google Drive, and recommend connecting to Google Drive via Zapier as outlined in this article.

      I apologize for not being able to provide you with the solution that you’re looking for at this time, but I hope this information helps!


  14. Hi, Henry and thank you for your response. I may have worded my question inaccurately. I just installed the Zapier, Google Drive connection and ran a successful test. I saw the test file in my Google Drive folder and I thought that it was pretty cool. But, my excitement was short lived and matriculated to concern when I realized just how easy it would be for an ill-intentioned individual to submit malware. Google Drive has inherent protocols in place to prevent and block these actions, but my host doesn’t. So, to rephrase: Does the WP Forms (slash) Zapier (slash) Google Drive connection allow direct Google Drive file uploads with a “bypass media library or upload to server also” option? Please advise and thank you.

    1. Hi Bill!

      Thanks for clarifying. I’ll also try to add some more detail here.

      The answer about the security of WPForms is somewhat complex (so I apologize in advance if my answer includes more than you were looking for!)

      First, we have a guide here that has details on WPForms Security.

      Furthermore, the information stored in WPForms is, inherently, as secure as all other data on your website. So if the rest of your site is secured (efforts towards this can be provided by your hosting provider, services such as Sucuri, etc), WPForms data will be secured in those ways too. This is because all information in WordPress (including data from WPForms) is stored in a collection of databases. If you haven’t already, I would highly recommend contacting your host and asking what they do to ensure the security of your site, as well as what they would do to help you if that security were to be breached.

      When submitting personal information or payment details, many visitors will want to see that your site runs on https (rather than the standard http). To make your site run on https, you need to install an SSL certificate (there are fairly extensive details on what an SSL is and how to get one here). I would start by contacting your hosting provider, as a small handful has started to offer free SSLs to their clients and others will set the SSL up for you.

      It’s important to note that while many visitors gain peace-of-mind from seeing ‘https’ in your URL, this does NOT secure your site. SSLs are only meant to secure the transfer of information (such as form submissions). Once that information is stored (for example, once form data is stored in your site’s database), the SSL has no bearing on its security. This is why WPForms never stores sensitive information such as user passwords or credit card information in its form entries.

      Additionally, while you’re correct in noting that your hosting provider wouldn’t provide the same type of protocols for preventing malware as Google Drive does, they most certainly would have some of their own in place. Different hosting providers actually will have different guidelines regarding this. For instance, some hosts will completely block .docx files from being uploaded to sites on their servers, while others will allow it. Such host specific preventative measures should be inquired with your hosting support team.

      The WordPress platform itself also has certain restrictions in place also, in efforts to prevent “bad actions” to sites. For example it isn’t possible to upload executable, JSON or PHP files. This is to prevent someone from uploading a file to a site and then running a program by accessing its URL.

      So what can be uploaded is a mixture of the rule sets provided by your hosting, the WordPress platform, and your own configuration. In case it helps, you may also be interested in this article by WPBeginner on the subject.

      Regarding being able to bypass uploading to the Media Library or server, we don’t have an option for this specifically, but if you enable the Disable storing entry information in WordPress option, then all of your form’s submitted data will be deleted after it has finished processing all of its tasks. This means that after your form has completed sending the Notification Emails, uploading via Zapier, etc., then the data collected from the form will then be removed from your site and its server. More details about this feature can be found here.

      I hope this helps to clarify! If you have any further questions about this, please contact us if you have an active subscription. If you do not, don’t hesitate to drop us some questions in our support forums.

  15. All due respect, if you’re going to delete my rephrased question to offer you clarity on an initial question that you somehow misunderstood, do me the courtesy of deleting both. Nice customer support, by the way. Just purchased your product. Definitely won’t be renewing.

    1. Hi Bill! I apologize for any misunderstanding here. We generally adhere to guidelines regarding comments in our blog posts, which is that we only delete spam or marketing messages.

      Any questions or concerns with relevance to our plugin would absolutely not be deleted, and we would do our best to address them. However, please note that we do not have resources dedicated for responding to blog article comments as it isn’t an official support channel. For questions or concerns, please feel free to reach out to us at one of our support channels.

      If you have an active license, please contact us here.

      If you do not have an active license, please reach out to us via our support forums.

      Please also note that our standard Hours of Operation are Mondays through Fridays, from 9AM until 5PM in the EST time zone.

      I hope this helped to clarify 🙂

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.

This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.