QuickAdd Plugin

Is it possible to delete the entire content of a note using the QuickAdd or Obsidian API? I’m trying to replicate something like this post, except I don’t want to use Templater. I want to use a QuickAdd template.