Anyone automating Bear _on the Mac_?

I have a text document that I want to import to Bear, but I want it to end up just as a regular note in Bear, not as an attached file.

Bear has an x-callback-url scheme on the Mac, but it seems to choke on any amount of text over a few lines.

Anyone know how to make this work?