Actions14
Overview
The node allows updating an existing knowledge base in the Ragdoll AI platform. This operation is useful when you want to rename a knowledge base to better reflect its content or purpose without creating a new one. For example, if you initially created a knowledge base named "Product FAQs" but later want to change it to "Customer Support FAQs," this update operation enables that.
Typical use cases include:
- Renaming knowledge bases for clarity or rebranding.
- Correcting typos or errors in the knowledge base name.
- Standardizing naming conventions across multiple knowledge bases.
Properties
| Name | Meaning |
|---|---|
| Knowledge Base ID | The unique identifier of the knowledge base to update. This is required to specify which knowledge base will be renamed. |
| Name | The new name to assign to the knowledge base. This is a required string input representing the updated name. |
Output
The node outputs the JSON response from the Ragdoll AI API after performing the update operation on the knowledge base. This typically includes details of the updated knowledge base such as its ID, new name, and possibly other metadata returned by the API.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Ragdoll AI API.
- The node sends a PUT request to the endpoint
/v1/knowledge-bases/{knowledgeBaseId}with the new name in the request body. - The base URL for the API is configured via credentials.
Troubleshooting
- Invalid Knowledge Base ID: If the provided knowledge base ID does not exist or is incorrect, the API will likely return a 404 error. Verify the ID before running the node.
- Missing or Invalid API Key: Authentication failures will occur if the API key credential is missing or invalid. Ensure the correct API key is set up in n8n credentials.
- Empty or Invalid Name: The new name must be a non-empty string. Providing an empty name may cause the API to reject the request.
- Network Issues: Connectivity problems can cause timeouts or failed requests. Check network access to the Ragdoll AI API endpoint.
Links and References
- Ragdoll AI API Documentation (Assumed official docs for further details on knowledge base management)
- n8n documentation on Creating Custom Nodes