1. A method comprising: receiving a target customer relationship management (CRM) opportunity from a social customer relationship management application; extracting one or more structural elements from the target CRM opportunity; extracting one or more structural attributes of each structural element responsive to extracting the one or more structural elements; storing the one or more structural elements and the one or more structural attributes associated with each structural element in a template database; and creating a template from the one or more structural elements and the structural attributes in the template database.