Integraciones

Make.com

Construye un escenario de Thunderbit con módulos HTTP y Webhooks — sin código

Make.com (antes Integromat) te da un canvas visual. Dos módulos lo cubren todo: HTTP → Make a request para el envío y Webhooks → Custom webhook para los callbacks de batch.

URL única — /distill

Añade un módulo HTTP → Make a request:

  • URL: https://openapi.thunderbit.com/openapi/v1/distill
  • Method: 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

El siguiente módulo verá {{2.data.markdown}} — conéctalo a Google Sheets, Notion, Slack, OpenAI, etc.

Batch — /batch/distill + Custom webhook

  1. Añade primero un módulo Webhooks → Custom webhook. Copia su URL.
  2. En un escenario aparte, añade HTTP → Make a request:
{
  "urls": [{{1.urls}}],
  "callback": {
    "url":    "{{webhook_url_from_step_1}}",
    "secret": "whsec_..."
  }
}
  1. El escenario del Webhook se dispara cuando el batch termina. Usa un Iterator sobre data.results para recorrer cada fila.

Verifica la firma del callback

Añade un Tools → Set variable con:

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

Usa un Router para descartar firmas inválidas.

Relacionado