Slack integration

Post alerts to a Slack channel via an incoming webhook. Credentials are stored encrypted in Picokoi and never logged or displayed in full.

Set up a Slack incoming webhook

  1. Open api.slack.com/apps (sign in to your Slack workspace if prompted) and click Create App (or Create New App).
  2. In the Create New App dialog, look under From scratch and click Pick features (do not pick “From a template”).
  3. Enter an app name such as Picokoi, pick your workspace, and click Create App.
  4. In the left sidebar under Features, open Incoming Webhooks and switch Activate Incoming Webhooks to On.
  5. Scroll down and click Add New Webhook to Workspace (or Add New Webhook), choose the channel for alerts, and click Allow.
  6. Copy the webhook URL starting with https://hooks.slack.com/services/… and paste it into Picokoi.
Alternative: use “Paste a manifest”

If you prefer From scratch → Paste a manifest in Slack's dialog, select your workspace, choose YAML, and paste this manifest — then open Incoming Webhooks → Add New Webhook to Workspace:

display_information:
  name: Picokoi
  description: Cron and heartbeat alerts from Picokoi
features:
  bot_user:
    display_name: Picokoi
    always_online: false
oauth_config:
  scopes:
    bot:
      - incoming-webhook
Good to know: Each Slack webhook URL posts to the one channel you selected. To notify another channel, add another Slack integration with its own webhook URL.

CLI equivalent

picokoi channel add --kind slack --name ops-slack --url https://hooks.slack.com/services/T000/B000/XXXX