Integrations
n8n
Build a no-code Thunderbit workflow with HTTP Request + Webhook nodes
n8n is the open-source automation runner most developers reach for. Two built-in nodes are all you need: HTTP Request to submit a job, Webhook to catch the callback.
Single URL — /distill
- Add an HTTP Request node
- Method:
POST· URL:https://openapi.thunderbit.com/openapi/v1/distill - Authentication: Header Auth →
Authorization: Bearer YOUR_API_KEY - Body (JSON):
{
"url": "{{ $json.url }}",
"renderMode": "basic"
}- The next node receives
{{ $json.data.markdown }}. Pipe into Notion, Slack, OpenAI, etc.
Batch — /batch/distill + Webhook callback
Async jobs are the right pattern past 5-10 URLs. Two workflows:
Workflow A: Submitter
- HTTP Request →
POST /openapi/v1/batch/distill - Body:
{
"urls": {{ $json.urls }},
"callback": {
"url": "https://your-n8n.example.com/webhook/thunderbit",
"secret": "whsec_..."
}
}Workflow B: Receiver
- Webhook node, path
thunderbit - Verify
X-Thunderbit-Signatureheader against your secret (Function node, HMAC-SHA256) - Iterate
{{ $json.results }}→ write eachmarkdownto your sink
Tips
- Use n8n's Wait node + a polling HTTP Request to
/batch/{jobId}if you can't expose a public webhook - Set the HTTP Request node's
Continue On Failso a single 4xx doesn't kill the workflow