![]() However, Slack now recommends using the Bolt framework as it includes the functionality in those packages and more. Note: You may run across references to the Python, Node, and Java SDKs. The Bolt framework is available for Python, JavaScript, and Java. Bolt provides a web server to run your app, it sets up authentication with the Slack app, and it gives you simplified interfaces to work with all Slack APIs and features. You could use these APIs directly in your app, but luckily Slack provides a library to make your life easier: the Bolt framework. To interact with these APIs, you normally build an app using code in your language of choice. Secondly, Slack provides a series of APIs ( Events API, Web API, and more) that you can use to interact with the installed app. This is done through a UI, either manually or by copying a manifest.yml file, and no code is needed at this point. First of all, we need to define the app at in a Slack workspace that can later be distributed in various ways. When we create a Slack app, we really need to do two things. To see the app in action, watch this demo. Managers can approve or reject new travel requests from the message. On the other hand, Salesforce sends notifications in different cases, such as when a travel request submitted by the user has been approved or rejected, and when a new travel request needs the user’s attention. Or, if they want to see more details, they can click a button to view the record in Salesforce. ![]() Within Slack, they can approve or reject them. Managers can also see pending requests to review on the home page. Travel approvals reside in a Salesforce custom object.Įmployees can create travel requests from Slack using a global shortcut command.įrom the app home, users can see a list of the travel requests that they’ve submitted for approval. After giving it some thought, we decided to create a travel approvals app. We wanted to create a sample app that used Slack and Salesforce, and we wanted to showcase how to scaffold the app, how to implement the authentication with Salesforce, and different options for communicating in both directions - from Slack to Salesforce and from Salesforce to Slack. When we started to think about this project, several use cases came to mind.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |