n8n-nodes-comtele-gateway
v1.0.20
Published
Send SMS and RCS messages via Comtele Gateway
Maintainers
Readme
n8n-nodes-comtele-gateway
This is an n8n community node for integrating with the Comtele Gateway API. It provides a comprehensive set of operations for managing messaging, including SMS, RCS (Rich Communication Services), reports, and additional services.
Features
The node supports 12 different operations:
- Cancel Messages Request - Cancel pending message requests
- Get Balance - Check your account balance
- Get Contact Groups - Retrieve all contact groups
- Get Messages Requests Report - Get detailed reports of sent message requests
- Get Routes - Retrieve available messaging routes
- Received Messages Report - Get reports of received messages
- Send RCS Basic Message - Send simple RCS text messages
- Send RCS Card Message - Send RCS messages with rich card layouts
- Send RCS Carousel Message - Send RCS messages with carousel/slider functionality
- Send RCS File Message - Send RCS messages with file attachments
- Send SMS Message - Send traditional SMS messages
- Sent Messages Report - Get reports of sent messages
Installation
Using n8n UI
- Create a Workflow
- Click on + to add a new node
- Search for
SMS & RCS Message Gateway by Comtele
Using npm
npm install n8n-nodes-comtele-gatewaySetup
1. Create Credentials
In n8n:
- Click on Settings in the sidebar
- Go to Credentials
- Create a new credential of type Comtele Gateway API
- Enter your X-API-Key (provided by Comtele)
2. Add Node to Workflow
- Create a new workflow
- Add a new node and search for
SMS & RCS Message Gateway by Comtele - Select the operation you want to perform
- Configure the parameters based on the selected operation
- Test the connection
Usage Examples
Get Account Balance
Node Configuration:
- Operation: Get Balance
- No parameters neededSend SMS Message
Node Configuration:
- Operation: Send SMS Message
- Receivers: ["11999999999"]
- Message: "Hello from N8N!"
- Route: 1
- Tag: "marketing"Send RCS Card Message
Node Configuration:
- Operation: Send RCS Card Message
- Receivers: ["11999999999"]
- Route: 1
- Card Title: "Special Offer"
- Card Message: "Get 50% off today!"
- Card Image URL: "https://example.com/image.jpg"
- Buttons:
- Text: "Learn More", URL: "https://example.com"
- Text: "Buy Now", URL: "https://shop.example.com"Get Message Reports
Node Configuration:
- Operation: Sent Messages Report
- Start Date: "2024-01-01T00:00:00Z"
- End Date: "2024-01-31T23:59:59Z"
- Limit: 100Date Format
All date parameters use the ISO 8601 format with timezone:
yyyy-MM-ddTHH:mm:ssZExamples:
- 2024-06-10T14:30:00Z
- 2024-01-01T00:00:00Z
Parameters
Common Parameters
- Receivers: Array of phone numbers (with country code, e.g., "11999999999")
- Contact Groups: Array of contact group IDs
- Route: Route ID to use for sending messages
- Schedule Date (optional): Date and time to schedule message sending
- Custom (optional): Custom field for tracking/filtering
- Tag (optional): Tag for message classification
Query Parameters for Reports
- Start Date: Report period start
- End Date: Report period end
- Skip: Number of records to skip (pagination)
- Limit: Maximum records to return
Error Handling
The node includes comprehensive error handling:
- Invalid credentials: Tests connection using the Balance endpoint
- Invalid parameters: Validates required fields
- API errors: Returns detailed error information from Comtele API
Response Format
All responses follow the standard Comtele API format:
{
"hasError": false,
"message": "Success message or null",
"object": {
"// Response data based on operation"
},
"totalRecords": 0,
"errors": []
}Support
For issues, questions, or suggestions, please visit:
License
This node is licensed under the MIT License. See LICENSE file for details.
Developed by Comtele - Your messaging company
