Actions16
- Conversation Actions
- Todo Actions
- Fact Actions
- Location Actions
Overview
The node named "BeeAI" allows users to interact with the BeeAI API, which provides AI-powered features related to different resources such as Conversations, Todos, Facts, and Locations. Specifically, for the "Fact" resource with the "Create Fact" operation, this node enables users to create a new fact by sending text data to the API.
This node is beneficial in scenarios where automated knowledge base entries or factual information need to be programmatically added to an AI system. For example, a user might want to add new facts to an AI assistant's knowledge repository or update a database of facts dynamically based on external inputs.
Properties
| Name | Meaning |
|---|---|
| Text | The content of the fact to be created. This is a required string input that represents the textual information of the fact. |
Output
The node outputs JSON data representing the response from the BeeAI API after creating the fact. This typically includes details about the newly created fact such as its ID, text content, creation timestamp, or any metadata returned by the API.
If the API supports it, the output may also include binary data, but based on the provided code and properties, the primary output is JSON-formatted data describing the created fact.
Dependencies
- Requires an API key credential for authenticating requests to the BeeAI API.
- The node sends HTTP requests to the base URL
https://api.bee.computer. - Proper configuration of the API key credential within n8n is necessary for successful operation.
Troubleshooting
Common Issues:
- Missing or invalid API key credential will cause authentication failures.
- Providing empty or invalid text for the fact may result in API errors.
- Network connectivity issues can prevent communication with the BeeAI API.
Error Messages:
- Authentication errors typically indicate problems with the API key; ensure the key is valid and correctly configured.
- Validation errors from the API may indicate missing required fields like the "Text" property.
- Timeout or connection errors suggest network problems or incorrect base URL configuration.
Resolving these usually involves verifying credentials, ensuring all required properties are set, and checking network access.
Links and References
- BeeAI API Documentation (Assumed official API docs for reference)
- n8n documentation on Creating Custom Nodes