Is there any way to implement memory in Flows

Hi, I want to make a conversational flow using crewai Flows is there any way to implement memory like in Crew object we assign memory but for flows do we have any such solution?

Please note :- I am not running crews with flows just calling methods which have both agent and task under it and it executes the task and returns the result.

Flows have state which you can persist otherwise you would have to save your conversation messages in a databases and fetch them on every flow iteration.