Sync CSV file structure from Box to Salesforce

Document/FileMarketingRecipe ToolsCRMCollaborationSales Enablement

What it does

When a new CSV file lands in Box, this automation reads each row and syncs folder structure to Salesforce. Someone can then access organized files through Salesforce without manual folder setup.

Who it's for

Sales operations teams who need to keep Box folder hierarchies in sync with Salesforce records.

How teams use this

Organize deal files by folder hierarchy

CSV rows define parent and child folders for each deal. The automation creates the structure in Box and links it to Salesforce so files stay organized without manual folder creation.

Bulk import folder structure from spreadsheet

Upload a CSV with folder names and parent IDs to Box. The automation processes all rows in one batch and syncs the entire hierarchy to Salesforce at once.

Notify Slack when folders are created

Add a Slack step after folder creation to send a message to a channel with the folder name and Salesforce record link. The team stays informed as the structure grows.

How it works

  1. Detect new CSV file in Box. A new CSV file arrives in a Box folder. This automation extracts each row and processes it to create or update the corresponding folder structure.
  2. Search Box for existing folder. Search Box for a folder matching the parent folder ID from the CSV row. If the folder exists, use that ID; if not, proceed to create a new one.
  3. Create folder and wait for sync. Create a new folder in Box when the parent does not exist, then pause briefly to ensure the folder is ready before updating Salesforce.
  4. Update Salesforce with folder ID. Update the Salesforce record with the Box folder ID so the sales team can link files and folders from both systems in one place.