Calendar events and Omnifocus tasks

Hi there

I´m trying to set up a macro that does the following:

  • Search for calendar events that have some parameters (calendar type, start date, etc).
  • Return event name and start date/time
  • Create several Omnifocus tasks with the returned event name and start date/time.

I’ve built an iOS shortcut that does this perfectly, but can’t seem to get around it in MacOS.

Thanks in advance!