Zep Memory icon

Zep Memory

Interact with Zep AI Memory Service

Actions20

Overview

This node interacts with the Zep AI Memory Service, specifically allowing management of users among other resources. The User - Update operation updates an existing user's information in the Zep system. It is useful when you need to modify user details such as email, name, or metadata after the user has been created.

Typical scenarios include:

  • Updating a user's contact information.
  • Adding or modifying metadata related to the user (e.g., partner IDs or custom user identifiers).
  • Adjusting instructions related to fact rating for the user.

For example, if a user's email address changes or additional metadata needs to be stored for integration purposes, this operation allows those updates seamlessly.

Properties

Name Meaning
User ID The unique identifier for the user to update.
Email User's email address.
First Name User's first name.
Last Name User's last name.
Partner ID Partner ID to be stored inside the user's metadata under partnerid.
User ID Meta Additional user ID metadata to be stored inside the user's metadata under userid.
Fact Rating Instruction JSON object containing instructions for fact rating, e.g., { "high": "Very important", ... }.
Metadata Additional metadata as a JSON object associated with the user.

Output

The output is a JSON object representing the updated user data returned from the Zep API. This typically includes the user's identifiers, updated fields, and any metadata stored.

The node outputs this JSON wrapped in n8n’s standard execution metadata format, associating each output item with its input index.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zep AI Memory Service.
  • The base URL for the Zep API must be configured in the credentials.
  • The node uses HTTP requests to communicate with the Zep API endpoints.

Troubleshooting

  • Invalid User ID: If the provided User ID does not exist, the API will likely return a 404 error. Verify that the User ID is correct.
  • Malformed JSON in Metadata or Fact Rating Instruction: Since these fields expect JSON strings, invalid JSON will cause parsing errors. Ensure valid JSON syntax.
  • Missing Required Fields: The User ID is mandatory; omitting it will cause the request to fail.
  • Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
  • API Endpoint Issues: Network issues or incorrect base URL configuration can cause request failures.

To resolve errors, check the error message returned by the node, verify all required parameters, and confirm the API credentials and endpoint settings.

Links and References

Discussion