Do you want to send records from a WordPress contact form to Google Drive?

Normally, your species plugins will upload any registers immediately to your WordPress site. However, you may want to automatically upload them to Google Drive as well for safekeeping and easier sharing.

In this article, we’ll show you how to easily upload registers from a WordPress model to Google Drive.

Uploading files from a WordPress form to Google Drive

Why Upload Files From Your WordPress Form to Google Drive?

Normally, you can use your WordPress form builder plugin to add a file upload battlefield and keep the uploaded documents on your website.

But what if you wanted to share the uploaded registers with someone who does not have access to the WordPress admin area?

This is where Google Drive comes in. Google Drive allowed to accumulate files on the vapour and easily discuss the matter with anyone. It likewise allows you to easily access data from any manoeuvre without logging into your WordPress site.

For instance, if you create a job application form and ask for resumes, then you can automatically upload those data immediately to Google Drive and share it with others in your team.

Another scenario is when you run a contest where customers upload photos or submit clauses to participate.

Sending those submissions immediately to Google Drive saves disk seat on your website. At the same time, it keeps those folders safe in a remote cloud location.

That tell me anything, let’s take a look at how to easily send WordPress form uploads to Google Drive.

Creating and Preparing Your WordPress Form in WPForms

For this tutorial, we will be using WPForms. It’s the most popular contact form plugin for WordPress with over 3 million active installs. It comes with a simple drag and drop interface that lets you readily create any kind of form.

Then, we are going to use a tool called Zapier to connect WPForms with Google Drive.

Zapier acts as a connect to send data between two different apps, without you needing to use any code. It seamlessly is integrated with over 2000+ apps.

Note: You need the Pro version or higher to access the Zapier addon for WPForms.

Creating a File Upload Form in WPForms

First, you need to install and activate the WPForms plugin on your website. For more details, determine our step by step guide on how to install a WordPress plugin.

Next, it was necessary to a way that your website visitors can use to send you data. If you don’t previously have a form set up, check out our step by step guide on creating a file upload sort in WordPress.

Important: The method used will simply is collaborating with a single file. It will not work with multiple enters from one assemble submission.

Once you have set up your structure, you need to add it to your website. To do this, simply revise the pole or page whatever it is you want the form.

On the pole edit screen, click on the+ button to add a brand-new block. After that, search for the WPForms block and add it to your material area.

Adding a WPForms block to a post or page

Then, publish your page or pole to put your form live. Once you’ve done so, go ahead and create a test entry. This will be used to set up and test the connection between WPForms and Google Drive.

Here’s our test record 😛 TAGEND

The completed upload form, including a photo (.jpg)

Preparing to Connect WPForms with Zapier

We are going to use Zapier as a bridge between WPForms and Google Drive. To do this, you need to install and activate the WPForms Zapier addon.

In your WordPress admin, go to the WPForms >> Addons page and find the Zapier addon. Go onward and sounds the’ Install Addon’ link to install and activate it 😛 TAGEND

Installing the Zapier addon for WPForms

Next, you need to visit the WPForms >> Settings >> Integrations page. Simply click on the Zapier logo to get your Zapier API key. You will need this in order to connect Zapier with WPForms.

Getting the Zapier API key from WPForms

Copy the API key somewhere safe or keep this invoice open. You is necessary the API key in a later step.

Creating a Zap to Send Files from Your Website Form to Google Drive

Once you have your form ready, go to the Zapier website. You need to create a free detail or log in to your existing account.

In your Zapier dashboard, simply sounds the’ Make a Zap’ button to get started. This will open the configuration wizard.

Note: Zapier uses the word ‘zap’ for a process with a prompt and an act. Our trigger will be a visitor occupy in the form, and our action will be sending the record( s) attached to the form to Google Drive.

At the top of the screen, you need to choose a name for your zap. Once you’ve done that, it’s time to set up the trigger.

First, you need to select WPForms in the’ Choose App& Event’ box. Just category’ WPForms’ into the search bar to find it 😛 TAGEND

Choosing the WPForms app in Zapier

You will now be inspired to select a trigger event. This will default to’ New Form Entry’ so all you need to do here is click the’ Continue’ button.

Choosing a trigger event in Zapier

Now, Zapier will ask you to sign into WPForms. Go onward and click the’ Sign in to WPForms’ button.

Click the button to sign into WPForms

You should then realize a popup window. Here, you need to enter the API key that you encountered earlier.

You too need to add your website’s URL( domain name ).

Enter your API key from WPForms and the URL of your website

After you’ve recruited those items, only click on the’ Yes, Continue’ button to move on.

Next, Zapier will ask you to select your register upload figure from a dropdown index. Go onward and click on the list of your formation 😛 TAGEND

Select your file upload form from the dropdown in Zapier

Once you’ve adopted the remedy structure, you need to click the’ Exam trigger’ button to make sure that Zapier has attached to your use correctly.

Testing your trigger in Zapier

After clicking that button, you should realize a theme that Zapier has concluded a test entry. You will see the data on the screen 😛 TAGEND

Viewing the data for the test WPForms entry

Click the’ Continue’ button to move on to the Action part of the Zap. Now, you need to choose your second app, Google Drive.

Choosing the Google Drive app as the action for the zap

Next, you will see the dropdown for choosing an action event. Here, you need to select the’ Upload File’ option and then click to continue.

Choosing 'Upload File' as the action for the zap

Zapier will now prompt you to sign into your Google Drive chronicle 😛 TAGEND

Signing into Google Drive when prompted by Zapier

Once you’ve done so, sound the Continue button to move on 😛 TAGEND

Zapier and Google Drive are now connected

Now, it’s time to set up where you require the data to be done in order to your Google Drive. Simply click on the Drive dropdown to select whether you want to use your personal drive or a shared drive.

Then, click on the Folder dropdown to select the folder you want to use.

Select the Google Drive you want to use plus the folder to put the uploaded files in

Next, you need to tell Zapier which folder( s) to upload. Under the File dropdown, hand-picked the upload land on your pattern 😛 TAGEND

Choose the correct field (the file upload field) from your form based on the test data

After that, you can leave the other names blank and click the continue button to move on.

Zapier will now prompt you to test your Zap by sending an upload file to Google Drive. Simply click the Test and Continue button to do so 😛 TAGEND

Sending the test file to Google Drive using Zapier

This will route Google Drive the files you uploaded in your experiment formation entryway. Go onward and check your Google Drive folder for the records 😛 TAGEND

Viewing the uploaded file in Google Drive

Once you’re confident that your zap is working as intended, simply click the’ Turn on Zap’ button to make it live 😛 TAGEND

Turn on your zap once you're ready

Now, all files sent through your file upload formation will automatically be uploaded to your choose Google Drive folder.

WPForms will always continue a backup of all files on your WordPress hosting account in case the Zapier API knows any outages.

Please keep in mind that if you get a lot of constitute submissions with gigantic enters, then this will take up increased storage space in your Google Drive. In our business, we use G Suite Business plan to get Unlimited storage space.

We hope this article helped you learn how to upload folders from a WordPress sort to Google Drive. You might also like our essay on how to use user engendered content to grow your business, and our accumulation of the must have WordPress plugins for all sites.

If you liked such articles, then delight are contributing to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Upload Files from a WordPress Assemble to Google Drive sounded first on WPBeginner.

Read more: wpbeginner.com