I ma using Redis chat memory, when i use then get history from redis node the most recent messages are last in array and the odlest ones at the end of history, is it normal? Is there a way to configure it other way?
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
this is indeed the standard chronological order of retrieval from Redis. The easiest fix you can apply is to add a “Sort” node after your Redis memory node to reverse the array and put the latest message first.
Thanks, I as just wandering if I did not messed up with settings, by the way if I use standard “Redis chat memort: node is there a way to add timestamp?
No, the standard “Redis Chat Memory” node in n8n does not have a built-in option to add or retrieve timestamps. This is a recognized limitation, and a feature request for it exists in the community.
A practical workaround is to store the conversation history and the current timestamp in a separate data field (something like in the same Redis key or an external database) before or after the memory node’s operation.