---
title: "Deploy Slack Activity Alerts"
description: "Send regular alerts about how many Slack messages you've sent per day/week"
category: "Analytics"
url: https://railway.com/deploy/E2MZIp
---

# Deploy Slack Activity Alerts

Send regular alerts about how many Slack messages you've sent per day/week

**[Deploy Slack Activity Alerts on Railway](https://railway.com/template/E2MZIp)**

- **Creator:** skyfallwastaken's Projects
- **Category:** Analytics

## Template content

### slack-activity-alerts

- **Source:** SkyfallWasTaken/slack-activity-alerts

### Redis https://devicons.railway.app/i/redis.svg

- **Image:** bitnami/redis:7.2.5

## Documentation

Track messages sent by a user in a Slack workspace and send a notification to a webhook!
![image](https://hc-cdn.hel1.your-objectstorage.com/s/v3/67581c57793c4b03d732bc0150a1b3d62c0a7d63_image.png)
## How to set this up
To get the `SLACK_XOXD`, open DevTools, then go to the Application tab on Chrome (or the Storage tab on Firefox), and copy the value of the `d` cookie. **Ensure it's not URL encoded.**

To get the `SLACK_XOXC`, open the Slack website in your browser, then open DevTools. Go to the Console tab, and paste the following code in:

```js
(() => {
    const localConfig = JSON.parse(localStorage.getItem("localConfig_v2"))
    for (const teamId of Object.keys(localConfig.teams)) {
        const team = localConfig.teams[teamId]
        console.warn(`[XOXC Grabber] ${team.name}'s XOXC token is ${team.token}`)
    }
})()
```

Slack Activity Alerts is fully open source - check out the code [here.](https://github.com/SkyfallWasTaken/slack-activity-alerts/blob/main/index.ts)

## Similar templates

- [Typesense vs Meilisearch](https://railway.com/deploy/typesense-vs-meilisearch) — self-hosted Typesense vs Meilisearch
- [Betterlytics](https://railway.com/deploy/betterlytics) — Betterlytics is a cookieless analytics platform GDPR-compliant.
- [Finance Tracker](https://railway.com/deploy/finance-tracker-1) — Private multi-user household finance ledger with budgets and CSV import.

Open this page in a browser: https://railway.com/deploy/E2MZIp
