Project Structure
Before you create your Slack app bundle, make sure that you set up your SFDX project.
Your SFDX project looks like this.
A Slack app bundle in the force-app/main/default/
directory includes:
- Apex classes containing command logic in
classes/
- Action handlers
- Event handlers (for
onclick
and other events) - Shortcut handlers
- Slash command handlers
- Data providers
- Permission set in
permissionsets/
- SlackApp metadata in
slackapps/
- ViewDefinition metadata in
viewdefinitions/