I personally set alerts with Due.app – you can see the basic script mechanism in the thread linked below:
Interaction with Notes or Reminders would also be possible. Can you show us a sample of:
- The notes and attributes on which you would like to base alerts
- a sample of the kind of alert that you would like to automate.
Not sure that I have quite grasped the connection between setting alarms and your reference to the Notes app, but again showing is always more eloquent than telling – perhaps you could show us an example ?