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
aparna d 1aparna d 1 

Send attachments along with email when case is closed

Hi Everyone,
I have requirement ,if Case Record has .csv file attached, we need that file to attach to the email template when the record is set to closed. Can  anyone please suggest how can we attach case files to email template.
SubratSubrat (Salesforce Developers) 
Hello Aparna ,

You can create a Record Triggered Flow on Case object and when the record is set to close call this apex action .

Requesting you to follow this link -> https://patlatus.wordpress.com/2015/06/16/salesforce-send-email-with-file-attachments-in-csv-format/

Hope it helps !
Thank you.