Hi @Artem, the standard OpenAI node shown below does not have access to data from previous executions. You would need to store and retrieve such context outside of the OpenAI node.
You might, however, consider using the more advanced Langchain nodes instead. They will have additional option to retrieve context when needed. Check out the documentation at Tutorial: Build an AI workflow in n8n | n8n Docs.