Installing this app will store files uploaded from a Webflow form to Box. It
triggers on any form_submission
event from a form containing a file input named
File (the default Webflow file input name), retrieves the uploaded file from
Webflow, and then uploads the file to Box. If the form has an input named Name,
it will use the value of that input as part of the filename in Box.
Required Setup
Before using this app, you'll need to change a setting in your Webflow dashboard
that will allow the app to access uploaded files. Navigate to your Webflow site
dashboard and go to the Forms tab.
Scroll down to the Restrict uploaded file access section and set the toggle
to OFF –– Login is not required
. And that's it!
Changing the Destination Box Folder
For ease of installation, this app will upload files to the root folder in your
Box account. If you would like to use a different folder, install the app, and
once installation finishes, fork it to a sandbox. Open the sandbox and change
the boxFolderId
variable in functions/events/webflow/form_submission.js
to
the id of the desired Box folder:
// Box folder id, defaulting to the root folder. If you want to upload to a
// different folder, change this to the folder id found in the Box URL,
// e.g. 122813920533 for https://app.box.com/folder/122813920533
let boxFolderId = '0';
Deploy to a dev
environment, then press the Ship Release
button in the main
management page to create another versioned release of your project. You're all
set after that!
Thank You!
If you have any questions or feedback, please join the Autocode community Slack
channel from the Community tab in the top bar. You can also follow us on
Twitter, @AutocodeHQ.