

There’s only one important point to remember: you must respond to Slack within three seconds. When your app receives the event from Slack, you can do anything you want: respond to the user, pop open a dialog to ask for more information, or simply store some information away in your database.


Photo by Stephen Phillips - .uk on Unsplash For example, a mouse pointer clicking on a link emits an onclick event a pointer linking over a piece of text emits onhover a keyboard keystroke emits onkeypressed and so on. Events in this context are defined as the actions a user takes on your website. If you’ve ever developed a front-end web app using JavaScript or CSS, you’re probably familiar with the basic tenets of event handling. In this post, we’ll continue building on that Slack app, focusing on how the Slack Starter Kit makes it easy to develop two essential components of every Slack app: In our last post, we familiarized ourselves with the starter kit and set up our development environment to build a basic Slack app. The end result is less time spent wrangling code and more time building features for your app. With the Slack Starter Kit from Salesforce, Slack app developers can offload common concerns like Salesforce authentication, directory hierarchies, reusable code, and deployments to Heroku. This post is a continuation of our series based on a video series explaining how to build Slack Apps that integrate with Salesforce APIs.
