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
ApexDevApexDev 

How to save emails on Case record which were sent from Flow?

Hi! :) 

Is there any way to save emails on Case record which were sent using Flow?

Now they are saved when User send the email directly from Case. I want to make automatization which will send email and save email on Case record. Thanks to that user can see what was sent to Customer. 
VinayVinay (Salesforce Developers) 
Hi Andzela,

Check below examples that can help you.

https://www.accidentalcodersf.com/2020/10/use-flows-to-track-unread-emails-on-cases.html
https://developer.salesforce.com/forums/?id=906F0000000kI2WIAU

Please mark as Best Answer if above information was helpful.

Thanks,
Zoe BlakeZoe Blake
Hi Andzela, did you get a solution? I am trying to save an email against an opportunity that is sent from a flow but I can't resolve it.
Thanks.
ApexDevApexDev
Hi Zoe, 

I created flow, which is send Email Alerts, and inside email template I added the ThreadID, but I am using Email-to-Case option. Next I added Single List component to Case layout with assigned emails.

Maybe just try to create flow with email alerts, and add the Email related list and email action on Opportunity page layout. 

Or other solution a littlebit workaround: On Opportunity object create lookup relation to Case, this field can be hidden for users. Create flow which will create new Case on Opportunity. Flow will send email alert to Case with Email-to-Case option. Then create Single list component using related records and Email list. 

I didn't try this solution, but maybe it can help :)