n8n-nodes-nqdev-aio
Version:
Custom n8n node package for seamless integration of Vietnamese SaaS services: eSMSvn, Haravan, and Zalo
288 lines (201 loc) β’ 7.42 kB
Markdown
# n8n-nodes-nqdev-aio
π **Custom n8n node package for seamless integration of Vietnamese SaaS services**
[](https://badge.fury.io/js/n8n-nodes-nqdev-aio)
[](https://opensource.org/licenses/MIT)
[](https://github.com/nqdev-group/n8n-nodes-nqdev-aio/actions/workflows/publish_npm.yml)
[](https://github.com/nqdev-group/n8n-nodes-nqdev-aio/actions/workflows/create-release.yml)
[](https://github.com/nqdev-group/n8n-nodes-nqdev-aio/actions/workflows/changelog.yml)
## π― What's Included
This package provides custom n8n nodes for integrating with popular Vietnamese SaaS services:
- **eSMS.vn** - SMS marketing automation platform
- **Haravan** - E-commerce platform integration
- **Zalo** - Social network messaging service
## π¦ Installation
### Option 1: NPM Installation (Recommended)
```bash
npm install n8n-nodes-nqdev-aio
```
### Option 2: Manual Installation
1. Download the latest release
2. Place in your n8n custom nodes directory
3. Restart n8n
### Option 3: Docker Installation
Add to your n8n Docker setup:
```dockerfile
RUN npm install n8n-nodes-nqdev-aio
```
## π§ Configuration
After installation, you'll need to set up credentials for each service:
### eSMS.vn Configuration
1. Go to n8n Settings > Credentials
2. Add new credential > eSMS.vn API
3. Enter your API Key and Secret Key from eSMS.vn dashboard
4. Test connection
### Haravan Configuration
1. Go to n8n Settings > Credentials
2. Add new credential > Haravan API
3. Enter your shop name, access token, and API version
4. Test connection
### Zalo Configuration
1. Go to n8n Settings > Credentials
2. Add new credential > Zalo API
3. Enter your access token, app ID, and app secret
4. Test connection
## π Features
### eSMS.vn Node
- β
Send individual SMS messages
- β
Send bulk SMS campaigns
- β
Check account balance
- β
Track message delivery status
- β
Support for Brandname & CSKH SMS types
- β
Multi-recipient support
### Haravan Node
- β
Product management (CRUD operations)
- β
Order management and tracking
- β
Customer management
- β
Inventory operations
- β
Full REST API integration
### Zalo Node
- β
Send text messages
- β
Send image messages
- β
Template message support
- β
User profile management
- β
Follower management
- β
Image upload capabilities
## π Usage Examples
### SMS Marketing Campaign with eSMS.vn
```json
{
"resource": "sms",
"operation": "sendBulk",
"phones": "+84912345678,+84987654321",
"message": "π Sale cuα»i nΔm - GiαΊ£m giΓ‘ 50% tαΊ₯t cαΊ£ sαΊ£n phαΊ©m! Mua ngay: shop.com",
"smsType": "1",
"brandname": "MYSHOP"
}
```
### E-commerce Product Sync with Haravan
```json
{
"resource": "product",
"operation": "create",
"title": "Γo thun nam basic",
"body_html": "<p>Γo thun chαΊ₯t liα»u cotton cao cαΊ₯p</p>",
"product_type": "Thα»i trang",
"vendor": "Fashion Brand"
}
```
### Social Messaging with Zalo
```json
{
"resource": "message",
"operation": "sendText",
"user_id": "user123456789",
"text": "Xin chΓ o! CαΊ£m Ζ‘n bαΊ‘n ΔΓ£ quan tΓ’m ΔαΊΏn sαΊ£n phαΊ©m cα»§a chΓΊng tΓ΄i."
}
```
## π Workflow Examples
### 1. SMS Marketing Campaign
```
Webhook Trigger β eSMS.vn (Send Bulk) β Google Sheets (Log Results)
```
### 2. E-commerce Integration
```
Haravan (Get Orders) β Filter New Orders β Email Notification β Zalo Message
```
### 3. Customer Service Automation
```
Zalo (Get Messages) β Process Text β eSMS.vn (Send Response) β CRM Update
```
## π οΈ Development
### Prerequisites
- Node.js 18+
- n8n installed
- TypeScript knowledge
### Setup
```bash
# Clone repository
git clone https://github.com/nqdev-group/n8n-nodes-nqdev-aio.git
cd n8n-nodes-nqdev-aio
# Install dependencies
npm install
# Build the project
npm run build
# Development mode
npm run dev
```
### Project Structure
```
n8n-nodes-nqdev-aio/
βββ credentials/ # API credential configurations
β βββ EsmsVnApi.credentials.ts
β βββ HaravanApi.credentials.ts
β βββ ZaloApi.credentials.ts
βββ nodes/ # Node implementations
β βββ EsmsVn/ # SMS marketing node
β βββ Haravan/ # E-commerce node
β βββ Zalo/ # Social messaging node
βββ assets/ # Icons and assets
βββ examples/ # Workflow examples
βββ dist/ # Built output
βββ Documentation files
```
## π§ͺ Testing
### Manual Testing
1. Start n8n in development mode
2. Import example workflows from `/examples` folder
3. Configure credentials with test accounts
4. Execute workflows to verify functionality
### API Testing
Each service provides test endpoints:
- **eSMS.vn**: Balance check endpoint
- **Haravan**: Shop info endpoint
- **Zalo**: Profile endpoint
## π API Documentation
### eSMS.vn
- [API Documentation](https://esms.vn/docs)
- [Developer Portal](https://esms.vn/developers)
### Haravan
- [API Documentation](https://docs.haravan.com)
- [Developer Guide](https://developers.haravan.com)
### Zalo
- [API Documentation](https://developers.zalo.me/docs)
- [Official Account API](https://developers.zalo.me/docs/official-account)
## π Security & Privacy
- All credentials are encrypted by n8n
- API keys are never logged or exposed
- HTTPS required for all API communications
- Regular security updates and vulnerability patches
## π€ Contributing
Contributions are welcome! Please read our contributing guidelines:
1. Fork the repository
2. Create a feature branch
3. Make your changes
4. Add tests if applicable
5. Submit a pull request
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π Support
### Community Support
- [GitHub Issues](https://github.com/nqdev-group/n8n-nodes-nqdev-aio/issues)
- [n8n Community Forum](https://community.n8n.io)
### Professional Support
For enterprise support and custom integrations:
- Email: contact@nqdev.com
- Website: [nqdev.com](https://nqdev.com)
## π Changelog
### v1.0.0
- β
Initial release
- β
eSMS.vn node implementation
- β
Haravan node implementation
- β
Zalo node implementation
- β
Full TypeScript support
- β
Comprehensive documentation
## π Roadmap
- [ ] Advanced template management for Zalo
- [ ] Webhook support for real-time updates
- [ ] Advanced analytics and reporting
- [ ] Additional Vietnamese SaaS integrations
- [ ] Multi-language support
---
**Made with β€οΈ by nqdev-group for the Vietnamese developer community**