Saving chatbot memory

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?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

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

Welcome to the community @Adriano_Queiroz !

Tip for sharing information

Pasting your n8n workflow


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.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.