통합
Make.com
HTTP와 Webhooks 모듈로 Thunderbit 시나리오 구성 —— 코드 없이
Make.com(구 Integromat) 은 비주얼 캔버스를 제공합니다. 모듈 두 개면 충분합니다 —— 제출에는 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 로 잘못된 시그니처를 떨어뜨리세요.