Actions20
Overview
This node integrates with the Zep AI Memory Service, allowing users to manage various resources such as collections, documents, users, sessions, and memory data. Specifically, for the Document - Get operation, it retrieves a single document from a specified collection by its unique document ID.
Typical use cases include:
- Fetching stored documents from an AI memory or knowledge base for further processing.
- Retrieving specific content or metadata of a document within a collection.
- Integrating document retrieval into workflows that require contextual or historical data access.
For example, you might use this node to get a document containing user interaction history or reference material stored in a collection, then use that data downstream in your automation.
Properties
| Name | Meaning |
|---|---|
| Collection Name | The name of the collection where the document is stored. |
| Document ID | The unique identifier of the document to retrieve from the specified collection. |
Output
The output is a JSON object representing the retrieved document. It typically includes fields such as the document's content, metadata, and identifiers as returned by the Zep AI Memory Service API.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Zep AI Memory Service.
- The node configuration must include the base URL of the Zep service and a valid API key.
- Network connectivity to the Zep API endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing API key will cause authentication failures.
- Incorrect collection name or document ID will result in "not found" errors.
- Malformed JSON in optional metadata parameters (if used) can cause request failures.
Error messages:
"error": "Unauthorized"indicates invalid or missing API credentials; verify the API key."error": "Not Found"means the specified collection or document does not exist; check the names/IDs.- JSON parsing errors when providing metadata should be resolved by ensuring valid JSON syntax.
Links and References
- Zep AI Memory Service API Documentation (example link, replace with actual if available)
- n8n Documentation on Creating Custom Nodes