And with out-of-the-box Alfresco you have the solution. Simply create by content and then do "edit metadata"….
Or are there any other requirements / problems that you forgot to share? Please keep in mind that this forum can only provide the useful kind of advice/support if you explain your requirements, what steps you have already attempted and why something is not working to the best of your knowledge.