Hello Team,
I have a rule engine where I want to send notifications when certain conditions are met. I already have pre-configured notifications in frappe. I want to enable the user to select which channels to use for each condition. To do this I can put check fields e.g. use email, use sms etc for various channels in my rule doctype then I can also put condition in Notification to check which ones are active.
However, I would be hard coding the channels in my doctype. For Instance, if we later installed whatsapp or telegram integration, I would need to manually add new check fields to accommodate them.
Is there a method to automatically discover available notification channels in frappe which I can use to dynamically create check fields, or I am stuck with hard coding them.
Any pointers are much appreciated.