Digitorn
Digitorn
All templates
messagingbeginner

Slack helper

A messaging agent that responds to @mentions in Slack, runs web searches, and answers in-thread with status updates while tools are running. Cheap to run on Haiku.

lines 28cost ~$0.005 per response on Haikuinstall hub://digitorn/slack-helper
Install in one command
digitorn install hub://digitorn/slack-helper
What you get
  • Bot replies in-thread, never spams the channel
  • Status updates while tools run, never silent
  • Web search for fresh context
  • Per-user credential isolation
Credentials this template uses

Click each one for the credential setup command, scope guidance, and provider details.

The full YAML, ready to fork

app.yaml
1app:2  app_id: slack-helper3  name: "Slack helper"4  version: "1.0.0"5  category: "communication"67execution:8  mode: background9  entry_agent: helper1011modules:12  channels:13    config:14      slack:15        bot_token: { credential: slack_bot_oauth }16        respond_in_thread: true17        stream_status: true18  web: {}1920agents:21  - id: helper22    modules: [{web: [search, fetch]}, {channels: [slack_post]}]23    brain:24      provider: anthropic25      model: claude-haiku-4-526      credential:27        ref: anthropic_main28        scope: per_user29        provider: anthropic30    system_prompt: |31      Answer concisely. Cite sources. Stay in the thread.32      Keep responses under 200 words unless the user asks for detail.

How it works

channels module wraps Slack
The channels module turns the agent into a webhook target. The Slack bot token comes from the credential vault. respond_in_thread keeps replies threaded.
stream_status for live updates
When the agent calls a tool, the runtime posts a status update to the thread (typing indicator + tool name). The user sees what's happening instead of staring at silence.
credential per user
Each Slack workspace user has their own OAuth token in the vault. The runtime resolves the token for the user who triggered the mention.
Read the deep dive

10 apps you can ship in 50 lines of YAML

Read article
Newsletter

Get the next post in your inbox.

Engineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.

One-click unsubscribe. We never share your address. Powered by our own infrastructure, not a tracker.

Other templates

developerStarter coder/templates/starter-coderdeveloperClaude Code clone/templates/claude-code-cloneresearchDeep research agent/templates/deep-researchdeveloperPull request reviewer/templates/pr-revieweropsWeekly digest reporter/templates/weekly-digestknowledgeDocumentation generator/templates/doc-writercreativeLive React app builder/templates/react-buildermessagingVoice assistant/templates/voice-assistantopsScheduled data pipeline/templates/data-pipeline