tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

When a Contact Form 7 form is submitted, upload the file to Google Drive

When a Contact Form 7 form with a file field is submitted, this workflow uploads the attached file to a Google Drive folder, so uploads are kept in Drive instead of only in email.

Contact Form 7 Google Drive

2 steps Setup ~5 min Used on 2.5k sites Free to import

The When a Contact Form 7 form is submitted, upload the file to Google Drive workflow on the FlowMattic canvas, with 2 steps across Contact Form 7, Google Drive
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Contact Form 7 can accept file uploads, such as CVs, photos or documents, but those files usually reach you only as attachments on the notification email. Saving each one to a shared folder by hand is tedious, and files go missing in busy inboxes. This workflow puts each uploaded file in Google Drive when the form is sent.

The Contact Form 7 trigger fires on a new form submission. FlowMattic picks up the submitted fields, including the file field, and passes them to Google Drive. The Upload a File action places the file in the folder you select in your Drive.

Your form needs a file field for this to work, and you map that field into the Google Drive step. Send a test submission with a file after import and check the folder, since how the file reaches the step depends on your form setup. Task History shows each run and any error Google Drive returned.

Job applications with CVs

Candidates attach a CV to a Contact Form 7 careers form. Each file lands in a hiring folder in Google Drive that the whole team can open.

Photo submissions for a contest

Entrants upload a photo through the form, and every entry is collected in one Drive folder ready for judging.

Client documents for a service business

An accountant's site asks clients to upload receipts or statements, which are stored in Drive instead of piling up in email.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    Contact Form 7 New Form Submission

    Starts a run for every Contact Form 7 entry sent from your site. The submitted fields, including any file field, are passed to the Google Drive step.

  2. Step 2Action
    Google Drive Upload a File

    Uploads the file to the Google Drive folder you select. Map the form's file field into the step, connect your Google account on import, and confirm with a test upload.

What you need

  • FlowMatticCore
  • Contact Form 7 PluginPlugin
  • Google Drive AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Make it yours

Changes worth making after you import it.

  • Add a Filter after the trigger that continues only when the file field is not empty, so submissions without an attachment don't produce Drive errors.
  • Add a Google Sheets step after the upload to log the sender's name and email next to the file, giving you an index of everything in the folder.
  • If you run several Contact Form 7 forms, test each one to confirm which of them start this workflow before you rely on it.

Questions about this workflow

Does my Contact Form 7 form need a file upload field?

Yes. The workflow uploads the file a visitor attaches, so the form must include a file field for there to be anything to send to Drive.

Does Contact Form 7 still email me the attachment?

Yes. The workflow does not change the form's mail settings, so your usual notification and attachment arrive as before.

What if a Contact Form 7 submission has no file attached?

The Google Drive step has nothing to upload and may return an error, which Task History shows. A Filter on the file field avoids that.

Can uploads go to a shared Google Drive folder?

You pick the folder in the Google Drive step. Choose a folder your connected Google account can write to, and run a test to check the file appears.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

An excellent replacement to Zapier with unlimited tasks and full control over data. Customer service is fantastic! Have had hands-on support from owner who is ultra helpful and they have even been integrating new SAAS options continuously.

Brad

It's an exceptional product. Works great and extremely valuable. I saved thousands of dollard on Zapier, as Flowmattic makes me able to host the automation myself. And very deeply integrates with the products I need.