Send an Email Alert when a file is attached to an Account - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Hilary HendersonHilary Henderson 

Send an Email Alert when a file is attached to an Account

Is there a way with workflows, flows or process builder to send an email alert when an file is uploaded to an account? When certain types of files are uploaded to our accounts we need to alert multiple teams. Currently our teams are supposed to email those that need it or post to chatter but they are often forgetting to do it. Is there a way to automate this? We'd want to filter when an alert is sent based on the file type/name and information on the account. 
Janaid IqbalJanaid Iqbal
Hi Hilary

You will not be able to do this through flows, process builder or flow. It can only be done through an apex trigger.

Many Thanks
Paras ShahParas Shah
Hello Hilary,

you can try creating a workflow or a trigger refer the link to a similar kind of scenarios 
1) Workflow approach https://success.salesforce.com/answers?id=90630000000CsDgAAK
2) Workflow & Trigger approach https://developer.salesforce.com/forums/?id=906F0000000AevbIAC

Hope It Helps..!
Thanks & Regards,
Paras Shah