Package Information
Released: 5 mo ago
Downloads: 6 weekly / 60 monthly
Latest Version: 0.1.1
Author: Vexxo
Documentation
n8n-nodes-zagelcast
Community node for n8n that integrates with the ZagelCast WhatsApp API.
Features
ZagelCast (Action Node)
Send WhatsApp messages and manage webhook config:
- Send Text — plain text message
- Send Image — image with optional caption
- Send Document — file/PDF/etc with caption
- Send Audio — voice or audio file
- Send Video — video with caption
- Send Location — lat/lng pin with label
- Send Contact — vCard contact card
- Send Poll — poll with multiple options
- Mark as Seen — blue ticks on a message
- Start/Stop Typing — typing indicator
- Get/Set Webhook Config — manage your webhook URL
ZagelCast Trigger (Webhook Node)
Receive real-time events from ZagelCast:
- Incoming Message — new message received
- Any Message — sent or received (for CRM mirroring)
- Message Delivery Update — sent/delivered/read status
- Message Reaction — emoji reactions
- Message Deleted / Edited
- Session / Connection status
- Group Join / Leave
Output data includes convenience fields:
_from— sender phone/JID_to— recipient chat ID_body— message text_type— message type (text, image, etc.)_messageId— message ID_isGroup— boolean, true if group chat_isMe— boolean, true if sent by you
Installation
Option A — npm (recommended)
cd ~/.n8n
npm install n8n-nodes-zagelcast
Option B — Local (development)
# 1. Clone this repo
git clone https://github.com/Vexxo-Dev/n8n-nodes-zagelcast
cd n8n-nodes-zagelcast
# 2. Build
npm install
npm run build
# 3. Link into n8n
cd ~/.n8n/custom
npm link /path/to/n8n-nodes-zagelcast
Then restart n8n.
Credentials Setup
In n8n → Credentials → New → ZagelCast API, enter:
| Field | Where to find it |
|---|---|
| Instance ID | ZagelCast Dashboard → Instances |
| API Token | ZagelCast Dashboard → Developer Tools |
| Webhook Secret | Optional — used to verify X-Webhook-Signature header |
API Endpoint Reference
| Operation | Method | Endpoint |
|---|---|---|
| Send Text | POST | /<instanceId>/messages/chat?token=... |
| Send Image | POST | /<instanceId>/messages/image?token=... |
| Send Document | POST | /<instanceId>/messages/document?token=... |
| Send Audio | POST | /<instanceId>/messages/audio?token=... |
| Send Video | POST | /<instanceId>/messages/video?token=... |
| Send Location | POST | /<instanceId>/messages/location?token=... |
| Send Contact | POST | /<instanceId>/messages/contact?token=... |
| Send Poll | POST | /<instanceId>/messages/poll?token=... |
| Mark as Seen | POST | /<instanceId>/messages/seen?token=... |
| Start Typing | POST | /<instanceId>/messages/typing?token=... |
| Stop Typing | POST | /<instanceId>/messages/stopTyping?token=... |
| Get Webhook | GET | /<instanceId>/webhook?token=... |
| Set Webhook | PUT | /<instanceId>/webhook?token=... |
Webhook Signature Verification
ZagelCast sends X-Webhook-Signature as HMAC-SHA256 of the full JSON body.
Set your Webhook Secret in credentials and the trigger node will verify automatically.
License
MIT — Vexxo