how to upload google drive file in facebook
Do you lot want to transport files from a WordPress contact course to Google Drive?
Commonly, your form plugins volition upload whatever files directly to your WordPress site. Even so, you may want to automatically upload them to Google Bulldoze too for safekeeping and easier sharing.
In this article, we'll show yous how to easily upload files from a WordPress form to Google Drive.
Why Upload Files From Your WordPress Form to Google Drive?
Normally, you tin can employ your WordPress grade builder plugin to add together a file upload field and continue the uploaded files on your website.
Merely what if yous 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 Bulldoze allows y'all to store files on the cloud and easily share them with anyone. Information technology also allows you to easily access files from whatsoever device without logging into your WordPress site.
For instance, if y'all create a job application form and inquire for resumes, and then you can automatically upload those files directly to Google Drive and share it with others in your team.
Another scenario is when you run a contest where users upload photos or submit manufactures to participate.
Sending those submissions directly to Google Bulldoze saves disk space on your website. At the same time, it keeps those files rubber in a remote cloud location.
That being said, allow's take a await at how to easily send WordPress form uploads to Google Bulldoze.
Creating and Preparing Your WordPress Course in WPForms
For this tutorial, nosotros will be using WPForms. It'due south the near pop contact form plugin for WordPress with over 3 million active installs. It comes with a elementary drag and drib interface that lets you easily create any kind of form.
Then, nosotros are going to use a tool chosen Zapier to connect WPForms with Google Bulldoze.
Zapier acts every bit a bridge to send data between two different apps, without yous needing to utilise any code. It seamlessly integrates with over 2000+ apps.
Note: You lot need the Pro version or higher to access the Zapier addon for WPForms.
Creating a File Upload Form in WPForms
Offset, you need to install and activate the WPForms plugin on your website. For more details, see our step by step guide on how to install a WordPress plugin.
Side by side, you need a form that your website visitors tin use to send yous files. If you don't already have a class gear up up, check out our pace by stride guide on creating a file upload course in WordPress.
Important: This method will but work with a single file. It will non work with multiple files from 1 form submission.
One time y'all have fix your course, you need to add it to your website. To do this, simply edit the post or page where you want the form.
On the mail service edit screen, click on the + push button to add together a new block. After that, search for the WPForms block and add it to your content area.
Then, publish your page or postal service to put your form live. One time y'all've done and then, become ahead and create a examination entry. This volition exist used to prepare and test the connexion between WPForms and Google Drive.
Here's our test entry:
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 folio and find the Zapier addon. Go ahead and click the 'Install Addon' link to install and activate it:
Next, yous need to visit the WPForms » Settings » Integrations page. Simply click on the Zapier logo to get your Zapier API key. You volition need this in lodge to connect Zapier with WPForms.
Re-create the API fundamental somewhere condom or keep this tab open up. You will need the API key in a later step.
Creating a Zap to Send Files from Your Website Course to Google Drive
Once you take your form ready, go to the Zapier website. You demand to create a free account or log in to your existing account.
In your Zapier dashboard, simply click the 'Brand a Zap' button to get started. This volition open the configuration magician.
Note: Zapier uses the word 'zap' for a process with a trigger and an activity. Our trigger will be a visitor filling in the form, and our activity will be sending the file(s) fastened to the form to Google Drive.
At the top of the screen, you lot need to choose a name for your zap. Once you've done that, it's time to ready the trigger.
Get-go, y'all demand to select WPForms in the 'Choose App & Event' box. Just type 'WPForms' into the search bar to find it:
You will now exist prompted to select a trigger event. This will default to 'New Form Entry' so all y'all demand to do here is click the 'Continue' push.
Now, Zapier will inquire you lot to sign into WPForms. Go ahead and click the 'Sign in to WPForms' button.
You should so see a popup window. Hither, yous need to enter the API central that you found earlier.
You also need to add your website'southward URL (domain name).
Afterwards you've entered those details, just click on the 'Yes, Go on' button to motility on.
Adjacent, Zapier will inquire you to select your file upload form from a dropdown list. Go alee and click on the name of your form:
In one case you've selected the correct grade, y'all need to click the 'Test trigger' push to brand sure that Zapier has connected to your grade correctly.
Afterward clicking that button, you should run into a bulletin that Zapier has found a examination entry. You volition see the data on the screen:
Click the 'Go on' button to movement on to the Action function of the Zap. Here, you lot demand to choose your second app, Google Drive.
Next, you will run into the dropdown for choosing an action event. Here, yous need to select the 'Upload File' choice then click to keep.
Zapier volition now prompt yous to sign into your Google Drive account:
Once you've done then, click the Continue button to move on:
Now, it's time to fix where you desire the files to go in your Google Drive. Only click on the Bulldoze dropdown to select whether you want to employ your personal drive or a shared drive.
Then, click on the Folder dropdown to select the folder you want to use.
Next, you need to tell Zapier which file(s) to upload. Under the File dropdown, select the upload field on your class:
After that, you can leave the other settings blank and click the continue push button to motion on.
Zapier volition now prompt yous to test your Zap by sending an upload file to Google Bulldoze. Simply click the Test and Continue button to do so:
This will send Google Drive the files y'all uploaded in your test class entry. Go ahead and bank check your Google Drive binder for the files:
Once you're confident that your zap is working as intended, only click the 'Turn on Zap' push to brand it live:
Now, all files sent through your file upload form will automatically exist uploaded to your chosen Google Bulldoze binder.
WPForms will always keep a backup of all files on your WordPress hosting account in example the Zapier API experiences any outages.
Please go on in mind that if you get a lot of form submissions with large files, and so this volition accept up increased storage space in your Google Bulldoze. In our business, we utilize G Suite Business plan to get Unlimited storage infinite.
We promise this article helped you learn how to upload files from a WordPress grade to Google Drive. You might also like our commodity on how to utilise 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. Y'all can also find us on Twitter and Facebook.
Disclosure: Our content is reader-supported. This means if you click on some of our links, so we may earn a commission. See how WPBeginner is funded, why it matters, and how yous can back up us.
Source: https://www.wpbeginner.com/wp-tutorials/how-to-upload-files-from-a-wordpress-form-to-google-drive/
0 Response to "how to upload google drive file in facebook"
Post a Comment