連携
Make.com
HTTP と Webhooks モジュールで Thunderbit シナリオを構築 —— ノーコード
Make.com(旧 Integromat)はビジュアルキャンバスを提供します。モジュール 2 つですべてカバー:投入用に HTTP → Make a request、バッチコールバック用に Webhooks → Custom webhook。
単一 URL —— /distill
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
次のモジュールには {{2.data.markdown}} が見えます —— Google Sheets、Notion、Slack、OpenAI などに繋ぎ込み。
バッチ —— /batch/distill + Custom webhook
- 先に Webhooks → Custom webhook モジュールを追加。URL をコピー。
- 別シナリオで HTTP → Make a request を追加:
{
"urls": [{{1.urls}}],
"callback": {
"url": "{{webhook_url_from_step_1}}",
"secret": "whsec_..."
}
}- バッチ完了時に Webhook シナリオが発火。Iterator を
data.resultsにかけて各行をループ。
コールバック署名の検証
Tools → Set variable を追加:
hmac(sha256, secret, raw_body) === headers.X-Thunderbit-SignatureRouter で不正な署名を切り捨て。