Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt

Use this file to discover all available pages before exploring further.

Connect your Idun agent to Slack so users can interact with it through direct messages or channel messages.

Prerequisites

  • A running Idun agent (engine)
  • A Slack workspace where you have permission to install apps
  • Your engine must be publicly reachable (use ngrok for local development)

Setup

1

Open the integrations admin page

Navigate to /admin/integrations/ in the running standalone. The channel catalog shows WhatsApp, Discord, Google Chat, Slack, and Microsoft Teams as active channels.
2

Create the Slack integration

Click Slack and fill in the bot token and signing secret.
FieldValue
bot_tokenBot User OAuth Token from your Slack app (xoxb-...)
signing_secretSigning secret from your Slack app
Add Slack integration
3

Save

Save the form. The reload pipeline registers the Slack webhook handler on the running engine; the agent now responds to messages forwarded by Slack.

How it works

  1. User sends a message to the bot (DM or channel)
  2. Slack POSTs the event to your engine’s webhook
  3. Engine verifies the HMAC-SHA256 signature using the signing secret
  4. Engine invokes the agent with the message text
  5. Engine sends the agent’s reply back via the Slack Web API (chat.postMessage)
Session tracking: The Slack user ID is used as the session ID, so conversation context is maintained per user. Bot messages ignored: The handler skips messages with a bot_id to avoid infinite loops.

Next steps

Discord

Connect your agent to a Discord server via slash commands.

Microsoft Teams

Reach the same agent through Bot Framework in Teams.

Production hardening

Secure the engine before exposing webhooks to the public internet.
Last modified on May 20, 2026