This is a blatant copy from Ellis's excellent post here. He really did a great job of laying this out and documenting a Power Automate flow in a way that can be readily copied/applied. The only issue being that the new Power Automate experience of course doesn't quite treat JSON blobs the same and you need to do a minor adjustment.
However, it is worth understanding how to get some of the additional details out of a SharePoint list (like Version History) and to include it in a way that can be exported/archived as items age out of a process.