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
Ankit Garg 117Ankit Garg 117 

Apex Class for Slack

Hi,

I have a custom field (Picklist) called ''BC Onbparding Stage''. I want whenever ''BC Onboarding Stage" is = ''IT Details Received", it Post a message to Slack. 

I have created a Slack Channel called bc-onboarding-alerts and the Bot name is bc_bot

Please help :)
SwethaSwetha (Salesforce Developers) 
HI Ankit,
The below articles will give a skeletal picture so that you can customize accordingly for your requirement:

https://developer.salesforce.com/blogs/developer-relations/2016/05/slack-salesforce-integration.html

Note: Below are not salesforce official documentations:
http://coenraets.org/blog/2016/01/slack-salesforce-integration/
https://medium.com/zerion-engineering/stream-financial-data-to-slack-from-salesforce-code-included-7526458507c7
https://appexchange.salesforce.com/listingDetail?listingId=a0N3A00000EFo7gUAD

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.

Thanks