webflow-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Webflow webhooks. Use when setting up Webflow webhook handlers, debugging signature verification, or handling Webflow events like…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Webflow Webhooks
When to Use This Skill
- How do I receive Webflow webhooks?
- How do I verify Webflow webhook signatures?
- How do I handle form_submission events from Webflow?
- How do I process Webflow ecommerce order events?
- Why is my Webflow webhook signature verification failing?
- Setting up Webflow CMS collection item webhooks
Essential Code
Signature Verification (Manual)
const crypto = require('crypto');
function verifyWebflowSignature(rawBody, signature, timestamp, secret) {
// Check timestamp to prevent replay attacks (5 minute window - 300000 milliseconds)
const currentTime = Date.now();
if (Math.abs(currentTime - parseInt(timestamp)) > 300000) {
return false;
}
// Generate HMAC signature
const signedContent = `${timestamp}:${rawBody}`;
const expectedSignature = crypto
.createHmac('sha256', secret)
.update(signedContent)
.digest('hex');
// Timing-safe comparison
try {
return crypto.timingSafeEqual(
Buffer.from(signature),
Buffer.from(expectedSignature)
);
} catch {
return false; // Different lengths = invalid
}
}
Processing Events
app.post('/webhooks/webflow', express.raw({ type: 'application/json' }), (req, res) => {
const signature = req.headers['x-webflow-signature'];
const timestamp = req.headers['x-webflow-timestamp'];
if (!signature || !timestamp) {
return res.status(400).send('Missing required headers');
}
// Verify signature (use OAuth client secret or webhook-specific secret)
const isValid = verifyWebflowSignature(
req.body.toString(),
signature,
timestamp,
process.env.WEBFLOW_WEBHOOK_SECRET
);
if (!isValid) {
return res.status(400).send('Invalid signature');
}
// Parse the verified payload
const event = JSON.parse(req.body);
// Handle different event types
switch (event.triggerType) {
case 'form_submission':
console.log('New form submission:', event.payload.data);
break;
case 'ecomm_new_order':
console.log('New order:', event.payload);
break;
case 'collection_item_created':
console.log('New CMS item:', event.payload);
break;
// Add more event handlers as needed
}
// Always return 200 to acknowledge receipt
res.status(200).send('OK');
});
Common Event Types
| Event | Triggered When | Use Case |
|---|---|---|
form_submission |
Form submitted on site | Contact forms, lead capture |
site_publish |
Site is published | Clear caches, trigger builds |
ecomm_new_order |
New ecommerce order | Order processing, inventory |
ecomm_order_changed |
Order status changes | Update fulfillment systems |
collection_item_created |
CMS item created | Content syndication |
collection_item_changed |
CMS item updated | Update external systems |
collection_item_deleted |
CMS item deleted | Remove from external systems |
collection_item_published |
CMS item published | Invalidate caches, publish downstream |
Webflow's Event types table
lists 14 trigger types; All Events
has example payloads for all of them except collection_item_published. The
user_account_* webhooks were removed on January 29, 2026 — see
references/overview.md.
Environment Variables
# For webhooks created via OAuth App
WEBFLOW_WEBHOOK_SECRET=your_oauth_client_secret
# For webhooks created via the API with a site token (after April 14, 2025)
WEBFLOW_WEBHOOK_SECRET=your_webhook_secret_key # `secretKey` from the Create Webhook response
Local Development
# Start tunnel (no account needed)
npx hookdeck-cli listen 3000 webflow --path /webhooks/webflow
Provides a local tunnel and a web UI for inspecting requests.
Resources
- What Are Webflow Webhooks - Event types and payload structure
- Setting Up Webflow Webhooks - Dashboard configuration and API setup
- Signature Verification Details - In-depth verification guide
- Express Example - Node.js implementation with tests
- Next.js Example - App Router implementation
- FastAPI Example - Python implementation
Important Notes
- Webhooks created through the Webflow dashboard do NOT include signature headers
- Only webhooks created by an OAuth app (signed with its client secret) or with the API using a site token after April 14, 2025 (signed with the webhook's
secretKey) includex-webflow-signatureandx-webflow-timestamp - Always use raw body for signature verification, not parsed JSON
- Timestamp validation (5 minute window - 300000 milliseconds) is critical to prevent replay attacks
- Return a 200 status to acknowledge receipt; any o
Установить webflow-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл webflow-webhooks?
Receive and verify Webflow webhooks. Use when setting up Webflow webhook handlers, debugging signature verification, or handling Webflow events like form_submission, site_publish, ecomm_new_order, or collection item changes.
Как установить скилл webflow-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл webflow-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic