Actions8
- Account Actions
- SMS Message Actions
- OTT Message Actions
SMS Message → Danh sách Template
AI-generatedOverview
This node integrates with the EsmsVN API to manage SMS and OTT messaging services. Specifically, for the "SMS Message" resource and the "Danh sách Template" (Template List) operation, it retrieves a list of SMS templates associated with a specified brand name and SMS type. This is useful for users who want to programmatically access and manage their SMS message templates stored in EsmsVN, enabling automation of SMS campaigns or template management workflows.
Practical examples include:
- Fetching available SMS templates before sending messages to ensure correct content.
- Automating the update or review of SMS templates within a marketing workflow.
- Integrating template selection dynamically into multi-step messaging processes.
Properties
| Name | Meaning |
|---|---|
| SmsType | Type of SMS to filter templates by. Options: Brandname QC, Brandname CSKH, Cố định giá rẻ. |
| Brandname | The brand name associated with the SMS templates. Selectable from a searchable list or input manually. Only applicable when SmsType is Brandname QC or Brandname CSKH (not for Cố định giá rẻ). |
Output
The node outputs an array of JSON objects representing the SMS templates retrieved from the EsmsVN service. Each object corresponds to a template with its details as provided by the API. The exact structure depends on the EsmsVN API response but typically includes template identifiers, names, content, and related metadata.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for EsmsVN configured in n8n.
- Depends on the EsmsVN API being accessible and the user having appropriate permissions to retrieve SMS templates.
- Uses internal helper functions to load options and perform searches for brand names and templates.
Troubleshooting
- Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Selecting a Brandname when SmsType is "Cố định giá rẻ" may not be supported and could result in errors.
- Network connectivity problems can prevent API calls from succeeding.
- Error messages:
"The resource \"sms_message\" is not known!"indicates an invalid resource parameter.- Errors related to invalid parameters usually stem from incorrect property values or missing required fields.
- Resolutions:
- Verify that the API key credential is correctly set up and has necessary permissions.
- Ensure the SmsType and Brandname properties are consistent and valid.
- Check network connectivity and API endpoint availability.
Links and References
- EsmsVN API Documentation
- EsmsVN Brandname List API
- n8n documentation on Creating Custom Nodes