Actions8
- Account Actions
- SMS Message Actions
- OTT Message Actions
Account → Danh sách Zalo OA
AI-generatedOverview
This node integrates with the EsmsVN API to send SMS and OTT messages, as well as manage related resources such as accounts and templates. Specifically, for the "Account" resource and the "Danh sách Zalo OA" operation, it retrieves a list of Zalo Official Accounts (OA). This functionality is useful for users who want to programmatically access and manage their Zalo OA information within an automated workflow.
Practical examples include:
- Fetching all Zalo OAs linked to an account to display or process them further.
- Automating marketing campaigns by retrieving Zalo OA details before sending messages.
- Synchronizing Zalo OA data with other systems.
Properties
| Name | Meaning |
|---|---|
| SmsType | Type of SMS message to be used. Options: "Zalo Ưu Tiên" (priority Zalo message), "Zalo Bình Thường" (normal Zalo message) |
Output
The output is a JSON array where each element corresponds to the result of the executed command for each input item. For the "Danh sách Zalo OA" operation under the "Account" resource, the JSON output contains the list of Zalo Official Accounts retrieved from the EsmsVN API.
Each output item includes metadata fields such as:
executionId: The unique execution identifier.resource: The resource name ("account").operation: The operation name ("getListZaloOa").status: The status of the operation (e.g., "completed").- Additional fields specific to the Zalo OA data returned by the API.
If the node processes multiple input items, the output will be an array of these results.
Dependencies
- Requires an API key credential for authenticating with the EsmsVN API.
- Uses internal libraries (
nqdev-libraries/esmsvn) for handling API requests and responses. - No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
- Unknown Resource Error: If the node throws an error stating that the resource is not known, ensure that the "Resource" parameter is correctly set to "account" for this operation.
- API Authentication Failures: Verify that the API key credential is correctly configured and has sufficient permissions.
- Empty or Unexpected Output: Confirm that the EsmsVN account has linked Zalo Official Accounts; otherwise, the list may be empty.
- Continue On Fail Behavior: If enabled, the node will continue processing subsequent items even if one fails, appending error details to the output.
Links and References
- EsmsVN Official Website
- Zalo Official Account Documentation
- n8n Documentation on Creating Custom Nodes