Customers may observe that after deleting a file from Salesforce, the file is no longer visible in the UI but still exists in the underlying AWS storage.
This occurs because Salesforce removes only the reference to the file within the application, while the actual file stored in the external AWS S3 system is not automatically deleted.
This behavior aligns with how external storage integrations function, where Salesforce does not directly manage or delete files from customer-owned storage systems.
Since the files remain in AWS storage, customers can implement a custom cleanup process if required.
A common approach is:
This can be achieved through custom flow logic such as -
This approach ensures that files are cleaned up from AWS in alignment with deletions in Salesforce.
005318916

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.