Overview
The WeeDB Data Delete node is designed to delete a specific data entry from a WeeDB database by its ID. This node is useful in workflows where you need to programmatically remove records from your WeeDB instance, such as cleaning up outdated entries, handling user deletions, or automating data lifecycle management.
Example use cases:
- Automatically deleting user data upon account removal.
- Cleaning up temporary or expired records in a scheduled workflow.
- Removing test data after QA processes.
Properties
| Display Name | Type | Description |
|---|---|---|
| ID | String | ID to Delete. The unique identifier of the record you want to remove from WeeDB. |
Output
The node outputs a JSON object containing information about the deleted item. The structure of the output will reflect the result returned by the WeeDB delete operation for the specified ID. Typically, this may include confirmation of deletion and possibly the details of the deleted item, depending on the underlying API.
[
{
"item": { /* Details of the deleted record or confirmation status */ }
}
]
Dependencies
- WeeDB Connection: Requires valid credentials for a WeeDB database connection (
weeDBConnection). You must provide the correctdatabaseIdin your n8n credentials configuration. - WeeDB Node Module: Relies on the custom WeeDB library/module bundled with the node.
Troubleshooting
- "Failed to initialize WeeDB":
This error occurs if the node cannot establish a connection to the WeeDB instance. Ensure that yourweeDBConnectioncredentials are correctly configured and that thedatabaseIdis valid. - Invalid or Missing ID:
If the provided ID does not exist in the database, the delete operation may fail silently or return an empty result. Double-check that the ID is correct and exists in your WeeDB instance. - Credential Issues:
If credentials are missing or incorrect, the node will not be able to connect to WeeDB. Make sure the required credentials are set up in n8n.
Links and References
- n8n Credentials Documentation
- (If available) WeeDB documentation or API reference for further details on the delete operation.