Customize your app's behavior in response to activities in Slack. Here are a few event handling examples to help you get started.
Before you can handle an event, subscribe to the event in your app manifest and register the event handler.
Most of these examples are available in the sample Apex SDK for Slack app.
This example displays a message in the App Home.
Set the expression values in the event handler using the
This example responds to a channel (public or private) rename by posting a message.
This example responds to a user adding and removing an emoji on an item.
This example creates a channel based on a user's message post containing the string "create channel [channel name]" where [channel name] is the name of the channel that will be joined by dashes. For example, "create channel demo channel" creates a channel called #demo-channel. You can also automatically add the user who issued the message to the new channel.