Function types

Developing automations requires a paid plan. Don't have a paid plan? Join the Developer Program and provision a sandbox with access to all Slack features for free.

Functions are one of the three building blocks that make up workflow apps. You will encounter all three as you navigate the path of building your app:

  1. Functions define the actions of your app. (⬅️ you are here)
  2. Workflows are a combination of functions, executed in order.
  3. Triggers execute workflows.

There are three types of functions:

  • Slack functions enable Slack-native actions, like creating a channel or sending a message.
  • Connector functions enable actions native to services outside of Slack. Google Sheets, Dropbox and Microsoft Excel are just a few of the services with available connector functions
  • Custom functions enable developer-specific actions. Read on for more info.

Custom functions

Custom functions can be created with the Deno Slack SDK or the Bolt SDKs. Pass in any desired inputs, perform any actions you can code up, and pass on outputs to other parts of your workflows.

Running premium workflows with custom-built functions has pricing attached to it. Learn more about the pricing model in our help center.

Custom functions also allow your app to create and process workflow steps that users can add in Workflow Builder. Which kind of custom function is available for use depends on which kind of Slack app you're working with. Both types of apps provide a mechanism to connect your app to the outside world via third-party APIs.

See the following tutorials for assistance:

If you're starting your app-creation journey on this page and are not quite sure which SDK to choose, let us direct your attention to the Slack platform overview.