Actions18
- Content Plan Actions
- Document Actions
- Tool Actions
Overview
The Delete Document operation for the "Document" resource in this custom n8n node allows users to delete a specific document from Nichesss.com by providing its unique identifier. This is useful in scenarios where you need to automate the removal of outdated, incorrect, or unnecessary documents from your Nichesss account as part of a workflow.
Practical examples:
- Automatically deleting documents after processing their content.
- Removing test or temporary documents created during automation runs.
- Cleaning up documents based on certain criteria (e.g., age, status).
Properties
| Name | Type | Meaning |
|---|---|---|
| DOCUMENT ID | String | The unique identifier of the document to be deleted. Required field. |
Output
- The output will typically be a JSON object indicating the result of the deletion request. This may include:
- A success message or status.
- The ID of the deleted document.
- Any error information if the deletion failed.
Example output:
{
"success": true,
"message": "Document deleted successfully",
"document_id": "yxz"
}
Note: Actual output structure may vary depending on the Nichesss API response.
Dependencies
- External Service: Requires access to the Nichesss.com API.
- Credentials: May require an API key or credentials configured in n8n under
nichesssApi. - Environment: Ensure that the base URL (
https://nichesss.com/api) is accessible from your n8n instance.
Troubleshooting
Common issues:
- Invalid or missing DOCUMENT ID: If the provided document ID does not exist or is empty, the API will likely return an error.
- Authentication errors: If API credentials are missing or invalid, you may receive authentication/authorization errors.
- Network issues: Connectivity problems between n8n and Nichesss.com can cause failures.
Common error messages:
"Document not found": Check that the DOCUMENT ID is correct."Unauthorized"or"Invalid API Key": Verify your API credentials in n8n."Missing required parameter: document_id": Ensure the DOCUMENT ID property is filled.