Slack activities
Enable agents and fulfillers to send direct messages and post in Slack channels during a playbook run, via Workflow Data Fabric's Slack spoke.
Roles and availability
- These activities are available as an application in the ServiceNow Store. Users with the playbook.admin or pd_author role can add these activities to a playbook.
- You must have access to Workflow Data Fabric's Slack spoke.
Inputs
Open the activity properties panel and configure your activity to add values for the following inputs. If the input value varies, use the pill-picker to show where to get the value. To learn more about the pill-picker, see Dot-walking examples.
| Input | Type | Description |
|---|---|---|
| Label | String | Title to display as activity and playbook card. |
| Description | String | Information to display about activity usage or outcome. |
| Run condition | Condition Builder | Conditions that must be met to run an activity or stage. You can use data from prior activities to build conditions. 注: Select Show additional options to see this field. |
| Start Rule | Choice | Under , select a start rule for when your stage should start running:
|
| Start with delay | True/False | Option to wait for a duration of time before running an activity or stage. When enabled, this input displays the Start with delay input properties. 注: Select Show additional options to see this field. |
| Channel/Member ID | String | Slack channel or member that the message is sent to. |
| Message | String | Message text to display to end users. |
| Blocks | String | Code blocks to include in the message to end users. |
| Username | String | Sender of the Slack message. |
| Icon | String | Slack user profile icon of the sender. |
| Collect data from user | True/False | Option to pause the playbook until the end user manually completes or skips the activity. Only users with the playbook.admin role can edit this field. By default, the activity waits for user action or data before it completes. |
Outputs
Your message posted in a Slack channel or sent as a direct message.