- post
@dust +highlights What have been the highlights since yesterday?in #general every weekday at 10 a.m. - summon an agent in #your-channel every time someone reacts to a message with a given emoji.
How it works
- Create the Slack workflow. Define its trigger, a scheduled time or an action such as a reaction being added, and the message it posts. Slack’s own guide covers this: Build a workflow in Slack.
- Write the message so it summons an agent. Mention
@dustfollowed by the agent name, as in@dust +agentName, to pick which agent answers. - Allow the workflow in Dust. A workflow posts as a Slack bot rather than a person, and Dust ignores those messages until the workflow is allowed. Who can allow it depends on your plan: see Who can allow a workflow below.
@Dustis invited to the channel where the workflow posts.- The agent is published.
- If the agent uses Slack tools, it uses the Slack Bot tool. Personal Slack tools act with a member’s own Slack account, which a workflow doesn’t have.
Who can allow a workflow
Not sure which plan you’re on? If Admin > Automations has a Slack workflows tab, or your admin panel shows Billing rather than Subscription, you’re on a credit-priced plan. If your company has several Dust workspaces, they can be on different plans, so some admins may see the tab while others don’t.
On credit-priced plans, workflow runs are billed as programmatic usage, from the workspace credit pool.
Allow a workflow on credit-priced plans
Admins allow workflows for their teams on their own, without relying on Dust for the setup.- Go to Admin > Automations and open the Slack workflows tab.
- Click Allow a workflow.
- Enter the workflow name, copied from the sender name on the workflow’s Slack messages.
- Under Spaces it can reach, add the Spaces holding the data your agent uses. Company Data is always included and cannot be removed.
- Click Allow.
Dust Support can also allow a workflow for you: email
support@dust.tt with the template below. You need Support when the agent uses data from a Pod, because the Spaces it can reach list doesn’t include Pods.Change or revoke a workflow
Click the trash icon on a row and confirm to stop that workflow from summoning agents. To change which Spaces a workflow reaches, or to follow a rename in Slack, allow it again with the updated name and Space list. Your workspace audit log records both actions.Track what workflows cost
The Slack workflows tab reports the credits your Slack workflows consumed over the selected period, their share of total workspace consumption, and how many workflows you currently allow. Change the window with the period selector at the top of the Automations page.Allow a workflow on legacy plans
Legacy plans do not have the Slack workflows tab. Dust Support allows workflows for you instead. Emailsupport@dust.tt with the template below, filling in all three fields:
Whitelisting request
- Dust workspace URL: copy it from your browser. It contains your workspace ID, which is how we identify your workspace.
- Slack workflow name: we match the workflow on its name exactly as written, so copy and paste it.
- Spaces or Pods used by the agent: we grant the workflow access to a specific list of Spaces and Pods. If your agent uses data from any Space or Pod beyond Company Data, send us those exact names, otherwise the agent will not be allowed to answer. If it only uses Company Data, say so.
Good to knowWe allow the Slack workflow itself, so once it is validated you can change which agent it calls, or how the workflow works, without writing to us again.Email us again if you rename the workflow in Slack, or if you give the agent access to an additional Space or Pod.