Connect Slack events and slash commands to the Agent Orchestrator via webhooks.
- Agent Orchestrator v0.2.0+ (webhook server enabled by default on
127.0.0.1:19090) - A Slack workspace where you can create apps
- Go to api.slack.com/apps
- Click Create New App → From scratch
- Name your app and select your workspace
- In your app settings, go to Basic Information
- Copy the Signing Secret
- Go to Event Subscriptions → Enable Events
- Set the Request URL to:
http://<your-host>:<webhook-port>/webhook/slack-message - Under Subscribe to bot events, add:
message.channelsmessage.imapp_mention
- Save Changes
- Go to Slash Commands → Create New Command
- Set the Request URL to:
http://<your-host>:<webhook-port>/webhook/slack-slash-command
# Copy and fill in your signing secret
cp secrets-template.yaml my-slack-secrets.yaml
# Edit my-slack-secrets.yaml
# Apply
orchestrator apply -f my-slack-secrets.yaml --project myproject
orchestrator apply -f trigger-message.yaml --project myproject
orchestrator apply -f trigger-slash-command.yaml --project myproject
orchestrator apply -f step-template-parse.yaml --project myproject- Go to Install App → Install to Workspace
- Authorize the requested permissions
| File | Description |
|---|---|
secrets-template.yaml |
SecretStore template for Slack Signing Secret |
trigger-message.yaml |
Trigger for message events |
trigger-slash-command.yaml |
Trigger for slash commands |
step-template-parse.yaml |
StepTemplate for parsing Slack payloads |