SlackPostMessageAction is a datatype for a Slack post-message action.

Table: SlackPostMessageAction

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Oct 3, 2024
allowedActions[AssetAction]yes  A list of allowed asset actions. See AssetAction. This is a preview and subject to change.
apiTokenstringyes  An API token to authenticate with Slack.
channels[string]yes  A list of Slack channels to message.
displayNamestringyes  The display name of the action.
fields[SlackFieldEntry]yes  The fields to include within the Slack message. Can be templated with values from the result See SlackFieldEntry.
idstringyes  The unique identifier of the action.
isAllowedToRunbooleanyes  False if this type of action is disabled because of a security policy, true otherwise.
namestringyes  The name of the action.
packagePackageInstallationyes  The package, if any, of which the action is part (see PackageInstallation Table).
packageIdVersionedPackageSpecifieryes  The unique identifier of the package. VersionedPackageSpecifier is a scalar.
requiresOrganizationOwnedQueriesPermissionToEditbooleanyes  True if this action is used by triggers, where the query is run by the organization. If true, then the OrganizationOwnedQueries permission is required to edit the action.
useProxybooleanyes  Whether the action should use the configured proxy to make web requests.
yamlTemplateYAMLyes  A template that can be used to recreate the action.