Welcome to the forums.
Now there many examples and templates you could find yourself by searching, which is preferred over asking us to simply do that.
Also, there are no details related to exactly what you want saved (there are many things related to planner tasks), you would get more a generic answer. As we are a teaching community, we are looking for folks to attempt the work they need, versus just coming here and asking us to do it for them.
However, below is a simple yet accurate example of what you want. As there are templates and samples you can find, I am simply documenting the steps, however you did not explain any details, I do not know if you need to do a 1-time load of existing (which is a different ask), or if you simply want a scheduled (daily) or automated (whenever X happens) to trigger your flow.
Each one of these written things maps directly to an Action that you can look up by searching for
Planner Connector
SQL Connector
1. Manual Flow
2. List all plans
3. Apply to each
inside the apply to each
--List all tasks
----Apply to each
-------inside apply to each
---------Get task details
---------SQL Action to either call a Sproc, passing data (which I recommend), or Simply adding to a Table using direct sql by adding a row)
that covers if you wanted to do a 1 time sweep
Now if you want it to be automated, its a little more tricky, because there are not triggers for everything that can happen, so you mostly have to use Scheduled to grab the tasks every (hour, day, month whatever) and inside you would do all th steps #2 onward once the flow triggered, its not different.
And that summarizes it in a nut shell (btw, what is that a Phrase, in a nut-shell.. i gotta look that up)
Cheers