ComfyUI-Simple-HTTP
A lightweight custom node for ComfyUI that sends an HTTPS GET request upon the completion of a workflow.
ComfyUI Simple HTTPS GET Node
A lightweight custom node for ComfyUI that sends an HTTPS GET request upon the completion of a workflow.
This is useful for triggering webhooks, sending notifications (e.g., ntfy.sh, IFTTT, Home Assistant), or logging data when your image generation is finished.
✨ Features
- Customizable Endpoint: Define a base URL and dynamic text to append.
- Execution Control: Uses a "Pass-through" image input to ensure the request is only sent after the image has been generated.
- Server Response: Outputs the server's status code and response body as a string for debugging or further processing.
- Non-Blocking: Includes a timeout to prevent your workflow from hanging if the server is unreachable.
📥 Installation
Method 1: Manual Installation
- Navigate to your ComfyUI
custom_nodesdirectory via your terminal/command prompt. - Clone this repository:
git clone https://github.com/your-username/ComfyUI-Simple-HTTP.git - Restart ComfyUI.
Method 2: Manual Copy
- Download the repository as a ZIP file.
- Extract the folder into
ComfyUI/custom_nodes/. - Restart ComfyUI.
🛠️ Usage
How to ensure it runs at the end
ComfyUI executes nodes based on dependency. If you place this node on the canvas but don't connect inputs, it might run immediately.
To make it run after generation:
- Add the node:
Add Node>Network>HTTPS GET Notification. - Connect your Save Image or KSampler output (IMAGE) into the
trigger_imageinput of this node. - (Optional) Connect the
pass_through_imageoutput to aPreview Imagenode if you want to see the image pass through.
Inputs
| Input Name | Type | Description |
| :--- | :--- | :--- |
| url | STRING | The base URL (e.g., https://ntfy.sh/mytopic?message=). |
| text_to_append | STRING | Text to add to the end of the URL (e.g., Done). |
| trigger_image | IMAGE | (Important) Connect the result of your generation here to force the request to wait until the image is ready. |
Outputs
| Output Name | Type | Description | | :--- | :--- | :--- | | pass_through_image | IMAGE | The image passed into the trigger_input (unchanged). | | server_response | STRING | The HTTP status code and text response from the server. |
📦 Requirements
This node relies on the standard Python requests library. This is usually included in standard Python environments, but if you are using the ComfyUI portable version and run into issues, you can install it via:
pip install requests
📄 License & Credits
Author: Code generated by an AI Assistant (ChatGPT [actually Gemini 3 Pro Preview, it apparently doesn't like taking credit --nikmess]) based on user specifications.
This project is open-source. Feel free to modify and distribute.