How to Upload Multiple Files to Google Drive from Webflow on Make.com

Have you ever found yourself in a situation where you need to upload multiple files to Google Drive from a form on Webflow, but only one file gets uploaded? Well, you're not alone. This is a common challenge that many Make.com users face. But don't worry, there's a solution to this problem.

Understanding the Problem

The issue arises when you have a form that allows for the upload of multiple files. The webhook takes these files and uploads them to Google Drive. However, only one file gets uploaded. This can be quite frustrating, especially when you have tried several suggested solutions online, but nothing seems to work.

The Solution

The solution to this problem depends on how the files are coming in. If the files are coming in as an array of buffers, you can use an Iterator on that array to cycle through each file and upload it. If the files are coming in as an array of URLs, then you can use an Iterator, followed by an HTTP Get a File, followed by the Google Drive upload file module.

Step-by-Step Guide

  1. Add an Iterator somewhere after the module that receives the files.
  2. In the Iterator, select the files array which is inside the fileToUpload collection. This gives the Iterator access to each collection in the files array.
  3. The Iterator will cycle through each collection and from each collection, you'll need the data buffer (the file) and the name of the file.
  4. Supply the data buffer and the file name to the Google Drive module.

Troubleshooting Tips

If you're still having trouble, make sure you're using the Iterator and not the Array Aggregator. Also, note that every step after the Iterator repeats itself depending on how many files are uploaded. So, it's best to move the Iterator to the end and have the Google upload module after it.

Conclusion

Uploading multiple files to Google Drive from a Webflow form doesn't have to be a headache. With the right steps and tools, you can easily overcome this challenge. Remember, the key is to use an Iterator to cycle through each file and upload it to Google Drive. Happy uploading!

You do have further questions?

Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.