Integrazioni
Zapier
Attiva Thunderbit da una qualsiasi delle 7000+ app di Zapier con Webhooks by Zapier
L'azione ufficiale Webhooks by Zapier copre Thunderbit end-to-end. Zap a due step: si attiva il trigger, il Webhook fa POST su /distill.
Setup
Trigger — scegli quello che vuoi (nuova riga in Google Sheets, nuovo messaggio in Slack, scheduled, …).
Action 1: Webhooks by Zapier → POST
- URL:
https://openapi.thunderbit.com/openapi/v1/distill - Payload Type:
JSON - Data:
url— mappa dal triggerrenderMode—basic(oadvancedper pagine JS-heavy)
- Headers:
Authorization—Bearer YOUR_API_KEYContent-Type—application/json
Action 2 (opzionale) — manda data.markdown in Notion / Airtable / Slack / OpenAI.
Job batch asincroni
L'azione Webhook di Zapier aspetta fino a 30s, ok per /distill ma stretto per /batch/distill. Due opzioni:
Opzione A — Catch Hook callback
- Aggiungi un trigger Webhooks by Zapier → Catch Hook in uno Zap separato e copia la sua URL
- Nel tuo Zap che invia il batch, includi
callback.urlpuntato su quel hook - Lo Zap catch-hook si attiva quando il batch finisce; itera
resultscon un'azione Looping
Opzione B — Schedule + Poll
Se non puoi avere due Zap, usa un trigger Schedule by Zapier ogni 5 min e chiama GET /batch/{jobId} finché status: COMPLETED.
Suggerimenti
- Conserva l'API Key in un record di Zapier Storage così non la incolli in più Zap
- Usa Filter by Zapier sulla risposta per saltare i risultati vuoti prima degli step successivi