Our future generation platform is in closed beta. Please request to participate. During the beta, expect some rough edges, broken windows overlooking blue sky vistas, and regularly scheduled changes.

Beta Platform Templates

The command line interface tool supports creating new apps from templates. You can store and access templates in a variety of ways, but we've listed a few ones created by the Slack team below.

Single file template

This is our single file solution for creating small, simple projects directly in the project.ts file to keep everything visible at a glance. It's good for a very simple workflow where the traditional folder structure feels overengineered.

Any new functions, workflows or triggers changes to the variable names must be represented in the Project object.

slack create -t slackapi/deno-simple

Reversing a string

This is the "Hello World" of the Beta Platform. Takes a string as an input, flips it around, and outputs it. The main file that brings it all together is the project.ts file. Functions, workflows, triggers and tables are supported and those should each be created in a file per, under each corresponding directory. functions/reverse.ts has a simple sample.

slack create -t slackapi/deno-reverse-string

Budget Calculator

This sample project shows how to manage app deployment with admin approved apps enabled.

Please follow the tutorial for this repo here.

slack create -t slackapi/deno-budget-calculator

Environment Variables

This sample project shows how to build multiple versions of your app from a single code base.

Please follow the tutorial for this repo here.

slack create -t slackapi/deno-enviroment-variables

Built-in functions

This sample project shows how to use Slack built-in functions.

Please follow the tutorial for this repo here.

slack create -t slackapi/deno-built-in-functions

Incident Management

This sample project shows how to create a function to handle incidents.

Please follow the tutorial for this repo here.

slack create -t slackapi/deno-incident-management

Metadata events

This sample project shows how to send and receive message metadata events.

Please follow the tutorial for this repo here.

slack create -t slackapi/deno-metadata-event

Testing your functions

This sample project shows how to write tests for your function.

Please follow the tutorial for this repo here.

slack create -t slackapi/deno-testing-functions

Was this page helpful?