Integrationen

Make.com

Bau ein Thunderbit-Szenario mit HTTP- und Webhooks-Modulen — ganz ohne Code

Make.com (früher Integromat) gibt dir eine visuelle Canvas. Zwei Module decken alles ab: HTTP → Make a request für die Übermittlung, Webhooks → Custom webhook für Batch-Callbacks.

Einzelne URL — /distill

Füge ein HTTP → Make a request-Modul hinzu:

  • URL: https://openapi.thunderbit.com/openapi/v1/distill
  • Methode: POST
  • Headers:
    • Authorization: Bearer YOUR_API_KEY
    • Content-Type: application/json
  • Body type: Raw · Content type: JSON (application/json)
  • Request content:
{ "url": "{{1.url}}", "renderMode": "basic" }
  • Parse response: Yes

Das nächste Modul sieht {{2.data.markdown}} — verdrahte es zu Google Sheets, Notion, Slack, OpenAI usw.

Batch — /batch/distill + Custom Webhook

  1. Füge zuerst ein Webhooks → Custom webhook-Modul hinzu. Kopiere dessen URL.
  2. Im separaten Szenario fügst du HTTP → Make a request hinzu:
{
  "urls": [{{1.urls}}],
  "callback": {
    "url":    "{{webhook_url_from_step_1}}",
    "secret": "whsec_..."
  }
}
  1. Das Webhook-Szenario feuert, sobald der Batch fertig ist. Nutze einen Iterator auf data.results, um über jede Zeile zu loopen.

Callback-Signatur verifizieren

Füge ein Tools → Set variable hinzu:

hmac(sha256, secret, raw_body) === headers.X-Thunderbit-Signature

Nutze einen Router, um schlechte Signaturen zu verwerfen.

Verwandt