Feature: outbound webhooks for Tx events (Issue/Doc/Membership changes) #236
Replies: 3 comments 1 reply
|
Hi @ahmadoqsrawi, thanks for proposing this! I’d welcome outbound webhook subscriptions. I’d suggest starting with issue events only, workspace-admin-managed subscriptions, and project/status filters. A separate service could consume the existing workspace For the design, I’d want to cover:
I see #33 as the user-facing counterpart for additional notification channels. Would you like to take this on? I’d be happy to review the design and PR. |
|
Thanks @MichaelUray - yes, happy to take this on, and the scope you outlined matches what I'd want for v1. Plan, following the pattern that worked for #238:
Dependencies and ordering: I'd like to land #238 first so I'm not juggling two in-flight PRs on the same reviewer. Once #238 merges I'll open the webhooks design PR within a few days. Does that cadence work for you? For #33 - I read it as the user-facing counterpart (adding Slack / Discord / Teams / etc. as notification channels inside the product). The webhooks work is the plumbing underneath; a Slack channel plugin that posts via webhooks would be a natural first consumer. Happy to coordinate if someone is already working on #33. |
|
Design PR up: #249 - Four open questions called out at the bottom for the review: Settings tab location, Apprise URL plaintext case, template-language scope, service naming ( I've also included a "Coordination with #33" section proposing shared conventions with @thomas-bouvier's inbound work so a self-hoster sees one shape of integration surface for both directions. Fully open to a counter-proposal from him on service layout, secret storage, UI home and rate-limit shape. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
Huly already models every change as a Tx, but there is no way to subscribe to a Tx stream from outside Huly. Teams who want "when an Issue hits status X, do Y in another system" (Slack notification, n8n workflow, custom endpoint) have no option other than polling the API from an external daemon.
Ask
A per-workspace webhook subscription doc that the transactor consults when applying a Tx, firing a signed HTTP POST on each matching event.
Suggested data model
Delivery contract
Each POST carries:
X-Huly-Signature: sha256=<hex>where<hex> = HMAC_SHA256(secret, body)X-Huly-Event: IssueStatusChange(etc.)X-Huly-Delivery: <uuid>for idempotency on the receiverReceivers must respond 2xx within a short timeout (e.g. 10s) or the delivery is retried per
retryPolicy.UI
In Settings -> Integrations, a Webhooks tab. For each subscription:
Why this unlocks
A clean path for every "when X happens in Huly, do Y elsewhere" automation. Downstream tools (Slack, n8n, custom scripts) already speak HTTP + HMAC; Huly becomes the event source. Lowers the barrier to building integrations without each team re-implementing API polling.
Related
All reactions