From e7fff3c9b5fa3482f1c0cb3bc2056d8f270f12b5 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Fri, 15 May 2026 01:44:58 +0100 Subject: [PATCH] feat(webhooks): backend module, dispatcher, processor, controller --- apps/server/src/ee | 2 +- .../emails/webhook-disabled-email.tsx | 38 +++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 apps/server/src/integrations/transactional/emails/webhook-disabled-email.tsx diff --git a/apps/server/src/ee b/apps/server/src/ee index 0e782be55..5c4c9e9bf 160000 --- a/apps/server/src/ee +++ b/apps/server/src/ee @@ -1 +1 @@ -Subproject commit 0e782be55dd4d7b3697eeeb2324f09b958f58ec5 +Subproject commit 5c4c9e9bf33ce46658352a15f8a5c3d84816e8f9 diff --git a/apps/server/src/integrations/transactional/emails/webhook-disabled-email.tsx b/apps/server/src/integrations/transactional/emails/webhook-disabled-email.tsx new file mode 100644 index 000000000..30ec17d75 --- /dev/null +++ b/apps/server/src/integrations/transactional/emails/webhook-disabled-email.tsx @@ -0,0 +1,38 @@ +import { Section, Text } from 'react-email'; +import * as React from 'react'; +import { content, paragraph } from '../css/styles'; +import { EmailButton, MailBody, getGreetingName } from '../partials/partials'; + +interface Props { + recipientName?: string; + webhookName: string; + webhookUrl: string; + settingsUrl: string; +} + +export const WebhookDisabledEmail = ({ + recipientName, + webhookName, + webhookUrl, + settingsUrl, +}: Props) => { + return ( + +
+ Hi {getGreetingName(recipientName)}, + + Your webhook {webhookName} to{' '} + {webhookUrl} has been disabled after too many + consecutive delivery failures. + + + Re-enable it in your workspace settings once the receiving endpoint + is healthy again. + +
+ Open webhook settings +
+ ); +}; + +export default WebhookDisabledEmail;