Sync multiple FormAssembly files to Box

DeveloperAPIUtilitiesCollaborationDocument Management

What it does

When FormAssembly sends a webhook with file paths, this automation extracts those paths and uploads each file to Box. Someone receives a job report showing which files were added.

Who it's for

Operations teams who need to move FormAssembly submissions into Box without manual file handling.

Apps used

How teams use this

Move form submissions to Box automatically

FormAssembly collects files and sends them via webhook. This automation extracts the paths, loops through them, and uploads each one to Box without anyone opening either app.

Route files to different Box folders

Add a condition in the loop to check a form field and send files to different Box folders based on department or submission type. The core upload flow stays the same.

Notify teams when uploads complete

Send a Slack message to a channel after all files land in Box, so the team knows the submission is ready for review. The file upload steps do not change.

Archive original files after sync

Set the FormAssembly submission status to archived once Box confirms all files uploaded successfully. This prevents duplicate processing and keeps the source system clean.

How it works

  1. Receive files via webhook. FormAssembly sends an HTTP webhook event with file paths when a new submission arrives in real time.
  2. Parse and prepare file paths. Extract file paths from the webhook payload using regex, then format them as an array so the loop can process each one.
  3. Upload each file to Box. Loop through the file path array and upload each file from its public URL into the Box folder so all submissions land in one place.
  4. Log the results. Send a job report message showing all files that were uploaded to Box and confirming the sync is complete.