# Slack alerts for payments, signups and traffic spikes

> Post every payment, new customer and goal to a Slack channel with the source, landing page and country that brought it, plus traffic spikes and weekly reports.

Source: https://metricraven.com/docs/slack-alerts  
Markdown: https://metricraven.com/docs/slack-alerts.md  
Section: Features

Get “New payment: $49 on acme.com, from Google, landed on /pricing” in Slack the moment it happens. MetricRaven posts to a Slack channel through an incoming webhook: conversion alerts you pick, and traffic spikes and reports if you want them. It’s one of the [alert channels](https://metricraven.com/docs/alert-channels).

## Set it up

1. **Create an incoming webhook in Slack**

   Go to **api.slack.com/apps**, choose **Create New App → From scratch**, pick your workspace, then open **Incoming Webhooks**, switch it on and choose **Add New Webhook to Workspace**. Pick the channel (for example #sales) and copy the **Webhook URL**. It starts with `https://hooks.slack.com/services/`.

2. **Add it to MetricRaven**

   In Settings → Notifications under **Alert channels** (or Settings → Integrations → **Slack**), choose **Add channel**, pick **Slack**, paste the URL and name it after the channel. Admins and the owner can do this.

3. **Choose what posts there**

   Tick **Traffic spikes**, **Weekly report** or **Monthly report** on the channel. For conversions, open an alert’s **Recipients** (or create one in [conversion alerts](https://metricraven.com/docs/goal-alerts)) and tick the Slack channel under **And post to**. An alert can post to Slack only, with no email.

> **Verify it works**
>
> **Send test** on the channel’s row posts “Test from MetricRaven” to the Slack channel and says “Test sent”, or shows Slack’s error.

## What a message looks like

```text title="Payment alert in Slack"
New payment: $49 on acme.com
Say thanks within the hour.            ← the alert's own message, if it has one

Amount            Plan
$49               Pro
Source            Landing page
Google (Organic Search)   /pricing
Location          Device
Madrid, Spain     Desktop · Chrome · macOS

View visitor journey · MetricRaven
```

| Alert | Slack shows |
| --- | --- |
| Payment / new customer | Amount, plan, customer (when you identify users), source, campaign, landing page, page it converted on, location, device and visits, with a link to the visitor’s journey. |
| Goal | The goal (its display name if you set one) with the same details. |
| Busy-hour summary | How many conversions, the top sources and the latest five, after five posts in an hour. |
| Traffic spike | Visitors in the last hour against the usual, the sources behind it and the top pages. |
| Weekly / monthly report | Visitors, revenue and payments with the change, conversion rate, top channels and pages. |

## Troubleshooting

| You see | What to do |
| --- | --- |
| Paste a Slack incoming webhook URL | Only hooks.slack.com/services/… URLs are accepted. Workflow Builder webhooks (hooks.slack.com/triggers/…) expect their own fields; use an incoming webhook. |
| Slack says this webhook no longer exists (404) | The webhook was removed, the app uninstalled or the channel archived. Make a new webhook and paste it with Edit, or remove and add the channel. |
| Slack answered 403 or 410 | The workspace or channel no longer accepts it (action_prohibited, channel_is_archived). Make a new webhook. |
| Nothing arrives for a conversion | Check the alert is on and ticks this channel under And post to, and that Recent alert emails lists the conversion. |
| Too many posts | After five in an hour an alert sends one summary per hour. For fewer, use a narrower trigger (New customer instead of Any payment). |
