Flow Actions

Delete Attachment

Introduction

This action lets you disconnect a file/folder from a Salesforce record.

In this guide, we will see how to use this flow action in your flows.

1 - Add Delete Attachment Action to your Flow

In your flow builder, search for the element named "Delete Attachment". You can also find this action in the CloudFiles category when you click "action" element in "Add Element" box. Select the action to insert it into the flow.

Document image


2 - Configure parameters

Please configure following parameters after inserting the flow action

  1. Library - Library of the attached file/folder. For example - sharepoint
  2. Resource Id - Id of the file/folder
  3. Resource Type - One of file or folder
  4. Salesforce Record Id - Id of the Salesforce record where the file/folder is attached



Document image