Zalo ZNS icon

Zalo ZNS

Zalo Notification Service (ZNS) API

ZNS Message → Send Message Development Mode

AI-generated

Overview

This node integrates with the Zalo Notification Service (ZNS) API to send ZNS messages in development mode. It is useful for sending templated notifications to users via Zalo, a popular messaging platform, especially during development and testing phases before going live. For example, it can send order confirmations, OTP codes, or personalized alerts using predefined templates.

Use Case Examples

  1. Sending a ZNS message to a phone number with a specific template and dynamic data for customer notifications.
  2. Testing message templates in development mode to verify content and formatting before production deployment.

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 identifier of the ZNS message template to use for the message content.
Template Data JSON-formatted data to replace placeholders in the selected template. Parameter names must match those registered in the template. Use an empty JSON object if the template has no parameters.
Tracking ID Optional identifier to track the message for analytics or debugging purposes.

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 template ID, or mismatched template data parameters leading to API errors.
  • Error messages from the API may indicate authentication failures if the API token is invalid or expired; ensure the Zalo OA API credential is correctly configured.
  • If the node throws an 'Unknown operation' error, verify that the selected resource and operation are supported by the node.

Links

Discussion