Skip to content

Slack APPs

Overview

there are two ways to build Apps in Slack:

  • Webhook
  • Bolt App / Socket Mode

Bolt App / Socket Mode

Instead of sending payloads to a public endpoint, Slack will use a WebSocket URL to communicate with your app. WebSockets use a bidirectional stateful protocol with low latency to communicate between two parties—in this case, Slack and your app.

NOTE: Can't be run in a Serverless environment

Webhook

Webhook with Python & Flask

Getting started with Bolt for Python

hello-world-bolt

Socket Mode

file_shared event

Events API

QuickStart

Bolt Python API bolt

Tunneling

Tunneling options

Glitch

Glitch (instead of ngrok): Gkitch

ngrok