Zep Memory icon

Zep Memory

Interact with Zep AI Memory Service

Actions12

Overview

This node integrates with the Zep AI Memory Service to manage sessions, users, and memory data. Specifically, the Session - Update operation allows you to update an existing session's details such as associating it with a different user or modifying its metadata.

Common scenarios for this node include:

  • Updating session information in an AI-driven application where sessions track user interactions.
  • Modifying metadata related to a session to store additional context or attributes.
  • Associating a session with a new or different user ID after creation.

For example, if you have a chatbot that tracks conversations by session IDs, you can use this node to update session metadata dynamically based on user activity or system events.

Properties

Name Meaning
Session ID The unique identifier for the session to update.
User ID The user ID to associate with the session (optional; can be used to change session owner).
Metadata Additional metadata as a JSON object to store custom information about the session.

Output

The node outputs the JSON response returned by the Zep API after updating the session. This typically includes the updated session object with fields like session_id, user_id, and metadata.

The output is structured as an array of JSON objects, each representing the updated session data corresponding to each input item processed.

No binary data is output 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 API and a valid API key.
  • Network access to the Zep API endpoint is necessary.

Troubleshooting

  • Invalid Session ID: If the session ID does not exist or is malformed, the API will likely return an error. Verify the session ID before updating.
  • Authentication Errors: Ensure the API key credential is correctly configured and has sufficient permissions.
  • Malformed Metadata JSON: The metadata property must be valid JSON. Invalid JSON will cause parsing errors.
  • API Rate Limits or Network Issues: Temporary failures may occur due to rate limiting or connectivity problems. Consider enabling "Continue On Fail" to handle intermittent issues gracefully.

Links and References

Discussion