This is so cool!
I’m a heavy Alfred user, and I’ve made a similar workflow for it. I’m now working on version 3 of my Obsidian Utilities.
I was excited when I first heard of Raycast a couple of months ago, but I simply didn’t take the time so see if it could replace Alfred for me.
Will give it another try.
Cheers!