Actions12
Overview
This node integrates with the Zep AI Memory Service to manage user, session, and memory data. Specifically for the Memory - Delete operation, it deletes all stored memory associated with a given session ID. This is useful when you want to clear conversation history or reset the memory state of a particular session.
Common scenarios include:
- Clearing chat history for a specific session to start fresh.
- Removing sensitive or outdated information from memory.
- Managing storage by deleting unused session memories.
Example: Deleting memory for a chatbot session after the conversation ends to ensure no residual data remains.
Properties
| Name | Meaning |
|---|---|
| Session ID | The unique identifier for the session whose memory you want to delete. |
Output
The output JSON contains the response from the Zep AI Memory Service after attempting to delete the session memory. Typically, this will confirm whether the deletion was successful or provide an error message if it failed.
No binary data is output by this operation.
Example output structure (simplified):
{
"success": true,
"message": "Memory deleted successfully"
}
or in case of error:
{
"error": "Session not found"
}
Dependencies
- Requires an API key credential for authenticating with the Zep AI Memory Service.
- The node makes HTTP requests to the configured base URL of the Zep API.
- Proper configuration of the API key and base URL in n8n credentials is necessary.
Troubleshooting
Common issues:
- Invalid or missing Session ID: The node requires a valid session identifier; otherwise, the API call will fail.
- Authentication errors: Ensure the API key credential is correctly set up and has permissions.
- Network or connectivity problems: Verify that the Zep API endpoint is reachable from your environment.
Error messages:
"Session not found": The provided Session ID does not exist. Check the ID for typos or confirm the session exists."Unauthorized"or"Authentication failed": The API key is invalid or missing. Reconfigure the credential.- Other HTTP errors: Review the error message returned and verify request parameters.
Links and References
- Zep AI Memory Service Documentation (example placeholder link)
- n8n HTTP Request Node documentation for understanding API calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/