Hi Terry,
Yes, this is possible with pure declarative Flow, no Apex needed. Here's how it fits together:
Background:
Email-to-Case attachments are stored as ContentDocument/ContentVersion records, linked to the EmailMessage record via ContentDocumentLink (LinkedEntityId = the EmailMessage's Id), not as old-style Attachment records. Chatter posts (FeedItem) can't hold files directly either, they need a FeedAttachment junction record pointing to a ContentVersion.
Official reference:
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentdocumentlink.htmFlow structure:
1. Trigger: Record-Triggered Flow on EmailMessage (After Save), or continue from wherever your current flow starts (Case creation via Email-to-Case).
2. Get Records: query ContentDocumentLink where LinkedEntityId equals the EmailMessage's Id. This gives you the ContentDocumentId(s) of any attachments on that email.
3. Get Records: query ContentVersion where ContentDocumentId is In your collection from step 2, and IsLatest = true. This gets you the actual file version records you'll attach.
4. Create Records: create your FeedItem (Chatter post) as you're already doing, on the Case.
5. Create Records: for each ContentVersion found in step 3, create a FeedAttachment record with:
- Feed Entity ID = the FeedItem Id created in step 4
- Attachment Record ID = the ContentVersion Id from step 3
- Type = Content
This is exactly the declarative pattern documented for Flow-built Chatter posts with attachments. Reference (community-verified build with the same object structure):
https://developer.salesforce.com/docs/atlas.en-us.200.0.chatterapi.meta/chatterapi/quickreference_post_feed_element_content.htmOne sequencing note: the FeedItem must be created and its Id known BEFORE you can create the FeedAttachment, so make sure your Flow creates the FeedItem in a separate Create Records element (not bulkified together with FeedAttachment), then use the created FeedItem's Id in the following FeedAttachment creation step.
This works entirely with standard Flow elements, get records, create records, no Apex required.
I have recently enabled chatter on our experience site and have updated members on workspace to allow chatter tagging between internal and customer users, however, when a chatter notification(on bell icon) comes into the community, the users are not navigated to the post or the record by clicking the notification alert like how we do in salesforce(internally). This created some confusion for the community user to relate the chatter post to the record. What am I doing wrong? Please help.
Please note chatter is enabled and the users can communicate back and forth the only issue is when clicking the notification the eternal users are not directed to the post or the record on which the chatter was posted.
Thank you in advance.
#Experience Site #Community Cloud #Chatter #Sales Cloud
#Trailhead Challenges #TrailblazerCommunity #Salesforce #Customer Service
28 feb 2024, 15:53 I got it, I was missing the feed detail page on my community. Thank you.
Chatter on Reports and Dashboards
Did you know that with just a few clicks you can turn on Chatter for reports and dashboards? It makes collaboration easy and grounded in the right context.
https://www.freelikeapuppy.tech/post/chatter-on-reports-and-dashboards
@Admin Group, West Chester, US @Nonprofit User Group, Philadelphia, US @Nonprofit and Education MindShare @Admin Group, Philadelphia, US @Salesforce MVP Collaboration Space @MVP Office Hours (US)
#Chatter
3 jul 2025, 18:38 That's a great reminder @Julie Arnzen! I should probably even make an edit to the post to point that out.
Community,
I need your help! I am trying to get chatter to be used on the Lead object. I have it dropped into this lightning record page. When I change the type to global, it works fine but posts to "my followers" instead of the record obviously. BUT when type is set to record, it doesn't show up at all on the lightning record page. Only the feed feature is visible, not the publisher feature. What could I be missing?
Any help you have will be appreciated!!!
21 mar 2024, 13:06 I figured out the answer. In the Object Manager page layout, I had not included "question, poll, post" in the lightning and mobile actions options. I just dragged and dropped those and all was well! thanks everyone!
In Chatter, what configurations do I need to make so that users cannot delete each other’s posts?
Amplifying information: All users must be under the same Profile.
#Chatter #Chatter Topics #ChatterHello. I'm trying to complete this challenge "Collaborate with Feeds and Groups" but keep getting an error
Challenge not yet complete in Cunning Panda Playground
We can't find a Chatter post that includes an inline image.
I've tried multiple images and all of the suggestions I can find like switching to classic but still keep getting the error. I've used a new playground and an existing one and still get the error. Any suggestions?
4 abr 2024, 14:10 Hi @Christina R Armenta, I am from the Trailhead help team. We are glad that the issue is now resolved.
May I request you please mark the correct answer as Accepted Answer and close this thread so that it can be helpful for other Trailblazers as well who are facing the similar issue.
Best Regards,
Sathvika T
Trailblazer Help
Out of office
When I enable the out of office functionality on my user page , where will I be able to see the message?
On the chatter feed or the emails that I sent to the customers ?
#Sales Cloud #Email #ChatterHello i have created an aura component and which i am calling it from opportunity action button
and using these for chatter
forceChatter:publisher
forceChatter:feed
The problem I'm encountering is that when I input text in the publisher and wait for 5 seconds, the modal closes on its own. Furthermore, even when I click on "Share," the modal also closes. How can I troubleshoot and resolve this issue?
#Salesforce #Salesforce Developer #Salesforce Admin #Salesforce Developers #Lightning Aura Component #Chatter
22 feb 2024, 07:33 Hi @Ali Azam,
You can use Chrome DevTools to debug your client-side code.
To find which line of code is failing, enable the Pause on all exceptions option before running your code.
You can refer to https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/debug_intro.htm for detailed guidance on debugging.
Hope this helps you. Thanks
I have users that are requesting additional information be added the chatter email notification. They'd like to see (service Cloud) Job number, job name etc.
TIA.
29 feb 2024, 20:47 Hi @John Zeek,
I don't think you can customize chatter mail notification, however you have option to change notification preferences.
Thanks!
In my organization, the chatter setup is operational and functions correctly within the Chatter Application. However, I've noticed an issue where it is not updating properly on the tab next to the user details.
I would appreciate your assistance in resolving this matter. I have attached the screenshots for your reference.
Please guide possible solutions.
Thank you in advance.
Ajaypreet Singh Saini (Grantbook) Forum Ambassador
29 feb 2024, 15:30 Hey @Sangeethraj K P, seems like you have chatter feed component on the page layout but not the chatter publisher.
Make sure you edit the page and add that component.