Create and link appointment and note at the same time


I like to use a combination of all day events in a separate calendar and notes in a special project in Agenda as a logbook for completed tasks.

I created the following shortcut:

On the Mac it works great! I start the Shortcut from Raycast with some short text and the event and note are created and linked just as expected. It needs the 1 second wait to work reliable, though.

However, the linking fails on iOS. I tried to mitigate using a longer pause, but it does not work. Waiting more then 3 seconds does not feel practical for me.

Did anybody have experiences with linking Notes to existing calendar appointments within Shortcuts for iOS?

Kind regards,