Apple shortcut looses connection to note

Hello, i have created a number of Apple Shortcuts to quickly take me to a desired note (or set of notes)

what seems to happen is that if I dont use the shortcut frequently Apple Shortcuts cant find the note in Agenda (even if still specified in the Apple shortcut), instead the shortcut shows me a menu 50 (fairly random) notes to choose from in a random order (at least I cant figure out the criteria for showing a note or what order they are displayed in). I have many more than 50 notes in my Agenda.

thanks for helping in this, using Apple Shortcuts is a really helpful way fo rme to navigate to often used notes

I’m not 100% sure what is going on here. If you want something more stable, you may be able to use the note title to get it, and then open it.

When a note is moved between projects, it will get a new identity, so that could break your tool. But if you effectively search for the note, it should work better.

If the shortcut is not working for finding the note, let me know. You can also use x-callback-url in Shortcuts to try it.

We recently added new features for searching and editing notes using automations.

Drew

I couldn’t resist a possible linking issue. I just tested by copy link from note1, Create note 2 and paste that full url there. Move note 1 to a new project and repeat the process pasteing in the same note 2.

They do have different urls but go to the original note wherever its location. It appears to me to be similar to renaming something except with a url and keeping history of them.

@peter2 Would it be possible to add the url in the shortcut instead of the name?

You can possibley use the copy agenda link and paste when creating each shortcut or group.

Thanks Bruce and Drew for trying to help me out.

a couple clarifications:

i did not move the note (from to another project)

The Apple shortcut I created was using Agenda app shortcut, Open agenda note and the I simply selected the note from the list (the same behavour of “lost connection appears on my MacBook and my iPhone but not on my iPad where it works fine…..)

Question: using a callback URL will it work on all devices?

x-callback-url is works on all platforms, yes.

Still not really sure why it would fail. Perhaps an issue with the spotlight issuing. Using the title of the note is probably the most stable way to link to it.

update: i created a new shortcut and referenced the note titel and so fdar (13 days later - its still working), i couldnt get the old shortcut to work even if I editeted it (really weird)

Nice to hear! Title-based lookup is generally the most stable, glad it is holding up.