Zep Memory icon

Zep Memory

Interact with Zep AI Memory Service

Actions20

Overview

This node integrates with the Zep AI Memory Service to manage sessions, users, collections, documents, and memory data. Specifically, for the Session - Delete operation, it deletes a session identified by its unique Session ID from the Zep service.

Use cases include:

  • Removing obsolete or expired sessions to maintain clean state.
  • Managing user sessions programmatically in workflows that require session lifecycle control.
  • Automating cleanup of session data after processing is complete.

Example: Automatically delete a session after a conversation ends to free resources or comply with data retention policies.

Properties

Name Meaning
Session ID The unique identifier for the session to be deleted

Output

The node outputs JSON data representing the response from the Zep API after attempting to delete the session. This typically includes confirmation of deletion or error details if the operation failed.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the Zep AI Memory Service.
  • The node uses the base URL and API key from these credentials to make HTTP requests.
  • Proper configuration of this API key credential in n8n is necessary before use.

Troubleshooting

  • Common issues:

    • Invalid or missing Session ID will cause the API call to fail.
    • Incorrect or expired API key credential will result in authentication errors.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "Unauthorized" or similar indicates invalid API key; verify and update credentials.
    • "Not Found" suggests the Session ID does not exist; confirm the correct ID is provided.
    • JSON parsing errors may occur if metadata or other JSON inputs are malformed (not applicable here but relevant for other operations).
  • To resolve errors, ensure all required parameters are correctly set, credentials are valid, and the Zep service is reachable.

Links and References

Discussion