Dear @grantjenkins thank you for this quick example. If i'm not wrong, it seems like you already created your MS Team in other flow then you selected the associated sharepoint site with MS Team when you reach "Create File" step.
If we want to make all this in the same flow, i mean you create a MS Team, then, the Create file etc.....In this case, we don't yet have the MS team and the associated sharepoint site. My question to you, is there possible to make dynamically?
Example : In the same flow :
1st : Create a team
2nd: Create folder in the MS team associated sharepoint site
3rd: Populate word document
4th: Create file in the folder (in step 2)
5th: Get file properties
6th: Post message in Teams.
Logically in my case, MS team will be create automaticaly when item is modified in certain sharepoint list. So i want that in the same flow, every time new MS team is created, new word doc will be created and post in the MS team associated sharepoint site.