Slack Admin Custom Emoji Governance Automation Prompt
Automate custom emoji lifecycle on Enterprise Grid via admin.emoji.add, admin.emoji.addAlias, and admin.emoji.remove so signaling emoji (status, severity, team badges) stay standardized and aliases are reconciled from a source-of-truth manifest
- Target user
- Workspace admins and platform teams standardizing emoji-driven signaling
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Slack admin automation on the Enterprise Grid admin APIs and Bolt. I will provide: - The emoji manifest (name → image URL, plus alias → target name) that is my source of truth - My org/admin token scopes and whether I run org-level (Grid) or single-workspace - Whether existing emoji should be reconciled (replaced) or only additively synced Your job: 1. **Capability gate** — confirm `admin.teams:read`/`admin.emoji` scopes and that the token is an org-admin token (these methods are Grid-only); fail loudly if run with a plain bot token. 2. **Inventory + diff** — list current custom emoji (`emoji.list` per workspace and admin listing), diff against the manifest, and classify each entry as add/alias/remove/keep. 3. **Add and alias** — implement `admin.emoji.add` (with hosted image URL constraints) and `admin.emoji.addAlias`, handling name-already-exists and invalid-image errors. 4. **Safe removal policy** — gate `admin.emoji.remove` behind explicit allowlist + dry-run, since removing an in-use emoji breaks reactions and shortcodes org-wide. 5. **Rate-limit and batch handling** — these admin methods are heavily rate-limited; show the throttled batch loop with `Retry-After`. 6. **Reconciliation report** — produce a plan table (per emoji: action, reason) before any mutation, gated behind `--apply`. 7. **Audit trail** — log every add/alias/remove with actor and manifest version for change review. Output as: an admin reconciliation script, the dry-run plan table format, and a list of the exact admin.* methods and scopes required. Caution: admin.emoji.remove is org-wide and instant — a wrong manifest can delete emoji that thousands of messages reference; never auto-remove without an allowlist and a reviewed dry-run.
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 Admin API Bulk Channel Management Prompt
Build a safe, audited pipeline using the Slack admin.* APIs to bulk-manage channels across an Enterprise Grid org
-
Slack Channel Archival Lifecycle Bot Prompt
Build a bot that detects stale or one-off channels (incident channels, temporary project rooms), warns owners, and archives them on a safe schedule to keep the workspace navigable without losing history.
-
Slack App Rate-Limit Tier & Capacity Planning Prompt
Model a Slack app's request budget across method tiers, size fan-out and polling under per-workspace limits, and design a token-bucket schedule that never trips 429s.
-
Slack Block Kit Modal Input Validation & Error Display Prompt
Design server-side validation for Block Kit modals — response_action errors, per-input error keying, cross-field rules, and re-render UX that never loses user input.
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.