Latest Tech and Tips

How to Upload Files from a WordPress Form to Google Drive


Do you desire to send out files from a WordPress call form to Google Drive?

Normally, your form plugins will certainly upload any type of files straight to your WordPress website. However, you might desire to instantly upload them to Google Drive too for safekeeping and also less complicated sharing.

In this post, we’ll reveal you how to quickly upload files from a WordPress form 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 utilize your WordPress form contractor plugin to include a data upload area and also maintain the uploaded files on your web site.

But what happens if you desired to share the uploaded files with somebody that does not have accessibility to the WordPress admin location?

This is where Google Drive can be found in. Google Drive permits you to shop files on the cloud and also quickly share them with any individual. It likewise permits you to quickly accessibility files from any type of tool without logging right into your WordPress website.

For circumstances, if you develop a work application and also request for resumes, after that you can instantly upload those files straight to Google Drive and also share it with others in your group.

Another circumstance is when you run a competition where customers upload pictures or send posts to get involved.

Sending those entries straight to Google Drive conserves disk area on your web site. At the exact same time, it maintains those files risk-free in a remote cloud place.

That being stated, allow’s take a take a look at how to quickly send out WordPress form submitsto Google Drive

Creating and also Preparing Your WordPress Form in WPForm s

For this tutorial, we will certainly be making use ofWPForms It’s one of the most preferred call form plugin for WordPress with over 3 million energetic installs. It features a straightforward drag and also decline user interface that allows you quickly develop any type of type of form.

Then, we are going to usage a device called Zapier to attach WPForm s withGoogle Drive

Zapier serves as a bridge to send out information in between 2 various applications, without you requiring to make use of any type of code. It effortlessly incorporates with over 2000+ applications.

Note: You require the Pro variation or greater to accessibility the Zapier addon for WPForm s.

Creating a File Upload Form in WPForm s

First, you require to set up and also trigger the WPForms plugin on your web site. For even more information, see our detailed overview on how to set up a WordPress plugin.

Next, you require a form that your web site site visitors can make use of to send you files. If you do not currently have a form established, look into our detailed overview on producing a data upload form in WordPress.

Important: This technique will just collaborate with a file. It will certainly not collaborate with numerous files from one form entry.

Once you have actually established your form, you require to include it to your web site. To do this, merely modify the message or web page where you desire the form.

On the message modify display, click the + switch to include a brand-new block. After that, look for the WPForm s block and also include it to your material location.

Adding a WPForms block to a post or page

Then, release your web page or message to place your form live. Once you’ve done so, proceed and also develop a examination entrance. This will certainly be utilized to established and also examine the link in between WPForm s and also Google Drive.

Here’s our examination entrance:

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

Preparing to Connect WPForm s with Zapier

We are going to usage Zapier as a bridge in between WPForm s and alsoGoogle Drive To do this, you require to set up and also trigger the WPForm s Zapier addon.

In your WordPress admin, go to the WPForm s” Addons web page and also discover the Zapier addon. Go in advance and also click the ‘Install Addon’ web link to set up and also trigger it:

Installing the Zapier addon for WPForms

Next, you require to see the WPForm s” Settings” Integrations web page. Simply click the Zapier logo design to obtain your Zapier API secret. You will certainly require this in order to attach Zapier with WPForm s.

Getting the Zapier API key from WPForms

Copy the API essential someplace risk-free or maintain this tab open. You will certainly require the API type in a later action.

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

Once you have your form prepared, go to theZapier website You demand to develop a cost-free account or visit to your existing account.

In your Zapier control panel, merely click the ‘Make a Zap’ switch to get going. This will certainly open up the arrangement wizard.

Note: Zapier utilizes words ‘zap’ for a procedure with a trigger and also an activity. Our trigger will certainly be a site visitor dental filling in the form, and also our activity will certainly be sending out the data( s) affixed to the form to Google Drive.

At the top of the display, you require to select a name for your zap. Once you’ve done that, it’s time to established the trigger.

First, you require to choose WPForm s in the ‘Choose App & Event’ box. Just kind ‘WPForms’ right into the search bar to discover it:

Choosing the WPForms app in Zapier

You will certainly currently be motivated to choose a trigger occasion. This will certainly fail to ‘New Form Entry’ so all you require to do right here is click the ‘Continue’ switch.

Choosing a trigger event in Zapier

Now, Zapier will certainly ask you to indication right into WPForm s. Go in advance and also click the ‘Sign in to WPForms’ switch.

Click the button to sign into WPForms

You need to after that see a popup home window. Here, you require to get in the API secret that you located previously.

You likewise require to include your web site’s URL (domain).

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

After you’ve gone into those information, simply click the ‘Yes, Continue’ switch to carry on.

Next, Zapier will certainly ask you to choose your data upload form from a dropdown listing. Go in advance and also click the name of your form:

Select your file upload form from the dropdown in Zapier

Once you’ve chosen the appropriate form, you require to click the ‘Test trigger’ switch to see to it that Zapier has actually attached to your form properly.

Testing your trigger in Zapier

After clicking that switch, you need to see a message that Zapier has actually located a examination entrance. You will certainly see the information on the display:

Viewing the data for the test WPForms entry

Click the ‘Continue’ switch to carry on to the Action component of theZap Here, you require to select your 2nd application, Google Drive.

Choosing the Google Drive app as the action for the zap

Next, you will certainly see the dropdown for picking an activity occasion. Here, you require to choose the ‘Upload File’ choice and afterwards click to proceed.

Choosing 'Upload File' as the action for the zap

Zapier will certainly currently motivate you to indication right into your Google Drive account:

Signing into Google Drive when prompted by Zapier

Once you’ve done so, click the Continue switch to carry on:

Zapier and Google Drive are now connected

Now, it’s time to established where you desire the files to enter yourGoogle Drive Simply click the Drive dropdown to choose whether you desire to utilize your individual drive or a shared drive.

Then, click the Folder dropdown to choose the folder you desire to usage.

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

Next, you require to inform Zapier which data( s) to upload. Under the File dropdown, choose the upload area on your form:

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

After that, you can leave the various other setups empty and also click the proceed switch to carry on.

Zapier will certainly currently motivate you to examination your Zap by sending out an upload datato Google Drive Simply click the Test and also Continue switch to do so:

Sending the test file to Google Drive using Zapier

This will certainly send out Google Drive the files you posted in your examination form entrance. Go in advance and also inspect your Google Drive folder for the files:

Viewing the uploaded file in Google Drive

Once you’re positive that your zap is functioning as meant, merely click the ‘Turn on Zap’ switch to make it live:

Turn on your zap once you're ready

Now, all files sent out with your data upload form will instantly be posted to your selected Google Drive folder.

WPForm s will certainly constantly maintain a back-up of all files on your WordPress organizing account in situation the Zapier API experiences any type of interruptions.

Please bear in mind that if you obtain a great deal of form entries with big files, after that this will certainly use up enhanced storage area in yourGoogle Drive In our service, we make use of G Suite Business strategy to obtain Unlimited storage area.

We wish this post assisted you find out how to upload files from a WordPress formto Google Drive You could likewise like our post on how to make use of individual created material to expand your service, and also our collection of the needs to have WordPress plugins for all websites.

If you liked this post, after that please subscribe to our YouTube Channel for WordPress video clip tutorials. You can likewise discover us on Twitter and also Facebook.