Launch a Quick action from a command Inside a template

Hello.
I have a Templater template whose sole purpose is to search inside the note, from which it is lauched, a tag and if it find the tag, it insert a sentence inside the same note.

Currently, I launch this template from Quick actions, “Templater: Open Insert Template Modal” when I am already inside the note I want to verify and Write.

I would run this Template, using a command or a Button, directly from the note without going to Quick Actions as I said above.

I tried to search some Solutions on the web but found nothing.

Maybe is there someone that know how to create this command to launch the Template?

P. S. I don’t have to create a new note but I have to analize the note I have Currently open.

Thanks in Advance!