Slack workflows
Overview
Slack workflows allow you to automate routine tasks and interactions within your Slack workspace. You can integrate Dust assistants into these workflows.
For example:
- create a Slack workflow sending a message every day at 10a.m. in the #general channel: `@dust +highlights` What have been the highlights since yesterday?
- trigger a Dust assistant in the #your-channel channel every time a member adds the ❓ emoji to a Slack message.
Setting up a Slack Workflow with a Dust assistant
-
Create a Slack workflow. This includes defining the workflow trigger, for example a scheduled time (e.g., daily at 10a.m.) or an action (e.g., adding a ❓ emoji to a message). You can find more details about how to create a Slack workflow here.
-
Whitelist your Slack workflow with the Dust team. Dust will need to whitelist your Slack workflow for the Dust assistant to reply to workflow messages triggered by the workflow Slackbot. Email
[email protected]
with:- Your Dust workspace URL
- The name of the Slack workflow you intend to use with a Dust assistant.
Good to know
The whitelisting is at the Slack workflow level, so you can change the name of the assistant called inside anytime once validated.
-
Invoke @dust and the Dust Assistant of your choice in the Slack workflow message. Specify which Dust assistant to use in a workflow by including the assistant's name following this message format:
@dust +assistantName
. This will ensure that the correct Dust assistant responds to the workflow-triggered messages.
Updated 4 months ago