Unzip the archive that @hello provided. When you do you will get a folder named NotesKM. Place the folder anywhere you like, but note the location.
Then after installing and enabling the macro that I provided (named Text to Notes), move to the bottom portion of the macro where you will see the orange-colored Set Variable to Text action (local_Folder). Change that value from ~/Documents/Automation/_Keyboard Maestro/ to the folder path where you placed the NotesKM folder. (Note that ~ represents you Home folder, e.g., ~/Documents is your personal Documents folder.)
Note: If you follow the above instructions, you will not need to run the chmod +x notes.sh command.