Slack
Send messages, create channels, and react to events in Slack from your Hakona workflows.
Connecting Slack
- Go to Settings → Integrations → Slack.
- Click Add Connection and authorize Hakona in your Slack workspace.
- Grant the requested scopes (see below) and click Allow.
Required scopes
| Scope | Used for |
|---|---|
chat:write | Posting messages |
channels:read | Listing channels in the variable picker |
channels:history | Reading messages as trigger data |
reactions:write | Adding emoji reactions |
Triggers
New message in channel
Fires when a new message is posted in a specific channel. The trigger data includes the message text, sender, timestamp, and channel ID.
App mention
Fires when someone mentions your Hakona app in a channel or DM.
Actions
Post message
Post a plain-text or Block Kit message to a channel or DM.
| Field | Description |
|---|---|
| Channel | Channel name, ID, or @username for a DM |
| Message | Text content. Supports Slack mrkdwn and variable interpolation. |
| Thread | Optional — thread reply to an existing message timestamp |
Add reaction
Add an emoji reaction to a specific message.
Create channel
Create a new public or private channel.
Example workflow
Notify on GitHub PR merge → Slack
- Trigger: GitHub — Pull request merged
- Action: Slack — Post message to
#engineering
Message:
:merged: *{{trigger.pull_request.title}}* was merged by {{trigger.pull_request.merged_by.login}}
{{trigger.pull_request.html_url}}