import { CopyButton } from "@/features/agents/ui/CopyButton"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@/shared/ui/dialog"; type WorkflowWebhookSecretDialogProps = { onOpenChange: (open: boolean) => void; open: boolean; relayHttpUrl: string; webhookSecret: string; workflowId: string; }; export function WorkflowWebhookSecretDialog({ onOpenChange, open, relayHttpUrl, webhookSecret, workflowId, }: WorkflowWebhookSecretDialogProps) { const webhookUrl = `${relayHttpUrl}/hooks/${workflowId}`; return ( Webhook Ready This secret is only shown now. If it is lost, re-save the workflow to generate a new one.

Webhook URL

              {webhookUrl}
            

`X-Webhook-Secret`

              {webhookSecret}
            
); }