---
title: "Shopify"
description: "Send Shopify order, customer, and inventory webhooks to Slack, Telegram, WhatsApp, or email."
order: 6
---

Monitor your Shopify store in real-time. Get notified about new orders, low stock, or high-risk transactions directly in your preferred messaging apps.

## Integration Guide

### 1. Get your Project Key
1. Go to your [AlertHub Project Settings](https://app.thealerthub.com/projects).
2. Copy your **One-Way Secret Key**.

### 2. Configure Shopify Webhook

You can check the [Shopify Webhooks](https://help.shopify.com/en/manual/fulfillment/setup/notifications/webhooks#create-webhooks) documentation for more information but here is a quick guide:

1. Log in to your Shopify Admin.
2. Go to **Settings** > **Notifications**.
3. Scroll down to the **Webhooks** section at the bottom.
4. Click **Create webhook**.
5. Select the **Event** you want to monitor (e.g., `Order creation`).
6. In **Format**, select `JSON`.
7. In **URL**, paste your constructed AlertHub URL (see below).
8. Click **Save**.


### 3. URL Construction

For a basic "New Order" alert:

import WebhookWidget from '../../../../components/WebhookWidget.astro';

<WebhookWidget 
  title="New Sale: {{name}}"
  source="Shopify Store"
  level="info"
  desc="Customer {{email}} just spent {{total_price}} {{currency}}. Items: {{line_items.0.title}}..."
/>

## Common Placeholders

Shopify payloads are flat for many main resources, which makes them easy to parse.

| Data Field | Placeholder |
| --- | --- |
| Order Number | `{{name}}` |
| Total Price | `{{total_price}}` |
| Currency | `{{currency}}` |
| Customer Email | `{{email}}` |
| Gateway | `{{gateway}}` |
| Financial Status | `{{financial_status}}` |


Check the [complete list of topics and fields](https://shopify.dev/docs/api/webhooks/latest#list-of-topics) in the Shopify Webhooks documentation.

## Use Cases

### High Risk Orders
Filter for specific events or simply forward everything and let AlertHub notify you.

<WebhookWidget 
  title="Risk Alert: Order #{{name}}"
  source="Shopify Store"
  level="warning"
  desc="Risk Alert: Order #{{name}}"
/>



### Inventory Warnings
Listen to `Inventory levels update`.

<WebhookWidget 
  title="Inventory Update"
  source="Shopify Store"
  level="warning"
  desc="Item {{inventory_item_id}} count: {{available}}"
/>