Utilizing Slack & custom data types
Join the Developer Program and provision a sandbox with access to all Slack features for free.
When building workflow apps, you can use a handful of Slack types. You can also define your own custom type.
Slack types
Slack types are used in two ways: as input and output parameters of Slack functions & custom functions, as well as attributes of datastores.
All manifests can be written in JSON; however, declaring types in an app using the Deno Slack SDK is done differently, requiring a reference to the Schema.slack
package for non-primitive types. The examples in the reference show both how would they appear in Typescript as they would appear in a Deno Slack SDK app and in JSON as they would be defined in a manifest.
➡️ View the full Slack types reference catalog here
Custom types
Custom types provide a way to introduce reusable, sharable types to your workflow apps. Once registered in your manifest, you can use custom types as input or output parameters in any of your app's functions, workflows, or datastores. The possibilities are endless!
➡️ To learn how to create your own custom type, read our Creating a custom type guide.