+ Start a Discussion
priyanka.mv26priyanka.mv26 

Integrate Slack and Salesforce

Which is best way to integrate slack and Salesforce for searching objects not supported via Salesforce Slack App. Most of the examples, I see it is the integration done via Heroku app for creating custom commands. 

What is the advantage of integrating via Heroku app. Is it possible for direct REST Web Service in Apex and invoke in from Slack?
ANUTEJANUTEJ (Salesforce Developers) 
Hi Priyanka,

>> https://slack.com/intl/en-in/help/articles/227838227-Salesforce-for-Slack#search-and-share-records

By default the integration allows you to search for records for few standard records you can check the details in the above article.

Additionally, I also found links for few implementations that you can check:

>> https://www.oktana.com/how-we-connected-salesforce-and-slack/

>> https://medium.com/@ccoenraets/slack-and-salesforce-integration-part-1-fc4510621038

>> https://medium.com/@ccoenraets/slack-and-salesforce-integration-part-2-a29584c85274

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.
priyanka.mv26priyanka.mv26
Hi Anutej, 

Thank you for sharing the details. However my actual question is What is the advantage of integrating via Heroku app. Is it possible for direct REST Web Service in Apex and invoke in from Slack?

Thanks!
ANUTEJANUTEJ (Salesforce Developers) 
I have not found any details or articles regarding the advantages but generally speaking, we would go for OOB tools then switch to an appon  appexchange if OOB tools do not satisfy or are not useful for your implementation and in case if there are no apps then in that case we go for building a custom solution.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.