Actions8
Remover Documento
AI-generatedOverview
This node manages knowledge bases and their documents for ElevenLabs conversational agents. It supports operations such as creating, retrieving, updating, deleting knowledge bases, and adding, listing, or removing documents within those bases.
The "Remover Documento" (Remove Document) operation specifically removes a document from a specified knowledge base by its document ID. This is useful when you want to clean up outdated or irrelevant documents from your knowledge base to keep the data accurate and relevant for your conversational AI.
Practical example:
If you have a knowledge base containing product manuals and one manual becomes obsolete, you can use this node operation to remove that specific document by providing the knowledge base ID and the document ID.
Properties
| Name | Meaning |
|---|---|
| ID da Base de Conhecimento | The unique identifier of the knowledge base from which the document will be removed. |
| ID do Documento | The unique identifier of the document to be removed from the knowledge base. |
| Opções Avançadas | Collection of optional advanced settings (not used in this operation). |
Note: For the "Remover Documento" operation, only the first two properties are required and relevant.
Output
The output JSON contains the response from the API after attempting to remove the document. Typically, it includes:
success: A boolean indicating if the removal was successful.message: A confirmation message, e.g., "Documento removido com sucesso" (Document removed successfully).
No binary data is output by this operation.
Example output JSON:
{
"success": true,
"message": "Documento removido com sucesso"
}
Dependencies
- Requires an API key credential for ElevenLabs API authentication.
- Uses HTTP requests to ElevenLabs endpoints related to knowledge bases and documents.
- No additional external services beyond ElevenLabs API are needed.
Troubleshooting
Common issues:
- Providing incorrect or non-existent knowledge base ID or document ID will cause the API to return errors.
- Network connectivity problems may prevent the request from completing.
- Insufficient permissions or invalid API credentials will result in authorization errors.
Common error messages:
- "Not Found" or similar indicates the knowledge base or document ID does not exist.
- "Unauthorized" or "Forbidden" suggests invalid or missing API credentials.
- Timeouts or network errors indicate connectivity issues.
Resolutions:
- Verify the correctness of the knowledge base and document IDs.
- Ensure the API key credential is valid and has necessary permissions.
- Check network connectivity and retry the operation.
Links and References
- ElevenLabs official API documentation (for knowledge base and document management)
- n8n documentation on creating custom nodes and using HTTP request helpers