Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Message → Send Report

AI-generated

Overview

This node operation 'Send Report' under the 'Message' resource is designed to send a report message using a JSON payload. It allows users to specify a general JSON payload that conforms to the expected structure for sending reports, as referenced in the zca-js documentation. This operation is useful in scenarios where automated or programmatic report sending is required, such as sending chat reports, analytics, or summaries through a messaging platform.

Use Case Examples

  1. Sending a chat report with specific details formatted in JSON.
  2. Automating the dispatch of system or user activity reports via messaging.

Properties

Name Meaning
General JSON Payload A JSON string representing the payload for the send report operation. This JSON should follow the structure defined in the zca-js documentation for sending reports.

Output

JSON

  • success - Indicates if the report was sent successfully.
  • data - Contains the response data from the report sending operation, including any relevant metadata or confirmation details.
  • error - Details of any error encountered during the operation, if applicable.

Dependencies

  • Requires an API key credential for authentication with the messaging service.

Troubleshooting

  • Ensure the JSON payload is correctly formatted and adheres to the expected schema as per the zca-js documentation.
  • Check that the API key credential is valid and has the necessary permissions to send reports.
  • Common errors include authentication failures, invalid JSON payloads, and network issues. Review error messages for specific guidance.

Links

Discussion