If you've been following this eight-part series on moving from Process Builder to Lightning Flow, you'll find Post to Chatter very similar to last week's Email Alerts. That's one of the important things to understand with this series of lessons; what you're learning here can be used with any type of Lightning Flow you need to create.
Sending an Email Alert introduced you to Flow Actions. For the quick learners, Post to Chatter is also a Flow Action. Just search for Chatter in the Action search and it will show up. For the rest of us, let's walk through the steps.
We'll continue with the same use case we've been using where we have a custom field on our Account record called CSAT Rating. When the rating moves to Unsatisfied, we want to create a Chatter post.
To do this in Process Builder we'd:
Which type of Record-Triggered Flows should we use; the Before or the After? Ask yourself, "does posting a message on Chatter involve a different object than our Account record that triggers this flow?" If you answered yourself "Yes" then you are correct. Chatter Posts are stored in a different object than the Account record, therefore, we need to use the After Record Trigger Flow.
If you've been building these Flows as we've progressed through this series, you will already have your Decision element created. If not, watch the video and I'll show it there.
Let's build out the Post to Chatter Element in our Flow:
Hope you found this helpful. Don't forget to watch me build this on the YouTube video and download the cheatsheet. I greatly appreciate you subscribing to both this blog site as well as my YouTube channel. I try to keep the helpful tips flowing.
Next week will be the final post in this series and we'll be looking at Approval Processes. Not my favorite topic but it's an important one.