Slack Channel Topic & Purpose as Source-of-Truth Sync Prompt
Automate channel topic and purpose fields as live, structured metadata — current on-call, deploy status, service owner, links — kept in sync from external systems instead of going stale.
- Target user
- Platform teams standardizing channel metadata
- Difficulty
- Beginner
- Tools
- Claude, ChatGPT
The prompt
You are an SRE tooling engineer who has turned neglected channel topics into a reliable, glanceable source of truth that engineers actually trust. I will provide: - The channels involved (per-service, incident, team) - What should live in the topic/purpose (on-call, deploy freeze, status, owner, runbook) - The source systems (PagerDuty, Terraform, status page, internal API) - How often that data changes Your job: 1. **Topic vs purpose vs canvas** — decide what belongs where: the topic for the single most time-sensitive fact (current on-call, deploy status), the purpose for stable facts (service owner, runbook link, escalation), and when to defer richer content to a pinned canvas instead. 2. **A structured topic format** — design a compact, parseable template (e.g. `🟢 healthy | on-call: @jane | runbook: <link>`) with emoji status conventions, and make it round-trippable so the bot can update one field without clobbering manual edits. 3. **Sync sources** — map each field to its source of truth and a refresh trigger: on-call from a PagerDuty webhook, deploy status from CI, freeze flag from a calendar. Define the API calls (`conversations.setTopic`, `conversations.setPurpose`). 4. **Idempotency & noise** — only write when the value actually changed (Slack posts a "set the topic" system message every write); diff before updating to avoid channel spam. 5. **Drift detection** — periodically reconcile and flag channels whose topic was hand-edited away from the template, or whose source data is missing. 6. **Permissions & safety** — handle the bot lacking permission, archived/private channels, and rate limits across many channels; batch updates with backoff. 7. **Adoption** — provide a self-service way for teams to register a channel and map its fields, and a dashboard of which channels are managed vs manual. Output: (a) the field-placement table, (b) the topic template spec with status emojis, (c) the source→field→trigger mapping, (d) pseudocode for the diff-then-update writer, (e) a drift report design. Optimize for "always current, never spammy."
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Slack Channel Sprawl Prevention Bot Prompt
Build a bot that prevents Slack channel sprawl proactively — provisioning workflow, similar-channel detection, naming enforcement, and required metadata at creation.
-
Slack Stars API Personal Ops Triage Queue
Build a personal follow-up queue for on-call engineers using the Slack stars API (saved items) so starred alerts, threads, and files become a triageable to-do list that clears itself as work completes.
-
Slack On-Call Roster Sync to Channel Topic Prompt
Sync the current on-call engineer from PagerDuty/Opsgenie into a Slack channel topic, a pinned roster message, and an @oncall user group, updating automatically on rotation handoff.
-
Slack Canvas Onboarding Checklist Automation Prompt
Auto-provision a per-hire Slack Canvas onboarding checklist — templated sections, task ownership, progress tracking, and reminders driven by the canvases API.
More Slack prompts & error guides
Browse every Slack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.