Overview
Webhooks let you receive an HTTP POST notification at your own endpoint every time a conversion completes. Use them to trigger workflows in Zapier, Make, n8n, or any custom backend.Webhooks are a PRO plan feature. Each user can register up to 3 webhook endpoints.
Setup
- Open the Web2MD extension and go to Settings.
- Scroll to the Webhooks section.
- Enter your endpoint URL and click Add Webhook.
- Copy the signing secret — you will need it to verify incoming requests.
Payload
When a conversion completes, Web2MD sends aPOST request to your endpoint with the following JSON body:
| Field | Type | Description |
|---|---|---|
event | string | Always "conversion.completed" |
data.conversionId | string | Unique ID for this conversion |
data.url | string | The source URL that was converted |
data.title | string | The page title |
data.markdownLength | number | Character length of the generated Markdown |
data.timestamp | string | ISO 8601 timestamp of the conversion |
Security
Every webhook request includes anX-Web2MD-Signature header containing an HMAC-SHA256 signature of the raw request body, signed with your webhook’s signing secret.
Verification example (Node.js)
Retry behavior
| Attempt | Timing | Timeout |
|---|---|---|
| First | Immediate | 5 seconds |
| Retry | 1 second after first failure | 5 seconds |
Use cases
Zapier / Make / n8n
Use a Webhook trigger in your automation platform to start a workflow whenever a page is converted — post to Slack, add a row to a spreadsheet, or save to Notion.
Slack notifications
Send a message to a Slack channel every time a team member converts a page, keeping everyone in the loop.
Auto-save to external storage
Fetch the full Markdown via the REST API (using
conversionId) and save it to S3, Google Drive, or your own database.Analytics pipeline
Track conversion volume and content types by forwarding webhook events to your analytics backend.