Integrazioni
Make.com
Costruisci uno scenario Thunderbit con i moduli HTTP e Webhooks — senza codice
Make.com (ex Integromat) ti dà un canvas visuale. Due moduli coprono tutto: HTTP → Make a request per l'invio, Webhooks → Custom webhook per le callback batch.
URL singolo — /distill
Aggiungi un modulo HTTP → Make a request:
- URL:
https://openapi.thunderbit.com/openapi/v1/distill - Method:
POST - Headers:
Authorization: Bearer YOUR_API_KEYContent-Type: application/json
- Body type:
Raw· Content type:JSON (application/json) - Request content:
{ "url": "{{1.url}}", "renderMode": "basic" }- Parse response:
Yes
Il modulo successivo vede {{2.data.markdown}} — collegalo a Google Sheets, Notion, Slack, OpenAI, ecc.
Batch — /batch/distill + Custom webhook
- Aggiungi prima un modulo Webhooks → Custom webhook. Copia la sua URL.
- In uno scenario separato, aggiungi HTTP → Make a request:
{
"urls": [{{1.urls}}],
"callback": {
"url": "{{webhook_url_from_step_1}}",
"secret": "whsec_..."
}
}- Lo scenario del Webhook si attiva quando il batch finisce. Usa un Iterator su
data.resultsper ciclare ogni riga.
Verifica la firma della callback
Aggiungi un Tools → Set variable con:
hmac(sha256, secret, raw_body) === headers.X-Thunderbit-SignatureUsa un Router per scartare le firme non valide.