Saving conversational memory in Pinecone using Openai for each session

I have been able to successfully store the data into Pinecone by creating its embeddings, and I am even able to search for different queries related to that data. But I have a very specific use case.

I am hitting the queries using voiceflow. There, I take a query from a user, and it sends the query to my code, and then it retrieves a result. But now my requirement is that the voiceflow should store the memory of each session for different user and also stores that session in the vector database.

Is it possible to do so? If its can someone guide me how to get this job done?