n8n-nodes-wassenger 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +112 -0
- package/Wassenger.node.json +29 -0
- package/dist/constants/countries.js +1772 -0
- package/dist/constants/index.js +5 -0
- package/dist/credentials/ApiKey.credentials.js +30 -0
- package/dist/index.js +47 -0
- package/dist/nodes/Base/BaseNode.js +62 -0
- package/dist/nodes/Files/UploadFile.node.js +73 -0
- package/dist/nodes/Messages/SendMessage.node.js +93 -0
- package/dist/nodes/Messages/commonProperties.js +116 -0
- package/dist/nodes/RawRequest/RawRequest.node.js +179 -0
- package/dist/nodes/Validator/ValidateNumbers.node.js +102 -0
- package/dist/nodes/Validator/VerifyNumberExists.node.js +75 -0
- package/dist/nodes/Webhooks/Webhook.node.js +237 -0
- package/dist/nodes/globalProperties.js +14 -0
- package/dist/nodes/methods.js +61 -0
- package/icon.png +0 -0
- package/package.json +58 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Wassenger
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# n8n plugin for Wassenger WhatsApp API
|
|
2
|
+
|
|
3
|
+
[](LICENSE)
|
|
4
|
+
[](https://www.npmjs.com/package/n8n-nodes-wassenger)
|
|
5
|
+
|
|
6
|
+
[Wassenger n8n plugin](https://wassenger.com)
|
|
7
|
+
|
|
8
|
+
This is an [n8n](https://n8n.io) community node that integrates [Wassenger's WhatsApp API](https://app.wassenger.com/docs) functionality into your n8n workflows.
|
|
9
|
+
|
|
10
|
+
Send WhatsApp messages, upload media files, validate phone numbers, and more - all within your automated workflows.
|
|
11
|
+
|
|
12
|
+
[Wassenger](https://wassenger.com) is a simple and versatile WhatsApp API solution for business messaging to virtually automate anything on WhatsApp.
|
|
13
|
+
|
|
14
|
+
## Requirements
|
|
15
|
+
|
|
16
|
+
- **[Node.js](https://nodejs.org):** v16 or higher
|
|
17
|
+
- **[n8n](https://n8n.io):** v1.70 or later
|
|
18
|
+
- **Wassenger account:** [sign up for free to get API access](https://wassenger.com/register)
|
|
19
|
+
- **API Key:** [obtain your API key here](https://app.wassenger.com/developers/apikeys)
|
|
20
|
+
- **WhatsApp number:** At least one WhatsApp number [connected to Wassenger](https://app.wassenger.com/create)
|
|
21
|
+
|
|
22
|
+
## Installation
|
|
23
|
+
|
|
24
|
+
### Community Nodes (Recommended)
|
|
25
|
+
|
|
26
|
+
1. Go to **Settings** > **Community Nodes**
|
|
27
|
+
2. Select **Install**
|
|
28
|
+
3. Enter `n8n-nodes-wassenger` in the "Enter npm package name" field
|
|
29
|
+
4. Agree to the risks of using community nodes: select "I understand the risks of installing unverified code from a public source"
|
|
30
|
+
5. Select **Install**
|
|
31
|
+
6. After installation, restart your n8n instance
|
|
32
|
+
|
|
33
|
+
### Manual installation
|
|
34
|
+
|
|
35
|
+
To get started, install the package in your n8n root directory:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Using npm
|
|
39
|
+
npm install n8n-nodes-wassenger
|
|
40
|
+
|
|
41
|
+
# Alternatively, for Docker-based installations
|
|
42
|
+
docker exec -it n8n npm install n8n-nodes-wassenger
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
After installation, restart your n8n instance.
|
|
46
|
+
|
|
47
|
+
## Setup
|
|
48
|
+
|
|
49
|
+
1. Go to **Credentials**
|
|
50
|
+
2. Select **Add Credential** button
|
|
51
|
+
3. Select **Wassenger** from the "Search for app" dropdown
|
|
52
|
+
4. Enter your Wassenger API key in the **API Key** field
|
|
53
|
+
- [Get your Wassenger API key here](https://app.wassenger.com/developers/apikeys)
|
|
54
|
+
5. Select **Save** to store your credentials
|
|
55
|
+
|
|
56
|
+
## Features
|
|
57
|
+
|
|
58
|
+
### Send Text Messages
|
|
59
|
+
- Send formatted text messages to any WhatsApp user
|
|
60
|
+
- Support for rich text formatting (bold, italic, monospace, strikethrough)
|
|
61
|
+
- Add URLs with preview capability
|
|
62
|
+
- Include emojis and special characters
|
|
63
|
+
- Send to individual contacts or broadcast to multiple recipients
|
|
64
|
+
|
|
65
|
+
### Send Multimedia Messages
|
|
66
|
+
- Send images, videos, documents, and audio files
|
|
67
|
+
- Support for GIFs and stickers
|
|
68
|
+
- Upload files by URL or from local storage
|
|
69
|
+
- Add captions to media messages
|
|
70
|
+
- Set media message attributes (filename, mimetype, etc.)
|
|
71
|
+
|
|
72
|
+
### Schedule Messages
|
|
73
|
+
- Schedule messages for future delivery
|
|
74
|
+
- Set specific date and time for delivery
|
|
75
|
+
- Schedule recurring messages with external triggers
|
|
76
|
+
- Cancel scheduled messages before delivery
|
|
77
|
+
|
|
78
|
+
### Contacts Management
|
|
79
|
+
- Validate if phone numbers exist on WhatsApp
|
|
80
|
+
- Check contact's profile information
|
|
81
|
+
- Add contacts to your address book
|
|
82
|
+
- Create and manage contact groups
|
|
83
|
+
|
|
84
|
+
### Webhooks & Real-time Events
|
|
85
|
+
- Process incoming messages via webhooks
|
|
86
|
+
- React to message status updates (sent, delivered, read)
|
|
87
|
+
- Handle group events (joins, leaves, topic changes)
|
|
88
|
+
- Monitor connection status changes
|
|
89
|
+
- Receive call notifications
|
|
90
|
+
|
|
91
|
+
### Templates & Automation
|
|
92
|
+
- Send template messages for business accounts
|
|
93
|
+
- Use message variables for personalization
|
|
94
|
+
- Create automated reply workflows
|
|
95
|
+
- Set up conditional message flows based on responses
|
|
96
|
+
|
|
97
|
+
### Advanced Features
|
|
98
|
+
- Send interactive buttons and list messages
|
|
99
|
+
- Create polls and gather responses
|
|
100
|
+
- Send location messages
|
|
101
|
+
- Implement quick reply buttons
|
|
102
|
+
- Handle message reactions
|
|
103
|
+
|
|
104
|
+
### Utility Functions
|
|
105
|
+
- Download and process media from incoming messages
|
|
106
|
+
- Generate QR codes for WhatsApp Web login
|
|
107
|
+
- Monitor device battery and connection status
|
|
108
|
+
- Manage multiple WhatsApp accounts from a single workflow
|
|
109
|
+
|
|
110
|
+
## License
|
|
111
|
+
|
|
112
|
+
MIT
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-base.Wassenger",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": [
|
|
6
|
+
"Communication",
|
|
7
|
+
"Productivity",
|
|
8
|
+
"Marketing & Content",
|
|
9
|
+
"Sales"
|
|
10
|
+
],
|
|
11
|
+
"resources": {
|
|
12
|
+
"credentialDocumentation": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://app.wassenger.com/docs"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"primaryDocumentation": [
|
|
18
|
+
{
|
|
19
|
+
"url": "https://app.wassenger.com/docs"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"url": "https://app.wassenger.com/help/api-examples"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"url": "https://app.wassenger.com/help/api-tester"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|