Deleting a Document
With Merge Connect for Agentforce installed in your org you can delete documents through an Agentforce conversation. This will require the Delete Files action to be added to your Agent's Topic.
- Navigate to an Object Record page.

- Select the Agentforce button on the page.

- The Agentforce Agent conversation window will appear.

- You can provide a prompt such as, 'Can you delete the document [document ID]'.

- The Agentforce Agent will tell you once the documents have been deleted.

- If the files you deleted are on the object record page you are on, then once you refresh the page you will see that the files were deleted.

- You can also search for the Recycle Bin in Salesforce.

- Here you can confirm that your files were deleted.

- Additionally, you can delete the files that you just generated.

- Then you can use a prompt such as 'Delete the generated document'.

- The Agentforce Chat will let you know that your file has been successfully deleted.
Note: To delete documents, we recommend using the following prompts:
Delete the documents we just generated.
Delete the [Template Name] document.