> ## Documentation Index
> Fetch the complete documentation index at: https://storekit.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack Integration

> Send storekit webhook notifications directly to Slack channels. Get instant alerts for new orders, refunds, and store events without writing custom code.

Instead of setting up a custom endpoint, you can connect webhooks directly to Slack and receive event notifications as messages in your Slack channels.

## How It Works

The Slack integration lets you:

* **Skip the code** - No need to build a webhook endpoint
* **Get instant notifications** - Events post directly to your chosen Slack channel
* **Rich formatting** - Messages include structured data from the webhook payload

## Setting Up Slack Integration

1. Go to the [Webhooks settings](https://dashboard.storekit.com/developers/webhooks) in your dashboard
2. Click **Add Endpoint**
3. Select **Slack** instead of entering a URL
4. Click **Connect to Slack** and authorize access
5. Choose the Slack channel where you want to receive notifications
6. Select the event types you want to receive
7. Save your endpoint

## What Messages Look Like

When events occur, you'll receive formatted Slack messages containing:

* **Event type** - The type of event that occurred
* **Key details** - Important information from the payload (order ID, amounts, status, etc.)
* **Timestamp** - When the event happened

Example notification for a new order:

```
🛒 New Order Received

Order ID: ord_abc123
Total: £24.50
Items: 3
Fulfillment: Delivery

View in Dashboard →
```

## Supported Events

You can receive any webhook event type in Slack, including:

* **Order events** - New orders, status changes, cancellations
* **Payment events** - Successful payments, refunds
* **Store events** - Store updates, availability changes

## Use Cases

The Slack integration is ideal for:

* **Real-time order alerts** - Get notified instantly when orders come in
* **Team visibility** - Keep your team informed in a shared channel
* **Quick monitoring** - Watch for important events without building infrastructure
* **Testing** - Easily verify webhooks are firing during development

## Managing Your Slack Endpoint

You can manage your Slack integration just like any other endpoint:

* **View logs** - See delivery history and message content
* **Change channel** - Update which Slack channel receives messages
* **Update events** - Modify which event types are sent to Slack
* **Disable/Enable** - Temporarily pause notifications

<Info>
  The Slack integration uses the same retry policy as regular webhook endpoints. If Slack is temporarily unavailable, we'll retry delivery automatically.
</Info>

<Tip>
  Create separate Slack endpoints for different event types to organize notifications into specific channels (e.g., #orders for order events, #payments for payment events).
</Tip>
