#1MinuteTip #SalesforceSummer24 You can now add threading token in emails sent from Salesforce Flow. This can then be used in linking email replies to the correct record.
If the related record is a case, Email-to-Case processes email replies automatically. Salesforce now also supports threading for other types of objects. To process incoming emails containing tokens that aren’t cases, create an Apex Email Service and use the EmailMessages.getRecordIdFromEmail function to find the record that matches the token.
Product Area: Salesforce Flows
In the Send Email Action in Flow, choose to add the threading token to the email subject or body. And then, be sure to include a Related Record ID.
The threading token will be included in email body or subject as specified in the Flow
References & Useful URLs
- For Related Summer ’24 Release Note Article – Click Here
Want to Receive these Tips in your Inbox?
Finding it overwhelming to keep pace with Salesforce’s new release features? Try our “1 Day 1 Tip 1 Minute” emails, where you are going to get 1 tip every day that won’t take more than a minute to read. To find out more and subscribe please click here.
I activated it but it does not put any ThreadingToken into the mail. We use a lightningt template. Are there any other details we need to consider?
Hi Kris, I haven’t tried this with a Lightning email template. Can you try sending the email without the template and check if the threading token is added? If that works, it might be best to reach out to Salesforce support to understand why it’s not working with the email template.
Can the threading token be made invisible in the email ui to the end user?
Hi Bishwajit, to the best of my knowledge, I don’t think the threading token can be made in visible in the email.