From 027c81edaae56cd7bbcd3881e46283fc39c6cfb5 Mon Sep 17 00:00:00 2001 From: iSuneast Date: Tue, 25 Nov 2025 04:31:30 +0900 Subject: [PATCH] webhook_notifier support any output --- README.md | 4 ++-- webhook_notifier.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9ec0f06..e1b9999 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Webhook notification plugin for ComfyUI, used to send webhook notifications when - Automatically sends webhook notifications after generating images - Supports custom JSON data in notifications -- Simple to use, just connect to the image output +- Simple to use, just connect to any node output as a trigger (no restriction on data type) ## Installation @@ -30,7 +30,7 @@ pip install -r requirements.txt The plugin provides a Webhook Notifier node that can be connected to image output to send notifications when generation is complete. Parameter description: -- `images`: Input images (required, connect to the output of an image generation node) +- `images`: Generic trigger input (required, can connect to the output of any node; the data is **not** read or sent, only used as a trigger) - `webhook_url`: Webhook URL address (required, default is "https://example.com/webhook") - `additional_info`: Additional information in JSON format (optional, default is empty) diff --git a/webhook_notifier.py b/webhook_notifier.py index ffa4a20..76247cc 100644 --- a/webhook_notifier.py +++ b/webhook_notifier.py @@ -8,7 +8,7 @@ class WebhookNotifierNode: def INPUT_TYPES(cls): return { "required": { - "images": ("IMAGE",), + "images": ("*",), "webhook_url": ("STRING", {"default": "https://example.com/webhook"}) }, "optional": {