{
  "slug": "circleci-notification-slack-adds-set-get-and-delete-commands-c83fef983af3",
  "title": "circleci notification slack adds set, get, and delete commands",
  "tools": [
    "circleci"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-21T19:26:58.000Z",
  "announced_at": "2026-10-21T19:26:58.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When configuring, inspecting, or removing a project’s Slack notifications, use `circleci notification slack set`, `get`, or `delete`; the Slack app must already be installed for the organization. `set` requires exactly one of `--channel`, `--enable`, or `--disable`; `delete` prompts unless `--force` is used, and `--dry-run` previews removal.",
    "examples": [
      "circleci notification slack set --channel '<name|ID>'",
      "circleci notification slack get [--json]",
      "circleci notification slack delete [--force] [--dry-run]"
    ],
    "gotchas": [
      "Version: v1.11.0",
      "--channel <name|ID>: Slack channel name or ID to send notifications to. Mutually exclusive with `--enable` and `--disable`; one of the three flags is required for `set`.",
      "--enable: Resume Slack notifications for the configured channel. Mutually exclusive with `--channel` and `--disable`; one of the three flags is required for `set`.",
      "--disable: Pause Slack notifications while keeping the configured channel. Mutually exclusive with `--channel` and `--enable`; one of the three flags is required for `set`.",
      "--json: Print command output as JSON; available for `get` and `set`.",
      "--force, -f: Skip the delete confirmation prompt.",
      "--dry-run, -n: Show what would be removed without removing it.",
      "--project <slug>: Select a project by slug, such as `gh/org/repo`; defaults to the git remote.",
      "Prerequisite: The CircleCI Slack app must already be installed for the organization.",
      "For `set`, exactly one of `--enable` and `--disable` is required.",
      "`get` shows the channel, its enabled state, and the project's Slack notification preferences.",
      "`delete` has a confirmation prompt."
    ]
  },
  "why_it_matters": "Configure or inspect a project's Slack notification settings from a repository workflow.",
  "sources": [
    "https://github.com/CircleCI-Public/circleci-cli/releases/tag/v1.11.0",
    "https://github.com/CircleCI-Public/circleci-cli/pull/1916",
    "https://github.com/CircleCI-Public/circleci-cli/blob/v1.11.0/internal/cmd/notification/slack.go"
  ],
  "rank": 0.97046,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261026-04",
    "verdict_id": "daily-20261026-04:daily-20261026-04-2cb6f55edc6cde66-0:gate",
    "evidence_hash": "1d848764a46f50ed674a72b1470795517f9b9513596f5f9e441c4817bbb9de00"
  },
  "review": {
    "draft_hash": "2a1fce727db0339863adb2cb86aff4fe38b5d4ec3f4ea4e5e91728028821ee30",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-21T19:26:58.000Z",
    "decision": "daily-20261026-04:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.97 >= 0.9; 2 needed) and Jev gave 0.79 (>= 0.6 needed)."
  }
}
