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
Michael MMichael M 

How to "@mention" user in chatter post from Process Builder?

Hello, I have a process builder set up that posts a chatter notification to the Owner of the Lead when a certain custom field gets updated. How can I @mention that user in the body of the chatter post FROM process builder? The reason I need to do so is because I want the user to receive an alert (both a bell on the chatter and an email) when this chatter post gets posted?  FYI the person is always the User-Owner of the Lead record. Your help is greatly appreciated. 
Best Answer chosen by Michael M
AbhishekAbhishek (Salesforce Developers) 
Hi Michael,

You can go through the below blogs which might answer your query,

https://automationchampion.com/tag/mention-related-user-in-a-post-to-chatter-action-process-builder-salesforce/

https://jenwlee.com/2017/12/12/automate-chatter-post-that-mentions-several-users/

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.

All Answers

AbhishekAbhishek (Salesforce Developers) 
Hi Michael,

You can go through the below blogs which might answer your query,

https://automationchampion.com/tag/mention-related-user-in-a-post-to-chatter-action-process-builder-salesforce/

https://jenwlee.com/2017/12/12/automate-chatter-post-that-mentions-several-users/

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.
This was selected as the best answer
Michael MMichael M
This worked- i used the top link. thank you.