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.
#INSTALL SLACK WATCH APP CODE#
To interact with these APIs, you normally build an app using code in your language of choice.
#INSTALL SLACK WATCH APP SERIES#
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.
![install slack watch app install slack watch app](https://res.cloudinary.com/dukp6c7f7/image/upload/f_auto,fl_lossy,q_auto/s3-ghost//2018/03/Screenshot-2018-03-15-11.59.33.png)
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.
![install slack watch app install slack watch app](https://i.ytimg.com/vi/PKY_i7o0uf4/maxresdefault.jpg)
#INSTALL SLACK WATCH APP HOW TO#
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.
![install slack watch app install slack watch app](https://kinsta.com/wp-content/uploads/2019/10/message-from-anywhere-in-slack-2-1.png)
Examine which users are utilizing the most storage.Building a Slack app that integrates with Salesforce involves some challenges, such as knowing the right integration capability to use on each case, picking the right authorization flow, and implementing it securely. Assess message volume trends over time. Discover the most frequent users and their device usage. Report when and where your team members login. Index Slack metrics into Splunk for fast searching and reporting. Access key user and message data from Slack’s Web API. In the details tab, you can learn how to generate a Slack token for Splunk.įull documentation can be found in the README file within the app. Effortlessly track metrics including: where and how often your users are logging in, and storage usage by team member with ready-to-use dashboards. The Slack App for Splunk also provides prebuilt dashboards for Slack monitoring. Seamlessly monitor your team's Slack activity with the Slack App for Splunk! By leveraging Slack App’s modular inputs, messages generated in your public Slack channels are collected and indexed into Splunk, ready for reporting.