Actions21
Overview
This node integrates with the RetellAI API, allowing users to perform various operations on different resources managed by RetellAI. Specifically, for the Knowledge Base resource and the Delete operation, the node enables users to delete a knowledge base identified by its unique ID. This is useful in scenarios where outdated or irrelevant knowledge bases need to be removed to maintain an organized and efficient system.
Practical examples include:
- Removing deprecated knowledge bases after content updates.
- Cleaning up test or temporary knowledge bases created during development.
- Managing knowledge bases programmatically as part of automated workflows.
Properties
| Name | Meaning |
|---|---|
| Knowledge Base ID | The unique identifier of the knowledge base to delete. This is a required string input. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide error details if it failed. The output is structured as an array of JSON objects, each corresponding to an input item processed.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the RetellAI API.
- Needs an API authentication token configured in the node's credentials to authorize requests.
- The base URL for API requests is
https://api.retellai.com. - The node expects the "Content-Type" header to be set to "application/json".
Troubleshooting
Common Issues:
- Invalid or missing Knowledge Base ID: Ensure the ID provided exists and is correctly formatted.
- Authentication failures: Verify that the API key or token is valid and has sufficient permissions.
- Network connectivity problems: Check internet access and RetellAI service availability.
Error Messages:
- Errors returned from the API will be included in the output JSON under an
errorfield. - If the node is set to continue on failure, errors for individual items will not stop execution but will be reported per item.
- Common error messages might include "Knowledge Base not found" or "Unauthorized access," which indicate either a wrong ID or credential issues respectively.
- Errors returned from the API will be included in the output JSON under an
Links and References
- RetellAI API Documentation (hypothetical link for reference)
- n8n Documentation on Creating Custom Nodes