One of my sessions at the SharePoint Saturday DC conference was about how to enforce governance by provisioning sites with workflow. The deck is posted earlier on this blog. This post is the code that was shown in the sessions. I plan on refining both the deck and the examples based on the feedback for the Microsoft SharePoint Conference in Oct so stay tuned for that update. I plan on incorporating even more governence controls into the web template example (last demo). All of this code is just sample code for your own reference… Not quite production quality or tested. The Southridge zip file contains the SharePoint Designer workflow action and site provisioned event handler. The other zip file is all the moving parts of the creation of site collections via an even receiver as well as the custom web template and its features.