Shopify Webhooks
Receives and verifies Shopify webhooks with timing-safe HMAC checks over the raw body for store events.
- CCM score
- 56 of 100
- skills.sh installs
- 296
- GitHub stars
- 104
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers base64 HMAC-SHA256 verification using
X-Shopify-Hmac-SHA256, with Node and Python implementations and topic routing viaX-Shopify-Topic - Includes reference handlers for Express, Next.js, and FastAPI, plus a topic table for orders, products, customers, and app uninstall events
- Enforces raw-body verification and a 200 response within 5 seconds, so slow work must be processed asynchronously
- Designed for developers debugging signature failures or wiring Shopify order and customer events, with local testing via
hookdeck-cli
Install
$ npx -y skills add hookdeck/webhook-skills --skill shopify-webhooks -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Shopify Webhooks
When to Use This Skill
- Setting up Shopify webhook handlers
- Debugging signature verification failures
- Understanding Shopify event types and payloads
- Handling order, product, or customer events
Verification (core)
Shopify signs the raw body with HMAC-SHA256 keyed on the app's API secret and sends the digest in X-Shopify-Hmac-SHA256 as base64 (not hex). Pass the raw body, decode base64, and compare timing-safe. The topic is in X-Shopify-Topic; the shop domain in X-Shopify-Shop-Domain.
Node:
const crypto = require('crypto');
function verify(rawBody, hmacHeader, secret) {
if (!hmacHeader) return false;
const expected = crypto.createHmac('sha256', secret).update(rawBody).digest('base64');
try {
return crypto.timingSafeEqual(Buffer.from(hmacHeader), Buffer.from(expected));
} catch {
return false;
}
}
Python:
import hmac, hashlib, base64
Details
- Repository
- github.com/hookdeck/webhook-skills
- Category
- Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the shopify-webhooks skill do?
shopify-webhooks receives and verifies Shopify webhooks, checking the HMAC-SHA256 signature in the X-Shopify-Hmac-SHA256 header against the raw body. It also covers store events such as orders/create, products/update and customers/create. The skill gives Node and Python verification code plus Express, Next.js and FastAPI examples.
How do I install the shopify-webhooks skill?
Run npx -y skills add hookdeck/webhook-skills --skill shopify-webhooks -y in your project. Once installed, shopify-webhooks lets the agent set up Shopify webhook handlers and debug signature verification failures. It also explains Shopify event types and payloads for orders, products and customers.
What does shopify-webhooks need to run?
shopify-webhooks needs a SHOPIFY_API_SECRET environment variable, which you copy from the Shopify Partner dashboard or app settings. Shopify requires your endpoint to respond with a 200 within 5 seconds, so slow work should run asynchronously. For local testing, the skill uses the hookdeck-cli listen command, which needs no account.
Where does shopify-webhooks stand in the Backend and APIs category?
shopify-webhooks is listed in the Backend and APIs category on Claude Marketplaces. The category also includes entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. This skill focuses on verifying Shopify's base64 HMAC signatures and handling store events.
More from hookdeck/webhook-skills
All 7Similar to Shopify Webhooks
More Backend & APIsresend-webhookshookdeck/webhook-skills267 installsGuide for receiving, verifying, and handling Resend webhook events with Svix signature checks.
paddle-webhookshookdeck/webhook-skills258 installsReceive and verify Paddle webhooks with HMAC-SHA256 signature checks before handling subscription and transaction events.
webhook-developmentaj-geddes/useful-ai-prompts511 installsReliable webhook system with signed delivery, retries, and dead-letter handling for event-driven integrations.
clerk-webhooksclerk/skills57.1K installsClerk webhook handlers that verify signatures with verifyWebhook and sync user, org, and billing events.
webhook-receiver-hardenerpatricio0312rev/skills290 installsHardened webhook receiver covering signature checks, deduplication, idempotent processing, and incident response.