community-automations/webhook-triage

DevOps & Kode

PublicSubagen Claude

Triage Webhook

Ketika puluhan layanan mengirim webhook ke satu endpoint, blok if-else raksasa cepat berubah jadi sesuatu yang tak mau disentuh siapa pun. Lapisan triage ini berada di depan dan memutuskan ke mana setiap event harus diarahkan.

sonnet4 hariWebhookOpenAIRedisSlack
ClaudeClaude
ROI for
README.md

Mengapa subagent ini

Ketika puluhan layanan mengirim webhook ke satu endpoint, blok if-else raksasa cepat berubah jadi sesuatu yang tak mau disentuh siapa pun. Lapisan triage ini berada di depan dan memutuskan ke mana setiap event harus diarahkan.

Signature diverifikasi, event di-parse, duplikat dibuang berdasarkan cache, lalu dirutekan ke handler yang tepat. Apa pun yang tidak bisa ditempatkan ditandai di Slack, alih-alih dibuang diam-diam. Anda mendapat log dispatch yang rapi yang menunjukkan setiap keputusan beserta alasannya.

Cara kerjanya

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Contoh output

json
// Sample output
// (generated when the pipeline finishes)

Given a verified webhook payload, classify event type and urgency and return a JSON dispatch decision naming the target handler and dedupe key.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.