Whatsapp Node

Just for test here, will use console print first
This commit is contained in:
Waheed-Mousad
2025-06-09 04:45:39 +03:00
parent cd4d6dc426
commit df2bfeaae8
6 changed files with 28 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml
View File
View File
+9
View File
@@ -0,0 +1,9 @@
from .whatsapp_notify_node import WhatsAppNotifyNode
NODE_CLASS_MAPPINGS = {
"WhatsAppNotifyNode": WhatsAppNotifyNode,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"WhatsAppNotifyNode": "📲 WhatsApp Notify",
}
View File
+16
View File
@@ -0,0 +1,16 @@
class WhatsAppNotifyNode:
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"message": ("STRING", {"default": "✅ Workflow complete!"}),
}
}
RETURN_TYPES = () # No outputs
FUNCTION = "notify"
CATEGORY = "Notifications"
def notify(self, message: str):
print(f"[📲 WhatsAppNotifyNode] Message to send: {message}")
return ()