Skip to main content
Question

Box Salesforce integration: Bulk creation of folders during object creation on migration

  • June 8, 2026
  • 1 reply
  • 19 views

So we’ve successfully created a flow trigger in salesforce which will create a box folder structure of 6 folders when a particular object has a new record created. It works fine with a user using the UI creates a new record, the flow trigger triggers, the 6 box folders will be created and associated with the corresponding record and is viewable by the user..

However, when I try to migrate in the 15-16K historical records (to which we also need those 6 box folders created, associated with the record, and viewable to users), Box seems to fall down, and will inconsistently create 0-6 folders for each record.

We’ve also tried to create an independent script to do the same thing and have it run after the fact once all the historical records have been migrated. It will run for a time but will eventually return  a 400 : Bad Request error and stop, restarting won’t allow it to finish, likely because of a partial record, which if you try to delete and restart, will run into commit issues.

Anyway has anyone run into this issue of trying to create a bulk folder structure en masse during a record migration process, and know what might the issue be, or have any idea about how to avoid or resolve the problem?

Thanks,

 Ryan

1 reply

Rona Box
  • Community Manager
  • June 9, 2026

Hi ​@Ryan L

Welcome to Box Community, and we’ll help migrate your contents through the Box integration with Salesforce. 

 

In order to assist in migrating your historical records in Box for Salesforce we will submit a support case. With this, a member from the Box Product Support team will reach out to you in private (email). 

 

Thanks for posting, and we hope to address this migration query very soon!