Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Webhook platform design/Subscription-lifecycle-comparison
Reference · Webhook platform design

Subscription-lifecycle-comparison

Part of Webhook platform design. Install the skill and your agent reads this page when it needs the depth.

Subscription lifecycle and debugging surface: vendor comparison

Detail behind SKILL.md steps 5-6. The clearest pattern in this data: the three infrastructure-only vendors (Svix, Hookdeck, Convoy) converge on richer states, deeper filtering, true replay, and a full portal, while the platforms where webhooks are one feature among many (Stripe partially, Shopify, GitHub) ship the thinner model. Treat the infrastructure-vendor shape as the target state; the thinner shape is what most teams launch with and outgrow.

Endpoint states

Vendor States Notes
Stripe enabled / disabled Auto-disabled after the ~3-day retry window
GitHub active / inactive Binary
Shopify active until auto-deleted 8 consecutive failures deletes an Admin-API-created subscription; TOML-declared ones restore on deploy
Svix, Hookdeck, Convoy active / paused / disabled Plus auto-disable-with-notification on sustained failure - the model to default to

Case-study lesson on state design (Salesforce's managed event subscriptions): valid states are run and stop; an internal pause state exists but user-created subscriptions are rejected from setting it. The transferable rule: choose the states a customer-created subscription may legally reach, and reject internal-only states at the API boundary rather than exposing them.

Replay positions (same case study)

Two independently configured positions, each taking "latest" (new events only) or "earliest" (full retained backlog):

These can legitimately differ; specify both.

Replay and backfill capability

The sharpest capability split in the domain:

Filtering and fan-out

Two independent filtering axes - keep them separate in the design:

  1. Event type - selection against the catalog (Stripe's enabled_events, Shopify's one-subscription-per-topic).
  2. Recipient/channel scoping - an orthogonal dimension for sub-grouping deliveries (per-tenant, per-repo, per-project). Svix models this as "channels", off by default, filtered independently of event types; Hookdeck and Convoy route on richer rule/payload-structure criteria.

Filtering is producer-side: an endpoint with no filter configured receives everything - state that explicitly. Multi-endpoint fan-out is universal (Standard Webhooks recommends multiple endpoints per consumer as a resilience pattern); one event fans out to every matching endpoint, each delivered and retried independently, so one slow or broken endpoint never blocks the others.

Portal and testing tooling benchmark

What the A-grade debugging surface actually ships, per vendor:

Local tunneling and inspection (ngrok-class tunnels, request-inspection sites) are a shared consumer-side ecosystem - your docs should point at the category rather than build it, unless you ship a first-party CLI tunnel.

No-code consumers arrive with the catch-URL mental model from workflow-automation tools: a temporary URL captures one real payload so they can map fields before building logic, and a frequent production bug is a sender left pointed at the test URL after setup. Your test-event feature is the provider side of that same job - design and document it assuming this mental model, and make test deliveries clearly distinguishable from live ones.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.