Ow Secure Are Documents Uploaded to Google Drive

Practice you want to send files from a WordPress contact form to Google Drive?

Usually, your class plugins will upload any files straight to your WordPress site. Still, you may want to automatically upload them to Google Drive likewise for safekeeping and easier sharing.

In this article, nosotros'll show you how to hands upload files from a WordPress grade 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 field and keep the uploaded files on your website.

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

This is where Google Drive comes in. Google Drive allows you to store files on the cloud and hands share them with anyone. It also allows you to easily access files from any device without logging into your WordPress site.

For instance, if you create a chore application form and enquire for resumes, then you tin automatically upload those files straight to Google Drive and share information technology with others in your team.

Some other scenario is when you lot run a contest where users upload photos or submit articles to participate.

Sending those submissions directly to Google Bulldoze saves deejay infinite on your website. At the same fourth dimension, information technology keeps those files safe in a remote deject location.

That existence said, allow's have a look at how to hands transport WordPress grade uploads to Google Bulldoze.

Creating and Preparing Your WordPress Form in WPForms

For this tutorial, we will be using WPForms. It's the most pop contact class plugin for WordPress with over 3 million active installs. It comes with a elementary drag and drop interface that lets you easily create any kind of class.

And so, we are going to use a tool called Zapier to connect WPForms with Google Bulldoze.

Zapier acts as a bridge to send data between two unlike apps, without you needing to use any code. It seamlessly integrates with over 2000+ apps.

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

Creating a File Upload Form in WPForms

Beginning, you need to install and actuate the WPForms plugin on your website. For more than details, encounter our step past stride guide on how to install a WordPress plugin.

Next, you need a course that your website visitors tin use to send you files. If you don't already accept a form ready, check out our step by step guide on creating a file upload form in WordPress.

Important: This method will only piece of work with a unmarried file. It volition not piece of work with multiple files from 1 course submission.

One time you have set your course, yous need to add information technology to your website. To practice this, simply edit the post or page where you desire the grade.

On the post edit screen, click on the + button to add a new block. After that, search for the WPForms block and add together it to your content expanse.

Adding a WPForms block to a post or page

And so, publish your page or mail to put your grade live. One time you lot've done so, get ahead and create a test entry. This will exist used to set up and test the connection between WPForms and Google Drive.

Here's our test entry:

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

Preparing to Connect WPForms with Zapier

We are going to use Zapier as a span between WPForms and Google Drive. To do this, y'all demand to install and activate the WPForms Zapier addon.

In your WordPress admin, get to the WPForms » Addons folio and find the Zapier addon. Go ahead and click the 'Install Addon' link to install and actuate it:

Installing the Zapier addon for WPForms

Next, yous need to visit the WPForms » Settings » Integrations page. But click on the Zapier logo to go your Zapier API key. You lot will need this in club to connect Zapier with WPForms.

Getting the Zapier API key from WPForms

Re-create the API key somewhere prophylactic or keep this tab open. You will need the API fundamental in a after step.

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

Once you take your form fix, become to the Zapier website. You need to create a free account or log in to your existing business relationship.

In your Zapier dashboard, just click the 'Make a Zap' button to get started. This will open the configuration magician.

Notation: Zapier uses the word 'zap' for a process with a trigger and an action. Our trigger volition be a company filling in the form, and our action volition be sending the file(s) attached to the form to Google Drive.

At the top of the screen, you demand to choose a name for your zap. Once y'all've done that, it's time to prepare the trigger.

First, you lot need to select WPForms in the 'Cull App & Event' box. Just type 'WPForms' into the search bar to find information technology:

Choosing the WPForms app in Zapier

You will at present be prompted to select a trigger issue. This will default to 'New Class Entry' and so all you need to practise here is click the 'Continue' button.

Choosing a trigger event in Zapier

Now, Zapier will ask you to sign into WPForms. Go alee and click the 'Sign in to WPForms' push button.

Click the button to sign into WPForms

You should then see a popup window. Hither, you need to enter the API central that you found earlier.

You also demand to add together your website'due south URL (domain proper name).

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

Subsequently you've entered those details, simply click on the 'Yes, Continue' button to movement on.

Next, Zapier volition ask you to select your file upload form from a dropdown list. Go ahead and click on the name of your grade:

Select your file upload form from the dropdown in Zapier

One time you've selected the correct form, you lot need to click the 'Examination trigger' button to make sure that Zapier has continued to your form correctly.

Testing your trigger in Zapier

After clicking that push button, you lot should meet a message that Zapier has found a test entry. You will see the data on the screen:

Viewing the data for the test WPForms entry

Click the 'Proceed' button to movement on to the Action function of the Zap. Here, you need to cull your second app, Google Bulldoze.

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 and then click to go on.

Choosing 'Upload File' as the action for the zap

Zapier will now prompt you lot to sign into your Google Drive business relationship:

Signing into Google Drive when prompted by Zapier

In one case you've done so, click the Continue button to move on:

Zapier and Google Drive are now connected

Now, it'south time to set up where you lot want the files to get in your Google Bulldoze. Simply click on the Drive dropdown to select whether you want to employ your personal bulldoze or a shared drive.

And then, click on the Binder dropdown to select the binder you want to apply.

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

Next, you need to tell Zapier which file(south) to upload. Under the File dropdown, select the upload field 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 other settings blank and click the continue button to move on.

Zapier will at present prompt you lot to test your Zap past sending an upload file to Google Bulldoze. Simply click the Test and Go on button to do so:

Sending the test file to Google Drive using Zapier

This will ship Google Drive the files you uploaded in your test form entry. Become ahead and cheque your Google Drive folder for the files:

Viewing the uploaded file in Google Drive

Once y'all're confident that your zap is working as intended, but click the 'Turn on Zap' button to make it alive:

Turn on your zap once you're ready

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

WPForms will always keep a backup of all files on your WordPress hosting account in case the Zapier API experiences whatever outages.

Please proceed in mind that if y'all get a lot of form submissions with large files, and then this will take upwards increased storage infinite in your Google Drive. In our business, we utilize G Suite Business plan to get Unlimited storage space.

We promise this commodity helped you learn how to upload files from a WordPress form to Google Drive. You might also like our article on how to use user generated content to grow your business, and our collection of the must have WordPress plugins for all sites.

If you liked this commodity, then please subscribe to our YouTube Aqueduct for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if y'all click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how yous can back up u.s..

bryantalippon.blogspot.com

Source: https://www.wpbeginner.com/wp-tutorials/how-to-upload-files-from-a-wordpress-form-to-google-drive/

0 Response to "Ow Secure Are Documents Uploaded to Google Drive"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel