WS Form Google Drive - WordPress Plugin
WS Form Google Drive is a powerful plugin for WordPress that adds a file upload add-on to the popular WS Form plugin. With this plugin, users can seamlessly integrate their WS Form submissions with Google Drive, allowing for easy storage and management of uploaded files.

Plugin Features
WS Form Google Drive offers a hassle-free way to handle and organize files uploaded through WS Form. Instead of manually downloading and sorting files, the plugin automatically sends the submitted files to the designated Google Drive folder, making it convenient for users to access and manage their files in one central location.
This plugin simplifies the process of file management by eliminating the need for manual handling and organization. With WS Form Google Drive, users can easily configure the plugin settings to specify the target Google Drive folder for file uploads. Upon submission of a WS Form, the plugin securely transfers the uploaded files to the Google Drive folder, ensuring data integrity and confidentiality.
The integration of WS Form with Google Drive brings numerous benefits to users. Firstly, it provides a secure and reliable file storage solution, leveraging Googles robust infrastructure. Secondly, it reduces manual efforts and saves time by automating the file upload process. Users no longer need to download and move files manually, streamlining their workflow.
In addition to its convenience, this plugin also enhances data management and organization. The files uploaded through WS Form are instantly stored in the designated Google Drive folder, enabling users to quickly locate and retrieve the files whenever needed. It also simplifies collaboration by allowing multiple users to access and work on the same files within the shared Google Drive folder.
WS Form Google Drive is designed for optimal user experience and simplicity. It seamlessly integrates with WS Form, ensuring a smooth and cohesive user interface. The plugins intuitive settings panel enables users to easily configure and customize the Google Drive integration to best suit their needs.
In conclusion, the WS Form Google Drive plugin for WordPress is a valuable asset for users who want to enhance their file upload and management capabilities. By seamlessly integrating WS Form submissions with Google Drive, this plugin offers a streamlined and efficient solution for handling and organizing uploaded files. Whether its for personal or business use, this plugin provides a reliable and user-friendly way to manage and store files securely.
How to Set Up WS Form Google Drive for Form Uploads
WS Form Google Drive is best viewed not as a separate place to store files, but as the link between a form on a WordPress site and a team's working folder. This guide follows a file from the upload field to Google Drive, covering initial setup, a secure folder structure, result verification, and troubleshooting when a sender sees a success message but the expected document is not where the team expects to find it.
The focus is a practical need: a visitor completes a form, attaches a document, image, or another permitted file, and staff receive an organized outcome without manually downloading attachments from the admin area. Connecting a Google account alone is not enough. You need to decide in advance which files the site accepts, who can access the destination folder, how submissions will be distinguished, and where to confirm that the transfer succeeded.
The integration works with WS Form file fields and adds a Google Drive handler for them. The key configuration object is therefore not the entire form, but each field that should actually send a file to Drive. This is useful when a single form includes, for example, a portfolio for a manager and an internal attachment for the operations team: they can have different rules and destinations without turning storage into one unstructured shared folder.
This article is intended for site owners, administrators, marketers, and developers who need more than simply enabling an add-on and want to leave behind a clear, manageable setup. It does not cover obtaining or purchasing software files. It assumes that WS Form PRO and the add-on are already available to the site, and that access to the required Google account has been approved by the owner of the working data.
When Connecting a Form to Google Drive Actually Simplifies the Work
The strongest use case for WS Form Google Drive is one where a file is part of a submission rather than an incidental attachment. It may be a job applicant's resume, a project brief, property photos, a registration document package, source files for a design studio, event participant materials, or proof of payment where internal procedures allow it. The form gathers context - name, contact details, selected service, consent, and comments. Google Drive becomes the place where the team opens and sorts the actual attachments.
This division of responsibilities is useful for two reasons. First, a manager does not need to search for documents in emails that may land in spam or be forwarded among several employees. Second, folders can match the real processing flow: separate areas for new submissions, submissions under review, and completed cases. The plugin itself does not replace access rules, internal statuses, or retention policies, but it helps deliver files to the place where those rules already operate.
Use Cases Where the File Field Becomes the Center of the Form
A clear example is a hiring form. A visitor selects an open role, enters their name and email address, attaches a resume and, where relevant, a portfolio. The site's task is not to display a page with an attractive button, but to deliver the file to the recruiter without mixing resumes from different applicants. Every attachment needs a predictable location, and every submission needs a quick way to open its corresponding file.
Another use case is collecting materials from clients. For example, a studio may receive a logo, photographs, and a written brief before work begins. A single flat folder is especially harmful here: identical names such as logo.png quickly become confusing to people, even if the system did not technically overwrite a file. It is much more useful to establish a structure per submission and keep the original context in the form record.
A third group of tasks involves support and service requests. A visitor may attach an error screenshot, a log archive, or a photo of equipment. In these cases, it is convenient for the request to remain in WS Form while the heavier attachment lives in an accessible Drive working folder. However, file types, size limits, and the group of authorized employees need particularly careful restrictions, because technical attachments can contain personal data, addresses, or internal information.
Finally, this can be a useful setup for an editorial team, educational project, or event organizer. A file may be a manuscript, image, pass, participant work, or supporting document. The general approach remains the same: the form accepts only what is needed, the file goes to predefined storage, and a staff member confirms the outcome through both the record and the folder, rather than relying solely on the visitor's on-screen message.
Who This Solution Fits and Who Should Choose Another Route
The integration suits teams that already use Google Drive as a workspace and want to eliminate manual attachment downloads from WordPress. It is also convenient when the form is built in WS Form PRO and the requirement is specifically to transfer uploaded files. If the goal is to collect structured responses in a spreadsheet rather than attachments, a Google Sheets integration may be a better fit. If you need a complex flow involving several external systems, approvals, and data transformations, first map the workflow and determine whether a dedicated automation tool is needed.
Do not use this integration as a way to create public file storage. Google Drive should not become a place that any visitor can access through a predictable link. It also does not independently solve personal-data retention, document deletion periods, backups, or employee permissions. Those responsibilities remain with the site owner and the Google account owner. Transferring a file and having permission to open a file are different tasks and must not be conflated.
Practical guideline: first decide who will open the files a week after the form is submitted. If the answer is "someone on the team," configure the folder and permissions in Google Drive before connecting it to the form.
Troubleshooting: Why the File Does Not Appear Where Expected
Upload problems rarely have a single universal cause. Sometimes the form does not submit at all. Sometimes the submission exists, but the field is still using a different handler. Sometimes the file exists in Drive but is located in an unexpected branch of the folder hierarchy. Finally, the transfer may succeed while an employee cannot open the document because of folder permissions. Do not start with drastic steps such as reconnecting the account or changing paths in bulk. First, document the exact symptom using a test submission.
WS Form describes submission as a sequence that begins with a browser request through the WordPress REST API, continues with server-side action processing, and returns a response to the browser. This is a useful troubleshooting model: an error before a record appears differs from an error after a successful submission, and a Drive access issue may surface after the form itself has already responded to the visitor. The more clearly the checks are separated, the lower the risk that a fix will damage working submissions.
The Form Does Not Submit or the Visitor Sees an Error
Symptom: after selecting a file, submission stalls, an error message appears, or no new submission record is created. Possible causes: a required field is incomplete, the format fails validation, a third-party script conflicts, the page displays an outdated copy of the form, or the server returned an error during processing.
What to check: submit the form again with a small permitted test file, open the form without page caching, and make sure the public page displays the latest published version. Confirm that the required file field is not hidden by conditional logic. If the form is placed in a page builder or in several locations, test the specific page where the problem occurs, not only the editor preview.
How to fix it: roll back recent changes one at a time: first custom conditional logic, then complex field requirements, then third-party script optimizations. If you need technical details, enable the WS Form debug console for administrators only through WS Form → Settings, as the documentation recommends. The log and error tab may show information about actions and the server response. After testing, disable public access to debugging information and do not publish screenshots that contain form data.
When to roll back: if the error appeared immediately after changing the field type, its requirements, or the form placement, reverse only that change and confirm that basic submission works. Do not delete the form or change the connected Google account until it has been shown that the issue is specifically related to that account.
A WS Form Submission Exists, but the File Is Missing from Google Drive
Symptom: the submission is visible in the admin area, but the destination folder is empty. Possible causes: the field does not have the Google Drive handler selected, the form was changed but not published, the path or root folder directs the file elsewhere, the account connection needs to be rechecked, or the test used the wrong form instance.
What to check: open the specific file field in the form that is placed on the page. On the Basic tab, check the File Handler value. Then temporarily restore the documented base Upload Path and remove complex dynamic segments. If Root Folder ID is set, compare the identifier with the test folder rather than relying on a similar folder name. Also open the file icon in the specific submission record: this is often faster than searching manually across all of Drive.
How to fix it: create one new test submission after saving and publishing. Do not use an old submission as proof of a new setting: it was already processed under the previous rules. If the base path works, add dynamic parts one at a time. If it does not work even with the base path, check the connection on the Google Drive tab in WS Form settings and review authorization for the working account with the folder owner.
When to roll back: if the new folder scheme has made the workflow confusing, return to the last confirmed structure and do not manually move existing files in the middle of testing. First establish where future submissions should go, then address the archive that already exists as a separate, coordinated task.
The File Landed in the Wrong Folder or Submissions Are Mixed Together
Symptom: documents are visible in Drive, but the folder does not match expectations, and identical names are difficult to associate with forms. Possible causes: the path relies on an unstable free-text field, multiple file fields were not accounted for, the root folder changed, or staff search by filename in the folder instead of opening files from the form record.
What to check: compare the actual path of a test file with the Upload Path setting. Check each variable separately: which form #form_id belongs to, which submission produced #submit_hash, and which field corresponds to #field_id. Create two new submissions with the same filename. If multiple uploads are enabled, add two files to one submission. This will show whether separation works in the cases where it is actually needed.
How to fix it: simplify the route to a base structure. For names that are meaningful to the team, add one stable, controlled identifier rather than using both a visitor's name and comment. Do not turn Google Drive into an interface for reading the entire form: use the WS Form record to find context, while the folder should be responsible for storage.
When to roll back: rolling back is sensible when the new structure increases search time or creates a risk of mixing documents. Do not wait for a large volume to build up. A few test records are enough to determine that a path is unsuitable and return to a proven option.
The File Is Found, but an Employee Cannot Open It
Symptom: an administrator can see the file, but a manager receives an access denied message or cannot see the required folder. Possible cause: permissions on the folder or shared drive are set for the wrong group, the file was saved in the connected account's personal area, or the link was forwarded to someone who was not granted access.
What to check: sign in with the assigned employee's account or ask them to open the link in a normal work session. Confirm who owns the root folder and whether it is in personal My Drive or a shared team space. Also check whether the employee is trying to locate the file through a public link instead of opening the submission record in the admin area.
How to fix it: configure access at the level of the selected working folder or shared drive using the principle of least privilege. If the test shows that files are going to a temporary contractor's personal Drive, direct future uploads to an approved shared root folder and run a new test. Do not make the folder available to "anyone with the link" as a quick fix: this changes the access model more broadly than the issue requires.
When to roll back: if a permission change unexpectedly gave access to too broad a group, immediately restore the last safe permission set and recheck only the intended participants. An access problem is a reason to review the folder owner, not a reason to leave documents openly available.
No Email Arrived Even Though the File and Submission Exist
Symptom: the file is found and the submission exists, but the employee did not receive a notification. Cause: this usually concerns email delivery rather than Google Drive. WS Form documentation indicates that it uses wp_mail, recommends checking the spam folder and email addresses, and suggests configuring SMTP when necessary.
What to check and fix: make sure the form has a published email action, check the recipient address and delivery log if your email solution provides one. Send a separate test to a working address rather than an address that matches the sender address. If the email component is not ready, do not stop processing the submission: the WS Form record and Drive file already allow the team to recover the situation. After configuring SMTP, repeat the complete form test, but do not ask a visitor to resend a document just to test notifications.
Safe Improvements After a Stable Launch
Once the base route has passed several tests, there is no need to rewrite the plugin, add unverified handlers, or interfere with WordPress core. WS Form already provides field settings, variables, form actions, a debug console, protection against unwanted submissions, and documented file handlers. In practice, these built-in mechanisms offer more control than a random PHP snippet from an unrelated article.
The first useful improvement is to make the form clearer rather than more complex. Clarify the file field label, put the format requirement in a short hint, make an optional attachment conditional, and add a proper post-submission message: the request has been received, the team will review the data, and the form does not need to be submitted again. This reduces duplicates and supports users without risking the transfer.
The second improvement is to formalize regular verification. After updating WordPress, WS Form, the theme, a page builder, or an optimization plugin, submit one safe test file. Open the record, file, and folder. If the site uses caching, check both the uncached page and the normal user path. This short regression test is more useful than waiting for the first customer complaint.
The third improvement is to give the responsible employee a short guide: where to see new submissions, how to open an attachment, how to identify the folder, what to do with an incorrect file, and whom to contact if there is an access problem. An integration often works technically, but the team continues downloading attachments from old emails because no one explained the new procedure. A one-page internal reference makes the setup truly usable.
Cautious approach: this guide intentionally includes no unverified code for this task. When the standard
File Handler, path, root folder, notifications, and debugging settings are sufficient, adding custom code only expands the error surface and makes updates harder.
Questions That Come Up When Setting Up Uploads
Do I Need Google Drive for Every File Field?
No. The handler is selected at the individual field level. This lets you send only the attachments that truly need a cloud working folder to Google Drive, while keeping the rest under another approved storage arrangement.
Can I Save Multiple Files from One Submission?
Yes. WS Form file fields include the Multiple setting. Enable it only when visitors genuinely need to choose more than one file, and always test the path using two files in a single submission.
Why Does the Path Use Technical Identifiers?
Form, submission, and field identifiers help separate attachments and reduce the chance of confusion. They are more reliable than freely entered names when you need to distinguish identical files from different submissions.
Can I Use a Shared Team Folder?
Yes. The field settings provide Root Folder ID for this purpose. First create and verify the working folder or shared drive, assign the minimum necessary permissions, and only then use its identifier in the form.
What Does a Successful Post-Submission Message Mean?
It means the browser received a response to the submission. For a complete verification, open the WS Form record, locate the file in the expected Google Drive folder, and make sure the assigned employee can access it.
Can the accept Restriction Fully Protect Against Unsuitable Files?
No. It makes format selection clearer in the browser interface. Important or sensitive data also requires organizational policies, sensible field requirements, process verification, and restricted folder permissions.
What Should I Do if an Email Notification Does Not Arrive?
First check the form record and the file in Drive. Then investigate the email component: the send action, addresses, spam folder, and SMTP configuration. Do not confuse a missing email with a missing submission.
When Might WS Form Google Drive Not Be a Good Fit?
The solution is not optimal when you need not file storage, but complex automation across many external systems or broad public access to documents. In that case, first define the access and processing requirements, then choose an architecture rather than trying to turn a file field into a universal process-management system.
When WS Form Google Drive Is a Strong Choice
This integration is especially useful when a WordPress form is already built in WS Form PRO and the team needs a controlled way to send its attachments to a Google Drive workspace. A solid setup starts small: one field, one test folder, a base path, one safe submission, and three confirmation points - the record, the file, and access. Only then does it make sense to add dynamic routes, extra fields, and notifications.
If you are ready to verify the folder owner, file requirements, and submission workflow, you can get the WordPress version and perform the setup on a test page first. Do not move an unverified path into a live form or broaden folder permissions for speed. The value of this setup is not cloud storage by itself, but the ability to quickly and safely connect a document to a specific submission.
A good final state is simple: the visitor understands what they are uploading, the form completes without surprises, the responsible team finds the record and file within a minute, and document access remains limited to the people who need it. When these conditions are met, WS Form Google Drive becomes more than another settings option - it becomes a stable part of the submission workflow.
Practical Example: Sending Applicant Documents to a Separate Folder
Let's look at a concrete use case that clearly demonstrates the strengths and limitations of WS Form Google Drive. A company publishes a job application form. An applicant selects the area they are interested in, enters their name, email address, and phone number, and attaches a PDF resume. Some roles require a portfolio link rather than an archive file. The goal is for the recruiter to see the complete application in the WordPress admin area while receiving the document in a predictable Google Drive structure.
This example matters not because hiring forms are universal, but because it includes all key elements: one required file, potentially sensitive data, a clear owner of the working folder, a need to associate the attachment with the application, and a risk that a visitor will submit an unsuitable format. If you are setting up a form for another purpose, replace the recruiter with the responsible employee and the resume with your own attachment type, while keeping the same verification approach.
Goal, Preparation, and Data Boundaries
Before editing the form, create a test area in Google Drive, such as a folder for checking the route. Do not use a name that resembles a real hiring archive, so no one accidentally places live documents there. Give access only to the person running the test and one reviewing colleague. Prepare two PDFs with safe content and different names. Give one file a short name and the other a name with spaces and non-Latin characters to see what the final name looks like after processing.
In the form itself, add the main text fields and a separate File Upload field for the resume. Make it required only if the application genuinely cannot be considered without it. In advanced settings, limit selection to PDF files through accept with the value application/pdf. For portfolios, a link field is usually the better option: large archives, source files, and videos significantly increase the risk of errors, while a link allows the applicant to control access. If your organization specifically needs a file, create a second field with separate rules and clearly communicate the size and format requirements to the user.
Before connecting the integration, write a brief notice explaining why the document is requested and who will review it. This does not replace legal advice or a data-processing policy, but it makes the form more transparent. Do not ask applicants to include unnecessary details in a resume simply because any PDF can technically be uploaded. The more precise the set of fields, the easier it is to maintain a clear retention period and access policy.
Setting Up the Form and File Field
- Open the form in the WS Form editor and make sure you are editing the published instance rather than a copy.
- Add or select a
File Uploadfield, give it the clear label "Resume in PDF Format," and make it required if the workflow justifies it. - In the field settings, on the
Basictab, selectGoogle Drivefor theFile Handleroption. - For the first iteration, keep the base
Upload Pathso each submission receives its own technically unique folder. - If files need to go to a shared team folder, enter the pre-verified
Root Folder IDof the test folder. - Save the form and publish the changes before testing. Saving in the editor without publishing may leave the public page on the old configuration.
The key point here is not to make the path "pretty" too early. The natural temptation is to create folders based on the job title and applicant name. But names can duplicate, contain unusual characters, and change after clarification. At the first launch, an identifier-based technical path is more reliable. Searchability is not created by the folder name alone: the WS Form record retains all application fields, and the responsible employee can open the file from there.
If, after several tests, the team genuinely needs a top-level category by area, add only a controlled value from the list of roles. For example, the form may offer "Design," "Support," and "Development," and that selection can be used as an additional structural segment. Do not build the path from a free-text "Desired Position" field: a visitor can enter any phrase, and the archive will stop being predictable.
Why You Should Not Attach the Document to Every Email
An email notification is useful as a signal to a manager, but it does not have to carry the file itself. Email attachments duplicate data, depend on mail-server limits, and remain in employee inboxes longer than retention rules may allow. It is more reliable to state in the notification that a new application has arrived and have staff locate the file through the form record and working folder. This gives the team one source for the document instead of several unmanaged copies.
If a notification needs to provide quick context, include the applicant's name, selected role, and a link to the admin record using WS Form's confirmed notification and variable capabilities. Do not put unnecessary personal data in the email or create custom PHP code while a built-in configuration is sufficient. The purpose of the message is to direct the employee to verification, not replace it.
How to Confirm That the File and Submission Are Linked Correctly
A test should resemble a real visitor action. Do not limit yourself to reviewing settings in the admin area. Open the public page in a separate browser window, complete all required fields as a user would, attach a test file, and submit the form. Record the time and filename used. Then verify the outcome in two independent places: the WS Form submissions area and the target Google Drive folder.
The documentation states that files uploaded to Google Drive can be opened through upload icons on the submissions page, just like regular attachments. This is an important check not only technically, but also operationally. It shows that an employee can associate the document with the application. If the file is present in Drive but the record does not offer a clear path to it, the process remains inconvenient for the team. If a record exists but the file is absent from the folder, the submission should not be considered processed.
Five Checks After Every Meaningful Configuration Change
- Form check: the user sees a clear label, whether the field is required, and the permitted file type.
- Submission check: pressing the button produces the expected message rather than endless loading or an unclear error.
- Record check: the new submission appears in the WS Form admin area and includes the main field values.
- Drive check: the file is in the correct folder, its name is recognizable, and the structure matches the selected path.
- Access check: the assigned employee can open the document, while a test user without folder access does not receive unnecessary permissions.
Do not collapse these five checks into one vague question: "Does the form work?" Each point has its own class of causes. An incorrect label is fixed in the field editor. A missing record may indicate a submission problem. A file in the wrong folder is related to the path or root folder. An opening error after a successful transfer often concerns Google Drive permissions rather than WS Form. The more precisely you describe the symptom, the faster you can find a safe fix.
Testing Multiple Files and Two Submissions
If the Multiple setting is enabled, an additional check is required. Submit one application with two permitted files and a second application with one file using the same name. Confirm that the files are not visually mixed in one folder and that the records can be distinguished. Then repeat the test for another file field if the form has more than one. This verifies not only a successful transfer but also the original purpose of the base path structure: separating forms, submissions, and fields.
Testing identical names is intentional. Visitors often upload document.pdf, scan.jpg, or resume.pdf. A test with unique demonstration names creates a false sense of reliability. It is better to see real behavior in your own form in advance than to discover an unclear archive after dozens of live submissions.
Result verification: a successful post-submission screen means the browser received a response. For the workflow, success is confirmed only when a record with form data, a file at the expected path, and access for the responsible employee all exist at the same time.
How to Combine Uploads, Notifications, and Processing Rules
WS Form Google Drive handles attachment transfer, but a useful workflow requires responsibilities to be divided among several mechanisms. The form collects data. Submission storage preserves context in the admin area. Google Drive stores the file. A notification reminds the team that there is a new task. None of these components should pretend to be another. For example, an email is not an archive, and a Drive folder does not always replace a list of submissions with fields, statuses, and manager comments.
For a typical site, it is sensible to retain the form record at least for the duration of request processing. WS Form documentation notes that the submissions list is available when the save submission action is used. This makes it possible to investigate a situation where an email did not arrive but the file is found in Drive, or the reverse. Define retention periods according to internal rules and the nature of the data. Do not retain files forever simply because cloud storage still has available space.
Email Notifications Without Duplicating Files
Configure the notification as an operational signal. Use a short, recognizable category in the email subject, and include values in the body that help the employee locate the record. Send the email to a working group address if several people process requests, but do not add incidental recipients "just in case." If notifications do not arrive, do not try to solve the issue by adding a second and third address. First check WordPress email sending and deliverability.
For testing, do not use the same sender and recipient address if the email system may treat that message as suspicious. WS Form documentation specifically recommends checking the spam folder and considering an SMTP solution. The main rule remains the same: even a working notification confirms only that an email was generated. File availability must be checked in the record and in Google Drive.
Protecting the Form from Excessive and Unwanted Uploads
A file field almost always requires stricter discipline than a standard contact form. Limit required attachments, maintain a short list of permitted formats, do not hide the field without clear conditional logic, and do not enable multiple uploads "just in case." WS Form includes separate protections against unwanted submissions and built-in duplicate protection. Enable the measures that fit your form, then test them on the published page: protection that prevents a legitimate visitor from submitting a document does not accomplish its purpose.
For sensitive materials, separate the technical and organizational parts. The technical part includes field control, the correct folder, minimum permissions, and transfer verification. The organizational part covers who reviews documents, how long they are retained, who receives error reports, and how mistakenly submitted content is deleted. Do not present an ordinary integration as a legal or security system. It helps organize the flow, but it does not remove responsibility from the process owner.
Section takeaway: a successful integration is measured not by an attractive settings screen, but by a repeatable chain: "form - record - file - access." This test can be repeated after plugin updates, folder changes, or field changes.
Installing the Add-On and Making the First Connection Without Confusion
Installing the Google Drive add-on follows the standard procedure for WS Form PRO add-ons through the WordPress admin area. It is important not to confuse this stage with form configuration. First, the administrator adds the add-on to the site and confirms that Google Drive appears in WS Form settings. Only then does it make sense to open the form and change file field settings. This order simplifies troubleshooting: if the tab is missing, the issue concerns add-on installation; if the tab exists but the file does not reach Drive, check the connection and the field itself.
After installation, open WS Form in the WordPress left sidebar, then Settings and the Google Drive tab. This page connects the account through the Connect button and standard Google on-screen steps. Authorization should be completed by someone who is authorized to use the selected account and future folder. Do not share credentials in messages, ask a colleague to temporarily connect a personal Drive "for testing," or include a real client-document folder in the test.
After returning to the admin area, do not assume the connection is complete simply because the browser closed the Google page. Create a small test route with one form and one file. This is more useful than immediately assigning Google Drive to ten fields across several forms: if there is an error, you will know where the cause lies, and rollback will not affect existing workflows.
Why Connecting an Account and Assigning a Handler Are Separate Actions
Connecting on the WS Form → Settings → Google Drive page gives the add-on the ability to work with the selected Google Drive. However, this alone does not mean that all future or existing fields will begin sending files to the cloud. WS Form documentation expresses this clearly: the add-on adds a file handler named Google Drive, and you select it in the settings of a specific file field.
This separation is useful for risk management. In one form, you can keep a field containing internal operational files in protected WS Form storage while directing another field to Google Drive. You can start with one field, test the path, and then deliberately extend the setup. Do not use an identical configuration simply because fields look similar. A "Property Photo" field and a "Signed Agreement" field may have different retention periods, access groups, and filename requirements.
What to Record Immediately After Connecting
In a working note, record the form name, the connected working account name without passwords, the test folder, and the person responsible for access. Also record which version of the form is published and where it is placed. This is not bureaucracy: several months later, the most common problem looks like "everything is connected, but files are disappearing somewhere," when the real issue is that a draft form, test page, or different field instance was edited.
If an agency maintains the site, agree in advance on when access will be transferred. The plugin should remain connected to an account controlled by the organization, not the developer. Do not publish the working folder identifier in an article, email, or form if it reveals internal structure on its own. Employees usually need only a link issued through standard Google Drive tools and a role that matches their responsibilities.
Google Drive in a file field are separate actions.How to Configure a File Field for Google Drive Transfer
Now open the required form in the WS Form editor and find the File Upload field. Click its settings icon. The Basic tab contains the settings usually managed first: label, whether the field is required, field type, the ability to select multiple files, and the file handler. For this integration, the critical setting is File Handler: select Google Drive.
Save the change and do not immediately move to the next field. First, review the label and attachment requirements from an ordinary visitor's perspective. A technically precise label such as "Attach a PDF" is more useful than a generic "Upload a file" when the application expects a document. If multiple images can be attached, say so. If only photos are allowed, do not invite visitors to upload an archive or office document. Good field configuration reduces support emails before the integration even starts operating.
Choosing the Field Type and Number of Files
WS Form offers a standard upload option and a DropzoneJS option. With the standard option, the attachment is transferred together with the form submission. It is convenient where the file is small and the form is simple: the visitor completes all fields, reviews their input, and clicks the button once. DropzoneJS is worth considering when a user uploads images and it is important to show progress before the entire form is completed. According to the documentation, this type can resize images and change their format and quality in the browser, which can reduce transfer time in some situations.
However, early upload does not remove the need for final verification. A user can attach a file, change answers, or fail to submit the form. Therefore, your internal workflow should value not the mere fact that a file was selected, but its associated submission record. If it is critical that Drive contain only materials from completed requests, configure the test to verify the actual form submission and record creation, not just the thumbnail shown in the field.
Enable the Multiple setting only when multiple files are genuinely necessary. Otherwise, you complicate storage, increase upload time, and leave the user with an unclear choice: one document or ten variations. When several files are required, add a short rule to the label, such as "Up to three property photos." Do not set an arbitrary high number simply because the interface allows it.
Restricting Permitted Formats
In the advanced settings of the file field, you can set accept. For a form that accepts only PDFs and standard images, a clear value is application/pdf,image/jpeg,image/png. The format setting makes browser selection easier: visitors can see in advance which files are relevant. This is a good user-facing barrier, but it does not replace server-side validation, the organization's antivirus policy, or sensible restrictions on folder access.
Define rules based on the task rather than technical fashion. Resumes usually require PDF, supporting photos require JPEG or PNG, and design originals may need a separate restricted channel. If the request includes files that web users rarely open, add a text instruction next to the field and test it with a colleague. A person should not have to guess why their file was rejected when the required type could have been stated in advance.
Upload Path: How to Keep Order Without Mixing Submissions
After selecting the handler, the field settings will show the Upload Path option. This is where the route within Google Drive is built. The official base pattern is: /WS Form/#form_id/#submit_hash/#field_id/. In this pattern, #form_id separates one form from another, #submit_hash provides a unique identifier for a specific submission, and #field_id separates different file fields. With this structure, a form with multiple attachments does not place everything in one flat folder.
It is best to perform the first launch using the base pattern or a close variation. It is technically clear and convenient for troubleshooting. After testing, you know where to find the material: first the form folder, then the folder for the specific submission, then the field folder. If you immediately build the path from visitor-entered values and one of them is empty or unexpected, diagnosing an error becomes much harder.
When a Dynamic Path Is Useful
A dynamic path is justified when the form has a stable internal identifier that helps the team sort work. For example, a project code from a hidden field, a request type from a fixed list, or a submission identifier assigned by the server. It is important to distinguish a stable identifier from a visually appealing but unreliable label. A visitor's name is not always unique, a company name can change, and a free-text comment is not suitable for folder structure at all.
Start with one additional variable and test several cases. Submit two requests with different values, repeat a submission with the same value, then attach two files through different fields. Confirm that the hierarchy remains readable and nothing lands at an unexpected level. Every dynamic path should have a clear purpose for the person who will search for the file, rather than merely looking clever in the settings.
If you need a separate storage area, fill in Root Folder ID. By default, My Drive is the root, and the identifier of a shared folder or shared drive can be obtained from the address of the relevant location in Google Drive. For a shared drive, the documentation notes the characteristic 0A identifier prefix. Do not paste an entire link into the form if the field expects only the identifier. And do not edit a production path directly in a published form without testing: a new setting may direct subsequent attachments elsewhere while older files remain in the previous structure.
Filenames and Preserving Context
By default, WS Form uses the uploaded filename and sanitizes names before saving them for security. The documentation describes masks that can use, for example, #file_basename, #file_filename, #file_extension, #file_index, the value of another field #field(123), and the submission identifier #submit_id when the form uses a save submission action. This is useful, but it is not a reason to create endlessly long names containing the entire form.
A practical option is to let the folder provide technical uniqueness while keeping the filename recognizable to people. If the team must distinguish several attachments from one submission, use the file index or a separate field for document type. Before changing the mask, submit two copies of a file with the same name and review the result. Never assume that "two identical names will never occur": they appear constantly in forms involving resumes, receipts, and photos.
| Approach | When It Fits | What You Must Check |
|---|---|---|
A base path using #form_id, #submit_hash, and #field_id
|
Initial launch, forms with important attachments, and multiple file fields. | Whether a separate folder is created for every test submission. |
| A path with one stable project identifier | The team processes requests by internal code or fixed category. | What happens with an empty, repeated, or changed value. |
| A root folder or shared drive | Files must not be placed in the connected employee's personal My Drive. | Team permissions, identifier accuracy, and visibility of the test file. |
After saving, do not change the path, filename, and field type at the same time. One test iteration should answer one question. If the test fails, you will know what to check next. This discipline takes a few minutes, but prevents lengthy investigation when five settings were changed at once.
Section takeaway: connecting Google Drive enables transfer, but a reliable outcome comes from the file field with the correct handler, restrictions, path, and clear ownership of the folder.
What Happens Along the Upload Path
To keep the configuration from feeling like a collection of unrelated switches, it helps to see the entire route. A visitor selects a file in a field on the public site. WS Form validates the form and runs submission actions. For the specific file field, the Google Drive handler receives its task: place the file in the connected account at the configured path. The administrator can then open the submission record and reach the file through the attachment icon, while also seeing the outcome in the Drive folder itself.
Each part has its own verification point. Before submission, confirm that the field accepts only permitted types. After saving the form, check that this field has the correct handler and path. After a test submission, open both the WS Form record and the Google Drive folder. Finally, confirm that the person who needs the file can open it, while someone who does not need access cannot see it.
| Stage | What the Administrator Configures | What the User or Team Should See |
|---|---|---|
| Upload field | A clear label, required status, permitted types, and number of files. | The visitor understands what to attach and does not attempt to submit an irrelevant format. |
| File handler | The Google Drive value in the settings of the required field. |
This specific field receives a Drive route, rather than all attachments being sent without distinction. |
| Path and root folder | The storage hierarchy and, where necessary, the identifier of a shared folder or shared drive. | The attachment appears in the expected area without manual relocation. |
| Submission record | Submission storage and a clear testing procedure. | The team can associate the file with the application, not merely with its filename. |
A feature of WS Form Google Drive is that the path can be dynamic through WS Form variables. The documented base path uses #form_id, #submit_hash, and #field_id. This setup creates separate levels for the form, a specific submission, and the field. It does not guarantee business-oriented folder organization, but it reduces the risk of accidentally mixing attachments from different records and helps identify a file's origin during verification.
Dynamic values are useful, but they cannot be introduced without discipline. A visitor-entered field value may be incomplete, contain unusual characters, or change after the team has become accustomed to the structure. For the first version of the form, it is therefore better to use stable technical identifiers and keep human-readable context in the form record and notification. Once the arrangement has been tested with several test submissions, you can add a project code or request-type variable if it genuinely simplifies search.
What to Check Before Installation and Initial Authorization
Preparation begins not with the connect button, but with an inventory of the form. Open the future form and list which fields will upload files, what formats are expected, how many files are allowed, and whether images are needed immediately after selection or only when the form is submitted. Official WS Form documentation distinguishes the standard file upload type from DropzoneJS. The standard option sends the file with the form, while DropzoneJS can upload images immediately and perform some processing in the browser. This affects the visitor experience and testing, so do not change the field type without checking it on a real device.
Next, identify the owner of the Google account to be connected. For a business form, it is wiser to use a workspace the team can retain access to after a contractor or employee changes, rather than an individual's personal account. If a shared folder is needed, create it in advance, give process participants the minimum necessary access, and agree on who may change its structure. The integration includes the Root Folder ID setting; use it when files need to go not to the root of My Drive, but to a specific shared folder or shared drive.
Checking the Form, Server, and Retention Policy
The form should have a clear purpose. Do not require a visitor to attach a file when the needed information can be collected as text. Every required attachment increases the likelihood of an incomplete submission, an upload error, and unnecessary personal data being retained later. If a document is needed only in some cases, use conditional form logic and show the file field only after the relevant response.
The accept field in advanced settings lets you limit file-type selection in the interface, for example application/pdf,image/jpeg,image/png. This makes selection clearer but does not replace full server-side validation or organizational rules. Do not promise visitors that a browser filter alone resolves every security issue. For a form involving sensitive documents, define a separate procedure for content checks, retention periods, and actions for mistaken submissions.
Before launch, it is also useful to check hosting limits and email notifications. Even when a file successfully reaches Google Drive, an email about the new submission may fail to arrive or may land in spam. WS Form recommends checking submission records and using properly configured SMTP email delivery if notifications are important to the workflow. Notifications themselves should not be the sole evidence that a file was received: confirmation is found in the form record and Drive folder.
Minimum Checklist Before the First Test
- Identify the folder owner and confirm that ownership does not depend on a temporary employee's personal account.
- Create a test folder rather than using a live archive containing real documents right away.
- Prepare two small test files with different names and permitted extensions.
- Confirm that the page publishes the correct form, not an older copy in the editor or page builder.
- Agree on access rules: who opens attachments, who deletes mistaken uploads, and where the decision on a submission is recorded.
After this preparation, installation stops being a risky attempt to "connect it and see." You already have test data, an expected folder, and a clear success criterion. This is especially important for forms placed on a promotional page: there, an error rarely looks like a technical problem. More often, it appears as a lost submission, a delayed customer response, or an inability to determine who a found file belongs to.
Section takeaway: WS Form Google Drive is best configured around one verifiable route. The field, path, folder, record, and access permissions should be defined before real visitors see the form.
WS Form Google Drive Setup Video
This video supplements the guide: a product video. Open it after the basic setup to compare the interface and sequence of actions.


