Automed Apple Notes Import

What I’m trying to do

Hi all,

I am new to Obsidian and like it a lot. However, I have some things I want to keep in Apple Notes. However, I would like to use the brilliant Importer plugin to backup my notes to Obsidian in an automated fashion. So I am looking to create a script, that imports AN into Obsidian in regular intervals. Triggering would be on shortcuts on some MacOS cronjob (not sure yet)/

Things I have tried

I tried following this. And was browsing Obsidian plugins. Not really sure where to start.

Thanks in advance!