Actions8
- Account Actions
- SMS Message Actions
- OTT Message Actions
OTT Message → Danh sách Template
AI-generatedOverview
This node integrates with the EsmsVN API to send SMS and OTT messages, including managing Zalo Official Account (OA) templates. Specifically, for the "OTT Message" resource and the "Danh sách Template" operation, it retrieves a list of message templates available in the user's Zalo OA account. This is useful for users who want to programmatically access and manage their Zalo message templates within n8n workflows.
Practical examples:
- Automatically fetching the latest Zalo message templates before sending notifications.
- Synchronizing template lists between EsmsVN and other systems.
- Using template metadata to dynamically select messages in automated campaigns.
Properties
| Name | Meaning |
|---|---|
| SmsType | Type of SMS to use. Options: "Zalo Ưu Tiên" (priority Zalo), "Zalo Bình Thường" (normal Zalo) |
| ZaloOA | Select or specify the Zalo Official Account (OA) from which to retrieve templates. Can be chosen from a searchable list or specified by name. |
Output
The node outputs JSON data representing the list of Zalo message templates retrieved from the selected Zalo OA. Each item in the output array corresponds to a template with its associated details as provided by the EsmsVN API.
No binary data output is indicated for this operation.
Dependencies
- Requires an active EsmsVN API key credential configured in n8n.
- The node communicates with the EsmsVN REST API at
https://rest.esms.vn. - For the "Danh sách Template" operation, the user must have access to the relevant Zalo Official Account(s).
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Selecting a ZaloOA that does not exist or to which the API key has no access will result in empty or error responses.
- Network connectivity problems can prevent communication with the EsmsVN API.
Error messages:
"The resource \"ott_message\" is not known!"— indicates an unsupported resource was selected; ensure "OTT Message" is chosen.- API errors returned from EsmsVN will typically include HTTP status codes and messages; verify API key validity and permissions.
Resolutions:
- Verify API credentials are correctly set up in n8n.
- Confirm the ZaloOA selection matches an accessible official account.
- Check network settings and firewall rules if connection issues occur.
Links and References
- EsmsVN Official Website
- EsmsVN API Documentation (assumed typical location, verify actual URL)