Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

qlik-cloud-webhooks

БесплатноЗапускает вложенные скриптыНе проверен

Receive and verify Qlik Cloud webhooks (Qlik's SaaS analytics platform). Use when setting up a Qlik Cloud webhook endpoint, verifying the qlik-signature…

hookdeckот hookdeck★ 104 звезды на GitHub

Об этом скилле

Qlik Cloud Webhooks

Qlik Cloud tenant webhooks send a JSON CloudEvent when something happens in the tenant: apps, reloads, automations, users, API keys, data-integration tasks. If you give the webhook a secret, every delivery carries a qlik-signature header: the lowercase hex HMAC-SHA256 of the raw request body, keyed with that secret. There is no prefix, and no timestamp, id or other header is signed.

Hookdeck setup note: Set a secret on the Qlik Cloud webhook. Without one, deliveries are unsigned and fail verification.

When to Use This Skill

  • How do I receive Qlik Cloud webhooks?
  • How do I verify the qlik-signature header on a Qlik Cloud webhook?
  • Why does my Qlik Cloud webhook signature verification fail or return 401?
  • How do I handle com.qlik.v1.app.reload.finished or com.qlik.v1.automation.created events?
  • Does Qlik Cloud retry failed webhooks? (No retry policy is documented; delivery history is kept 7 days and an event can be resent by hand)

Verification (core)

const crypto = require('crypto');

function verifyQlikSignature(rawBody, signature, secret) { // rawBody: Buffer of the exact bytes received
  if (!secret || typeof signature !== 'string') return false;
  if (!/^[0-9a-fA-F]{64}$/.test(signature)) return false; // validate before comparing
  const expected = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
  const a = Buffer.from(signature.toLowerCase(), 'utf8'); // never Buffer.from(sig, 'hex') on unvalidated input
  const b = Buffer.from(expected, 'utf8');
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}
  • Header: qlik-signature, the whole value is one bare hex digest (no sha256= prefix, no list).
  • Signed content: the raw body bytes exactly as received. Never decode and re-encode them, and never JSON.parse then JSON.stringify before verifying. A GET with no body is verified over zero bytes.
  • Key: the secret's UTF-8 bytes, used as-is (not hex- or base64-decoded). The secret is 32 to 64 characters, write-once, and set when you create or edit the webhook.
  • Hex is compared case-insensitively: require exactly 64 hex characters, lowercase both sides, then compare in constant time. Python: hmac.compare_digest on bytes, never str.
  • Missing or empty header, malformed value or mismatch: 401. Read the body raw (express.raw({ type: '*/*' }), await request.arrayBuffer(), await request.body()) and parse it only after the check.
  • No timestamp is signed, so there is no replay window to check. Don't invent one from unsigned headers or body fields. Make the handler idempotent on the event id instead.
  • After verifying, treat every field of the parsed body as untrusted: check that the body and each nested field have the expected type before reading into them.

For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.

Set a Secret

Set a secret on the Qlik Cloud webhook. Without one, deliveries are unsigned and fail verification.

Without a secret Qlik Cloud sends no qlik-signature header, so every delivery fails verification (and the examples answer 401). Secrets are write-once: to rotate one, edit the webhook and enter a new value. See references/setup.md.

HTTP Methods

Qlik's Webhooks API reference describes a delivery as a POST request; the help pages only say "an HTTP JSON request". The examples also accept GET, PUT, PATCH and DELETE defensively, verify the signature first for every method, treat a missing body as empty bytes, and acknowledge a verified empty request with 200. If you ever see another method arrive, also allow it on the Hookdeck source (custom methods).

Event Payload and Types

Dispatch on the body's type field (a top-level CloudEvents type):

{
  "id": "b347fd0d-1321-417f-91ee-90e96c76389c",
  "time": "2018-10-30T07:06:22Z",
  "type": "com.qlik.v1.reload.finished",
  "source": "com.qlik/reloads",
  "specversion": "1.0",
  "tenantid": "UkeLb6ICti8OA8f3LueRI5kVNtuHc15f",
  "data": { "id": "6a849f7f18ec290e6ceb025d", "appId": "002ff8c5-3c11-4464-a22b-68fb5e7ee5e8", "succeeded": true }
}

Events in the Legacy format have been sent since November 3, 2025 as hybrids that also carry the same value in the legacy eventType; the legacy fields are removed on December 10, 2026, leaving type alone. Older payloads (the help page's example) carry only eventType, so the examples read type and fall back to eventType.

Event Sent When
com.qlik.v1.app.created An app is created
com.qlik.v1.app.exported An app is exported
com.qlik.v1.app.published An app is published
com.qlik.v1.app.deleted An app is deleted
`com.qlik.v1.app.rel
Полный SKILL.md на GitHub

Установить qlik-cloud-webhooks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

examples/express/.env.exampleexamples/express/README.mdexamples/express/package.jsonexamples/express/src/index.jsexamples/fastapi/.env.exampleexamples/fastapi/README.mdexamples/fastapi/main.pyexamples/fastapi/requirements.txtexamples/fastapi/test_webhook.pyexamples/nextjs/.env.exampleexamples/nextjs/README.mdexamples/nextjs/app/webhooks/qlik-cloud/route.tsexamples/nextjs/lib/verify-qlik-cloud.tsexamples/nextjs/package.jsonexamples/nextjs/vitest.config.tsreferences/overview.mdreferences/setup.mdreferences/verification.md

FAQ

Что делает скилл qlik-cloud-webhooks?

Receive and verify Qlik Cloud webhooks (Qlik's SaaS analytics platform). Use when setting up a Qlik Cloud webhook endpoint, verifying the qlik-signature HMAC-SHA256 header, debugging 401s, or handling events like com.qlik.v1.app.created, com.qlik.v1.app.reload.finished, com.qlik.v1.reload.finished and com.qlik.v1.automation.created.

Как установить скилл qlik-cloud-webhooks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл qlik-cloud-webhooks запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить qlik-cloud-webhooks с