This app demonstrates most of Slack's next-generation platform features in a simple form. Refer to each sub app's README for more details.
Guide Outline:
Before getting started, make sure you have a development workspace where you have permissions to install apps. If you don’t have one set up, go ahead and create one. Also, please note that the workspace requires any of the Slack paid plans.
To use this template, you first need to install and configure the Slack CLI. Step-by-step instructions can be found in our Quickstart Guide.
Start by cloning this repository:
# Clone this project onto your machine
$ slack create my-code-snippets-app -t slack-samples/deno-code-snippets
# Change into this project directory
$ cd my-code-snippets-app
This app consists of a number of sample apps. Go over the list of sub-apps below and start with any of them:
- Messaging: Post a channel message via the built-in
SendMessage
,SendEphemeralMessage
, andSendDm
functions - Built-in Forms: Open a modal dialog using the built-in
OpenForm
- Canvases: Use canvas via the built-in
CopyCanvas
,CreateCanvas
,CanvasUpdateContent
,ShareCanvas
, - Connectors: Use connector steps within your coded workflow
- Custom Functions function: Do anything you want by writing TypeScript code
- External API Calls: Call other service's APIs in your custom function
- Datastores: Use datastores to store your app's data
- Event Triggers: Start a workflow when a Slack event occurs
- Scheduled Triggers: Schedule workflow executions
The following ones may be a little bit advanced:
- Button Interactions: Place a button in a message and handle the interactions with a custom function
- Block Kit Modals: Fully leverage Slack's modals and its foundation, Block Kit UI framework
To learn more about developing with the CLI, you can visit the following guides:
To view all documentation and guides available, visit the Overview page.