Hazel with Apple Notes Help

Hey,
I’ve learned a bit since the last time.
I can address subfolders like this:
make new note at folder “Bills” of folder “private” with …

And I have to add to the make attachment line this:
… as POSIX file
Now it makes a note in the right folder with the attachment! Yeah!

But I have two more things, I want to achieve:

  1. I’d love to have the name/title of the note formatted as “title”. It should work with html-code like < h1 > title < /h1 >. But I don’t know how to aggregate the name and the html-code.
  2. The pdf in the note always has a huge empty space before it (see in the picture). How can I get rid of it?
    Thank you!