The Document Delete node deletes specified workspace documents. When performing batch deletions or handling high-risk documents, we recommend pairing this node with manual intervention steps, such as the Pause and Resume node, to keep the process under control.
This node is suitable for:
- Cleaning up expired content (to avoid subsequent processes/AI referencing outdated materials)
- Compliance/privacy deletion requests (more reliable when combined with approval and audit)
- Automatic cleanup of temporary data upon expiration (data minimization)

Configuration
After adding the "Document Delete" node to the canvas, click the node and configure the following settings in the right-side configuration panel:
Document (required)
Specifies the workspace document to be deleted.
- Click the "+" button to select the workspace document to delete;
- Or use "Variable/Expression" to enter the document path/ID (supports variable insertion).
Error Handling
Configure the error handling strategy for the node. If a critical error occurs during execution that prevents the node from producing output, the configured strategy will be applied to avoid interrupting the entire Workflow.
Remarks

Usage Examples
Example 1: Expired Document Cleanup (Content Governance)
Scenario: After policy, script, or process documents are updated, old versions need to be deleted to prevent subsequent processes from continuing to reference outdated standards.
Workflow example (simplified):
- Locate the old version document (specific document ID/path/name determined by upstream nodes)
- Document Delete node (select the old document)
- Notify and log: Record "Old version cleanup completed" in the Workspace or system logs. (Optional)
Example 2: Compliance Deletion (Manual Approval Recommended)
Scenario: You receive a privacy deletion request that requires human approval and an auditable process.
Workflow example (simplified):
- Submit a deletion request (via a form or ticket).
- Pause the workflow to wait for manual approval. (Recommended)
- The Document Deletion node removes the document.
- Write the result back to the ticket or notify the requester. (Optional)
Leave a Reply.