Why it matters
Slack may retry events; dedupe on event_id in a shared store.
Practical steps
- Confirm Slack request URL / Events API needs for slack event dedup in current api.slack.com docs.
- Verify signing secret (X-Slack-Signature + timestamp) before handling Slack may retry events; dedupe on event_id in a shared store.
- Respond to URL verification and interactivity within Slack's ACK window; enqueue slow work.
- Store only the team/user ids you need; rotate the signing secret in staging first.
- Document reinstall / bot token rotation steps that touch slack event dedup.
Watch out for
- Copy-pasting outdated snippets for slack event dedup without re-reading current official docs.
- Shipping slack event dedup to production without a staging rehearsal and a documented rollback.