Where are SharePoint Online templates stored?
When a document or form library has a default file template, it is stored in the Forms folder of the library. Open the library in File Explorer to see the Forms folder which contains the file template for the library.
Where are site templates stored in SharePoint online?
The solution that you create is stored in the solutions gallery for the SharePoint site collection. Once you save the template, a solution file (. wsp) is created and stored in the solutions gallery where you can download or activate the solution.
How do I create a form in SharePoint workflow?