formstack-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Formstack Forms webhooks (the "WebHook" submit action, aka "Send Data to an External URL"). Use when setting up a Formstack form submission…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Formstack Webhooks
Formstack Forms (formstack.com) sends submission data to your endpoint through a WebHook submit action — labelled "Send Data to an External URL (WebHook)" in the form builder. One HTTP POST per form submission.
Scope. This skill is about Formstack Forms only. It does not cover Formstack Documents (formerly WebMerge, which has its own separate "Webhook Delivery" feature), Formstack Sign (formerly InsureSign), or the Salesforce-packaged products. Those are different surfaces with different payloads. A Documents delivery is easy to tell apart: it posts
merge_id,handshake,file_nameand a base64file_contents, with aWebMergeuser-agent and no signature header. A Forms delivery postsFormIDandUniqueIDwith aFormstackWebhook/1.0user-agent.
X-FS-Signatureis a shared header name, not a shared scheme. FastSpring — an unrelated e-commerce company — uses the same header name with a base64 digest and anevents[]payload envelope. Formstack uses lowercase hex and has no envelope. If you are writing.digest('base64')or looking forevents, you have the wrong provider.
When to Use This Skill
- How do I receive Formstack form submissions as a webhook?
- How do I verify the
X-FS-Signatureheader from Formstack? - Why is my Formstack HMAC verification failing on a urlencoded body?
- What event types does Formstack send? (None — see below.)
- What fields will a Formstack webhook POST to my endpoint?
- How do I configure a Formstack WebHook's HMAC Key / Custom HMAC Header?
- What is the Formstack "WebHook Shared Secret" / Handshake Key and should I use it?
There Are No Event Types
A Formstack WebHook fires on exactly one thing: a form submission.
- There is no event-type header and no event-type body field.
- There is no list of event names and no subscribe-to-events model.
form.submitted,submission.created,form_submission— none of these exist. Do not write code that switches on them.
The only filtering that exists is Routing Logic: a per-WebHook conditional filter on
the submitted answers that decides whether a given submission is sent at all. Via the
v2025 API it is a logic object (action: show|hide, conditional: all|any, and an
array of {field, condition, option} checks with condition one of equals,
notequals, greaterthan, lessthan).
Dispatch on FormID, not on an event type. See references/overview.md.
Verification (core)
Signing is optional and off by default. Formstack sends a signature only when the form owner sets an HMAC Key on that WebHook. Treat verification as required in production and fail closed: no configured key, or no header → reject.
HMAC-SHA256 over the raw request body bytes, keyed with the WebHook's HMAC Key,
rendered as lowercase hex. Nothing else is signed — no timestamp, no nonce, no URL,
no method. The header is X-FS-Signature by default but is user-overridable via the
WebHook's "Custom HMAC Header" field, so read the header name from config.
const crypto = require('crypto');
function verifyFormstackWebhook(rawBody, signatureHeader, hmacKey) {
// Fail closed: an unset key must never mean "accept anyway".
if (!signatureHeader || !hmacKey) return false;
// Formstack sends `sha256=<hex>`. Strip the prefix (tolerating its absence), trim, lowercase.
const received = signatureHeader.trim().replace(/^sha256=/i, '').trim().toLowerCase();
const expected = crypto.createHmac('sha256', hmacKey).update(rawBody).digest('hex');
const a = Buffer.from(received, 'utf8');
const b = Buffer.from(expected, 'utf8');
// Length guard first — timingSafeEqual throws on a length mismatch.
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
import hashlib, hmac, re
def verify_formstack_webhook(raw_body: bytes, signature_header, hmac_key) -> bool:
if not signature_header or not hmac_key: # fail closed
return False
received = re.sub(r"^sha256=", "", signature_header.strip(), flags=re.I).strip().lower()
expected = hmac.new(hmac_key.encode("utf-8"), raw_body, hashlib.sha256).hexdigest()
# Compare as BYTES: compare_digest raises TypeError on non-ASCII str.
return hmac.compare_digest(received.encode("utf-8", "replace"), expected.encode("ascii"))
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Confirmed against real deliveries. Formstack's current public documentation states the header name and the "HMAC Key" field but never names the algorithm or the encoding (the developer page that did now 404s). The scheme above is therefore confirmed by observation: two live WebHook deli
Установить formstack-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл formstack-webhooks?
Receive and verify Formstack Forms webhooks (the "WebHook" submit action, aka "Send Data to an External URL"). Use when setting up a Formstack form submission webhook handler, debugging X-FS-Signature HMAC verification, handling application/x-www-form-urlencoded or JSON submission payloads, or working out which fields a form will POST. Formstack has NO event types — a WebHook fires on exactly one thing, a form submission — so handlers key off FormID, not an event name.
Как установить скилл formstack-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл formstack-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic