This is an example how to create a Power Automate Flow that writes to SharePoint. It uses MS Teams to get the approval. The approval is triggered when a new Form is submitted. If it is approved it then notifies the user of approval and writes the line item to SharePoint.
There are many learning opportunities here to see each stage and how it works with Power Automate.