community-automations/webhook-triage

DevOps & Κώδικας

PublicΥποπράκτορας Claude

Τριaging Webhooks

Όταν δεκάδες υπηρεσίες στέλνουν webhook στο ίδιο endpoint, ένα τεράστιο if-else block γρήγορα γίνεται κάτι που κανείς δεν θέλει να αγγίξει. Αυτό το στρώμα διαλογής κάθεται μπροστά και αποφασίζει πού ανήκει κάθε συμβάν.

sonnet4 ημέρεςWebhookOpenAIRedisSlack
ClaudeClaude
ROI for
README.md

Γιατί αυτός ο subagent

Όταν δεκάδες υπηρεσίες στέλνουν webhook στο ίδιο endpoint, ένα τεράστιο if-else block γρήγορα γίνεται κάτι που κανείς δεν θέλει να αγγίξει. Αυτό το στρώμα διαλογής κάθεται μπροστά και αποφασίζει πού ανήκει κάθε συμβάν.

Επαληθεύει την υπογραφή, αναλύει το συμβάν, απορρίπτει τα διπλότυπα με βάση μια cache και το δρομολογεί στον κατάλληλο handler. Ό,τι δεν μπορεί να ταξινομηθεί επισημαίνεται στο Slack αντί να χάνεται σιωπηλά. Παίρνεις ένα καθαρό dispatch log που δείχνει κάθε απόφαση και τον λόγο που πάρθηκε.

Πώς λειτουργεί

    • 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.

Δείγμα εξόδου

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.