Add the text content of an email or pdf as a comment

I am trying to use Hazel to read the contents of a msg file or a pdf and to then copy the contents of the file and to add them as a comment - unfortunately this is not working for me - any ideas what i am doing wrong?
1. For the pdf I am simply asking it to ''Add comment' with pattern 'text content''
2. For the msg I am doing the equivalent 'Add comment' with pattern 'outlook msg content''
On the face of it this looks like Hazel is ready to do this out of the box. Any help gratefully received.
1. For the pdf I am simply asking it to ''Add comment' with pattern 'text content''
2. For the msg I am doing the equivalent 'Add comment' with pattern 'outlook msg content''
On the face of it this looks like Hazel is ready to do this out of the box. Any help gratefully received.