Developing automations requires a paid plan. Don't have one? 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:
There are three types of functions:
To protect your organization, external users (those outside your organization connected through Slack Connect) cannot use a workflow that contains connector steps or workflow steps built by your organization. This may manifest in a home_team_only
warning. Refer to this help center article for more details.
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.
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.