Accessing the date a note is assigned

I’m working on a script is Shortcuts to create an OmniFocus project and tasks based on the actions identified in an Agenda note, exported as Markdown.

What I want to do is access the date assigned to a note when it is linked to a calendar event / meeting.

I’ve looked at the Markdown, and it’s not stored there. I had thought that using a x-callback URL might be the answer, but I can’t get that to work.

Does anyone know whether that date can be accessed, and if it can how?

Thanks in advance.

At the moment the x-callback-urls are only addressing the write-to-agenda side, we’d like to add the missing read-from-agenda side as well in future updates. At the moment the notes and their dates are not yet available for querying from outside the app I’m afraid.