Extract to specified heading with Note Composer

You can probably get everything you need from here: