function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karla Pliego 3Karla Pliego 3 

Architecture for 200 email alerts


We have 200 email alerts, some are immediate and some are time dependent. We have 20 locations that require about 30-40 of those email alerts to trigger at different time intervals or have different email templates. Therefoer only about 160 alerts are consistent across the 20 locations. We need to design a way to build these email alerts in a way that is scalable. We add locations each month and need to find a way to implement the consistent alerts and be able to create the ones that differ. 

We had them setup as workflows but we reached the limit quite fast. We then started using process builder but the system is super slow and it was really hard to recreate 200 workflows and then trouble shoot them,. Each time something conflicted it stopped our entire system. 

Any ideas on how to build a system that is scalable? Do we need to go the apex code route? 


Aman MalikAman Malik
Hi Karla,
I would encourage you to post this question on success community as it is related to Architecture design. This community is primarily for coding related stuff.