SlackAction is a datatype for a Slack action.

Table: SlackAction

ParameterTypeRequiredDefaultDescription
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.
displayNamestringyes The display name of the action.
fields[SlackFieldEntry]yes The fields to include within the Slack message. This 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.
packagePackageInstallation  The package, if there is one, 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.
urlstringyes The Slack webhook URL where to send the requests.
useProxybooleanyes Whether the action should use the configured proxy to make web requests.
yamlTemplateYAMLyes A template that can be used to recreate the action.