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
Glenn BalmonteGlenn Balmonte 

Help with Slack Integration

Hello Experts,

Just a newbie here. Do you have any resources where I can have a reference for Salesforce to Slack Integration. We want to integrate our Salesforce to Slack and based from the resources I found so far, this is for Opportunity Records only. Can you guide me in creating class where every time there is a record created, there will be post on Slack? 

Here is the link that I found:

Appreciate any response here. Thank you. 

Srinivas SSrinivas S
Hi Glenn,

Could you please try with an outbound message of workflow rule. Since only you need to push the information to slack and not expecting a response, it will be apt.

- Please mark as solution if your problem is resolved.
Glenn BalmonteGlenn Balmonte
Thanks for the response Srinivasa. Not sure if Outbound Message will work on this one as based on the requirements it should be done via Apex Class. 
buggs sfdcbuggs sfdc
Hey Glenn,

Even am working on the same req,i just wanted to post salesforce opp.stage and on slack, i follwed the each and every step as mentioned from Christophe Coenraets( bolg but some how am not able to post a message on slack.if you got a soution please help me out, how we can resolve this issue.

Thanks in advance!
Tony RuthTony Ruth
Hey Buggs, The post from Chris is awesome, and helped me get started. About a week later my team requested that I include month to date, quarter to date, and year to date metrics in addition to the latest deal that was closed.

I expanded on his foundation to include those extra details in this article I put together. Being a Salesforce noob myself, I tried to walk through it in a bit more detail. The code and steps are outlined in the blog article below

Blog post with code included below.

Hope it helps!