1-click Create Note from an Activity Comments

Thanks David. Where I am stumped is how do I take the text out of the Activity Comment and use that text to populate the Note Body. Also - how do I ensure that the new note is related to the correct Parent Id for the Note?