Actions10
- Blocklet Actions
- Tag Actions
- User Actions
Overview
This node interacts with the Blocklet Service API to manage tags among other resources. Specifically, the "Delete Tag" operation allows users to remove a tag by its ID from the Blocklet service. This is useful in scenarios where tags are used to categorize or label entities and need to be cleaned up or removed when no longer relevant.
Practical examples include:
- Automatically deleting obsolete or unused tags as part of a cleanup workflow.
- Removing tags that were created by mistake or are duplicates.
- Managing tag lifecycle in content management or user categorization systems integrated with Blocklet.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the tag to delete. This is usually auto-generated but must be provided to specify which tag to remove. |
Output
The output JSON contains the response from the Blocklet Service API after attempting to delete the tag. Typically, this will confirm the deletion or provide details about the deleted tag. If an error occurs, the output may contain an error message describing the issue.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Blocklet Service API.
- The node depends on the
blockletServiceApiRequestfunction to communicate with the external Blocklet Service. - No additional environment variables are explicitly required beyond the API authentication setup.
Troubleshooting
Common issues:
- Providing an invalid or non-existent tag ID will likely result in an error from the API indicating the tag could not be found.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity problems can prevent successful API calls.
Error messages and resolutions:
"Not implemented tag action: deleteTag": This would indicate a misconfiguration or code issue; however, the code supports this operation, so it should not occur under normal circumstances.- API errors related to tag ID (e.g., "Tag not found") mean the specified ID does not exist; verify the ID before running the node.
- Authentication errors require checking the API key credential configuration.
Links and References
- Blocklet Service API Documentation (general reference for API endpoints)
- n8n documentation on creating custom nodes