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 trigger
    • renderModebasic (o advanced per pagine JS-heavy)
  • Headers:
    • AuthorizationBearer YOUR_API_KEY
    • Content-Typeapplication/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

  1. Aggiungi un trigger Webhooks by Zapier → Catch Hook in uno Zap separato e copia la sua URL
  2. Nel tuo Zap che invia il batch, includi callback.url puntato su quel hook
  3. Lo Zap catch-hook si attiva quando il batch finisce; itera results con 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

Correlati