Actions16
- ZNS Message Actions
- ZNS Template Actions
- ZNS Info Actions
ZNS Message → Send Message
AI-generatedOverview
This node integrates with the Zalo Notification Service (ZNS) API to send ZNS messages using predefined templates. It is useful for automating message delivery to users' phone numbers with dynamic content based on template parameters. Common scenarios include sending order confirmations, OTP codes, or personalized notifications via Zalo's messaging platform.
Use Case Examples
- Sending an order confirmation message to a customer using a registered ZNS template with order details.
- Sending an OTP code to a user's phone number for authentication purposes.
- Sending personalized notifications with customer-specific data using ZNS templates.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number including the country code, to which the ZNS message will be sent. |
| Template ID | The ID of the ZNS message template to be used for sending the message. |
| Template Data | JSON formatted data to replace parameters in the ZNS template. Parameter names must match those registered in the template. Use an empty JSON object if the template has no parameters. |
| Tracking ID | Optional ID used to track the message for reference or analytics. |
Output
JSON
json- The JSON response from the Zalo ZNS API after sending the message, including success or error details.
Dependencies
- Zalo OA API Credential for authentication with the Zalo Notification Service API
Troubleshooting
- Common issues include invalid phone number format, incorrect or unregistered template ID, and mismatched template data parameters. Ensure phone numbers include the country code and template data keys match the registered template parameters.
- Error messages from the API may indicate authentication failures (check API token), invalid input data, or service unavailability. Use the error details in the output JSON to diagnose and fix issues.
Links
- Zalo Notification Service API Documentation - Official documentation for the Zalo Notification Service API, including message templates and sending guidelines.