Add a link to an existing Apple Note to a Calendar Event

Hi

I have an Apple note for a meeting. Now I would like to add a link to the note to the calendar event. I have a shortcut in keyboard maestro, which extracts the url to an email so that I can paste it in the event - is there something similar I can do for the note?

Forgotten: on macOS.

Just found a workaround at https://www.reddit.com/r/shortcuts/comments/ckb9yo/add_link_to_apple_note_to_the_notes_section_of_a/evowraw/

Effectively, sharing it with myself and copying the link.

Would be nice, if one could do this in a shortcut for iOS and in keyboard maestro? Suggestions?