I just implemented something very similar last week! I store the note in a Raspberry Pi which I can access anywhere. Also with iOS shortcut, I can easily send note to my Pi from my iPhone's clipboard.
I've been thinking about this approach .. but was unsure about how access from outside, or if I'm abroad even.