I suppose you could use Joplin data API to periodically query notes created since the previous query.