Project Structure

Before you create your Slack app bundle, make sure that you set up your SFDX project.

Your SFDX project looks like this.

1project
2|_myslackapp
3      |_config
4            |_ project-scratch-def.json
5      |_force-app/main/default/
6            |_ classes/
7                  |_ createMyRecord.cls
8                  |_ createMyRecord.cls-meta.xml
9            |_ permissionsets/
10                  |_ SlackPerms.permissionset-meta.xml
11            |_ slackapps/
12                  |_ MySlackApp.slackapp
13                  |_ MySlackApp.slackapp-meta.xml
14            |_ viewdefinitions/
15                  |_ my_message.view
16                  |_ my_message.view-meta.xml
17      |_package.json
18      |_sfdx-project.json

A Slack app bundle in the force-app/main/default/ directory includes:

Beta Feature

This feature is not generally available. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.