Delete
AI-generatedSummary
Removes a document or collection from Google Cloud Firestore.
Inputs
- path (required) — The path to the document or collection to delete. For example, 'users' to delete a collection or 'users/123' to delete a specific document.
Output shape
A success confirmation object containing the path of the deleted document.
If the node is configured to 'Continue on Error', an item containing an 'error' message is returned instead of failing the workflow.
Examples
Example 1: Delete a specific user document
Set Path to 'users/12345'.
Example 2: Delete all documents in a collection
Set Path to 'orders'. Note: This node deletes one document at a time; use a Loop node to delete all documents in a collection.