Zalo User Interact icon

Zalo User Interact

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

Overview

This node allows sending a friend request on the Zalo platform using a specific User Id. It is useful in scenarios where you want to programmatically add a user as a friend by their unique identifier, optionally including a personalized message with the request. For example, automating social network growth, onboarding new contacts, or integrating Zalo friend requests into CRM workflows.

Properties

Name Meaning
User Id The unique identifier of the Zalo user to whom the friend request will be sent.
Message Optional text message to include with the friend request, allowing personalization.

Output

The node outputs JSON data representing the result of the friend request operation. This typically includes success status and any relevant response details from the Zalo API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an active connection to the Zalo API.
  • Needs appropriate API authentication credentials configured in n8n (e.g., an API key or token).
  • The node internally uses HTTP requests to interact with Zalo's service endpoints.

Troubleshooting

  • Invalid User Id: If the provided User Id does not exist or is malformed, the node may return an error indicating the user was not found. Verify the User Id is correct.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key/token is correctly set up in n8n.
  • Rate Limits: Excessive friend request attempts might trigger rate limiting by Zalo. Implement delays or retries if needed.
  • Message Length: If the optional message exceeds allowed length limits, the request may fail. Keep messages concise.
  • Network Issues: Connectivity problems can cause timeouts or failed requests. Check network access and proxy settings if applicable.

Links and References


Note: The source code was heavily obfuscated, but the key logic extracted corresponds to sending a friend request by User Id with an optional message parameter.

Discussion