Actions12
Overview
This node integrates with the Zep AI Memory Service to manage user data. Specifically, the User - Update operation allows updating an existing user's details such as email, first name, last name, and additional metadata. This is useful in scenarios where user information needs to be kept current, for example, updating contact details or enriching user profiles with extra metadata.
Practical examples include:
- Updating a user's email address after they change it.
- Adding or modifying metadata related to user preferences or settings.
- Correcting typos in user names.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user to update (required). |
| The user's email address. | |
| First Name | The user's first name. |
| Last Name | The user's last name. |
| Metadata | Additional user-related data as a JSON object, allowing flexible custom fields. |
Output
The node outputs a JSON object representing the updated user record returned by the Zep AI Memory Service API. This typically includes the user ID, updated fields (email, first name, last name), and any associated metadata.
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 API and the API key.
- Network access to the Zep API endpoint is necessary.
Troubleshooting
Common issues:
- Invalid or missing User ID will cause the update request to fail.
- Malformed JSON in the Metadata field can cause parsing errors.
- Network or authentication failures if the API key is invalid or missing.
Error messages:
"error": "User not found"indicates the specified User ID does not exist; verify the ID."error": "Invalid JSON"suggests the Metadata input is not valid JSON; ensure correct formatting.- Authentication errors usually indicate problems with the API key; check credentials.
To resolve these, ensure all required fields are correctly filled, JSON inputs are valid, and API credentials are properly configured.
Links and References
- Zep AI Memory Service API Documentation (example link, replace with actual)
- n8n documentation on Creating Custom Nodes