I want to save the chat memory and retrieve into an sql server database, but before that I want to also treat the data, so I would like to handle the chatbot memory by myself, through HTTP Requests.
So, I want to have an http request to get the chat information and then send it to the ai agent, how do I do that and make it so the ai agent uses it properly?
In order words I want to use sql server as the chat memory server. Since there’s not that option, I want to be a able to manage it by myself via an http request(would code the insertion to the memory and the get from the memory). The only thing I want is to understand what I need to give the Ai Agent for it to use the memory I’m sending to him
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
That implies to any JSON output you would like to share with us.
Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
Have you considered using Chat Memory Manager node instead of HTTP Request? It is specifically designed to work with memory data.