@dickyermawan/n8n-nodes-kilas
v1.3.2
Published
n8n community nodes for Kilas WhatsApp Gateway
Maintainers
Readme
n8n-nodes-kilas
This is an n8n community node package for Kilas WhatsApp Gateway. It lets you integrate Kilas WhatsApp Gateway with your n8n workflows.
Kilas is a modern, fast, and reliable WhatsApp Gateway built with Baileys, featuring a beautiful dashboard, multi-session support, and comprehensive REST API.
n8n is a fair-code licensed workflow automation platform.
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Nodes (Recommended)
- Go to Settings > Community Nodes
- Select Install
- Enter
@dickyermawan/n8n-nodes-kilasin Enter npm package name - Agree to the risks and install
Manual Installation
cd ~/.n8n/nodes
npm install @dickyermawan/n8n-nodes-kilasRestart n8n after installation.
Credentials
This package provides the Kilas API credential:
- Base URL: The URL of your Kilas instance (default:
http://localhost:3000) - API Key: Your Kilas API key (leave empty if authentication is disabled)
Nodes
Kilas
The main node for interacting with Kilas WhatsApp Gateway.
Resources
Message
- Send Text - Send a text message
- Send Text with Quote/Reply - Reply to a specific message
- Send Image - Send an image (binary, base64, or URL)
- Send Document - Send a document (binary, base64, or URL)
- Send Location - Send a location with coordinates
- Start Typing - Show "typing..." indicator
- Stop Typing - Hide "typing..." indicator
- Check Message Status - Check delivery status (pending/sent/delivered/read)
Session
- Get All - Get all active sessions
- Create - Create a new WhatsApp session
- Delete - Delete a session
Group
- Get All - Get all groups for a session
- Create - Create a new WhatsApp group
Contact
- Get All - Get all contacts for a session
Status
- Post Text - Post a text status update
Webhook
- Configure - Configure webhook for a session
- Get Configuration - Get current webhook configuration
- Test - Test webhook connection
- Delete - Delete webhook configuration
Kilas Trigger
Webhook trigger node that receives events from Kilas.
Features
- Receives real-time events from Kilas
- Supports all 11 event types:
- Connection Update
- Messages Upsert (new messages)
- Messages Update
- Messages Delete
- Presence Update
- Chats Upsert
- Chats Update
- Contacts Upsert
- Groups Upsert
- Group Participants Update
- Call
- Filter group/private messages
- Automatic webhook registration/deregistration
Usage Examples
Send a WhatsApp Message
- Add the Kilas node to your workflow
- Select Message resource
- Select Send Text operation
- Enter your Session ID
- Enter the recipient's Chat ID (phone number with country code, e.g.,
628123456789) - Enter your Text message
- Execute the node
Receive WhatsApp Messages
- Add the Kilas Trigger node to your workflow
- Enter your Session ID
- Select the Events you want to receive (e.g.,
Messages Upsert) - Optionally enable filters for group/private messages
- Activate the workflow
- The trigger will automatically configure the webhook in Kilas
Send Image from Previous Node
- Use a node that outputs binary data (e.g., HTTP Request)
- Add the Kilas node
- Select Message > Send Image
- Choose Binary Data as input type
- Enter the binary property name (usually
data) - Add a caption if desired
- Execute the node
Reply to a Message (Quote)
- Add the Kilas Trigger node to receive messages (get message IDs)
- Add the Kilas node
- Select Message > Send Text
- Enter your Session ID
- Enter the recipient's Chat ID
- Enter your Text message
- In Quoted Message ID, enter the message ID from the trigger (e.g.,
{{$json.data.messages[0].key.id}}) - Execute the node
Show Typing Indicator
- Add the Kilas node
- Select Message > Start Typing
- Enter your Session ID
- Enter the Chat ID
- Execute the node (typing indicator will show for ~30 seconds or until stopped)
To stop manually:
- Add another Kilas node
- Select Message > Stop Typing
- Use the same Session ID and Chat ID
- Execute the node
Compatibility
- Requires n8n version 0.198.0 or higher
- Compatible with Kilas WhatsApp Gateway v1.0.0+
Resources
License
Support
For issues related to:
- This n8n package: Open an issue in this repository
- Kilas WhatsApp Gateway: Visit the Kilas repository
- n8n platform: Visit n8n community forum
Version History
1.3.0
- Added URL input type for Send Image (use
imageUrlparameter) - Added URL input type for Send Document (use
documentUrlparameter) - Baileys downloads and sends media directly from URLs
1.2.0
- Added Check Message Status operation to check delivery status (pending/sent/delivered/read)
1.1.3
- Fixed Kilas Trigger authentication - API key now properly sent in webhook operations
1.1.2
- Changed package name to scoped package:
@dickyermawan/n8n-nodes-kilas - Updated node icon with new Kilas logo
1.1.1
- Fixed authentication issue - API key now properly sent in all requests
1.1.0
- Added Quote/Reply message support via
quotedMessageIdparameter - Added typing indicator operations (Start Typing, Stop Typing)
- Enhanced message operations with more control
1.0.0
- Initial release
- Support for all Kilas API endpoints
- Webhook trigger with event filtering
- Binary and base64 support for media files
