Skip to content

Add Webhooks page to Token Gated Forms#112

Merged
keiloktql merged 4 commits into
mainfrom
claude/form-webhooks-docs
Jul 23, 2026
Merged

Add Webhooks page to Token Gated Forms#112
keiloktql merged 4 commits into
mainfrom
claude/form-webhooks-docs

Conversation

@keiloktql

@keiloktql keiloktql commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a Webhooks page under Features → Token Gated Forms, documenting the per-form webhooks feature (P-1959, formono PR #2076). Covers setup, native Slack support, the payload and headers, HMAC signature verification, inspecting requests on webhook.site, and delivery/retry behavior.

Key Changes

  • New features/token-gated-forms/webhooks.mdx — setup steps, Slack, JSON payload + header table, signature verification (Node + Python), webhook.site inspection tip, delivery semantics.
  • Added the page to the "Token Gated Forms" nav group in docs.json.

Published URL: https://docs.formo.so/features/token-gated-forms/webhooks — matches the "Learn more" link added in the app's Webhooks settings.

🤖 Generated with Claude Code


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Documents per-form webhooks (P-1959): setup, native Slack support, the
JSON payload + headers, HMAC signature verification (Node/Python),
inspecting requests on webhook.site, and delivery/retry behavior.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
formo 🟢 Ready View Preview Jul 23, 2026, 8:56 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Explain the signing model (authenticity/integrity/replay protection),
why the signature differs on every send, secret handling, and the
public-URL/SSRF restriction.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@yosriady yosriady left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove all the <Tip> and <Warning> tags to simplify the docs

no need for too much internal details, the APIs should return proper error messages instead

Comment thread features/token-gated-forms/webhooks.mdx Outdated

---

## How the security works

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## How the security works
## Security

Comment thread features/token-gated-forms/webhooks.mdx Outdated
- **Only public `http(s)` endpoints are allowed.** URLs that resolve to private, loopback, link-local, or internal-cloud addresses are rejected, so a webhook can't be used to probe internal infrastructure.
- **Slack** incoming webhooks don't use the secret. They authenticate by the secrecy of their URL, so keep the URL private and rotate it in Slack if it leaks.

## Verifying the signature

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Verifying the signature
### Verifying signatures

Comment thread features/token-gated-forms/webhooks.mdx Outdated

---

## Payload

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Payload
## Sample Payload

Comment thread features/token-gated-forms/webhooks.mdx Outdated

---

## Add a webhook

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Add a webhook
## Setup

Comment thread features/token-gated-forms/webhooks.mdx Outdated

---

## Slack

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Slack
### Slack

Comment thread features/token-gated-forms/webhooks.mdx Outdated
@@ -0,0 +1,173 @@
---
title: 'Webhooks'
description: 'Send each new form response to an external URL as it arrives: Zapier, Make, n8n, your own server, or straight into a Slack channel.'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: 'Send each new form response to an external URL as it arrives: Zapier, Make, n8n, your own server, or straight into a Slack channel.'
description: 'Send each new form response to other tools as it arrives: Zapier, Make, n8n, or Slack.'

- Remove all <Tip> and <Warning> callouts; trim internal detail
- Rename headings: Setup, Sample Payload, Security, ### Slack,
  ### Verifying signatures
- Shorten the frontmatter description

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@keiloktql
keiloktql merged commit 41b5f15 into main Jul 23, 2026
6 checks passed
@keiloktql
keiloktql deleted the claude/form-webhooks-docs branch July 23, 2026 11:04
@mintlify

mintlify Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
formo 🟡 Building Jul 23, 2026, 8:55 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants