If you import a data file into workbench for querying or attempting to load into Salesforce, is it stored anywhere outside of Salesforce that may need to be purged?

1 Answer 1


The workbench is written in PHP. As such, uploads and downloads will be temporarily stored in various files stored on the workbench server. These files will be automatically purged periodically, and, as far as I can tell, can't be leaked across sessions.

Technically, this may violate some IT or legal policies regarding data retention, even though this data will never be accessible to another user, authenticated or not, and will not be permanently retained anywhere outside of Salesforce. If that applies to your situation, you can always clone the forceworkbench repo and host your own copy that complies with whatever regulations or policies you need to.

  • Thank you, SFDCFOX! Do you know where I can get more information on the purging schedule? Commented Dec 15, 2021 at 19:23
  • @KevinBoyle It's not a scheduler, exactly, just a PHP thing. Most files will be purged immediately after use, but should definitely be purged no more than 30 minutes after upload if the session is abandoned (e.g. no activity for 30 minutes, or within 30 minutes log closing browser/logging out).
    – sfdcfox
    Commented Dec 15, 2021 at 20:38
  • Thank you, sfdcfox! Commented Dec 15, 2021 at 21:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .