Delete a document
This action allows you to delete document from a Firestore collection.
Inputs and Settings

Document ID
The ID of the document you want to delete.
Collection
The name or ID of the collection the document you want to delete is stored in.
Trigger ID (optional)
This will link the action with a Action Listener of the same ID.
If left blank, all listeners on the page with blank ID's will be triggered at the same time, so we suggest to always define a Trigger ID.
When the function finishes running, it will trigger the Document Deleted event.
Triggered events
Those events are triggered by an Action Listener with the same ID as the Trigger ID provided on the action.
Document Deleted (if the action was successful)
Error in Action (if an error occurs)
Stored values on the listener
Error Message
If an error occurs, you can check its details on this state on the action listener.
Last updated