Actions9
Overview
This node manages Zalo user interactions, specifically allowing the acceptance of friend requests on the Zalo platform. It is useful in scenarios where automated handling of social connections is needed, such as integrating Zalo user management into CRM workflows or automating social engagement tasks.
For example, a business could use this node to automatically accept incoming friend requests from customers or partners, streamlining communication setup without manual intervention.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the Zalo user whose friend request you want to accept |
Output
The node outputs JSON data containing the status and response from the Zalo API after attempting to accept the friend request. The structure typically looks like:
{
"status": "success",
"response": { /* detailed API response object */ }
}
status: Indicates whether the operation was successful.response: Contains the detailed result returned by the Zalo API for the friend request acceptance.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- Needs valid authentication cookies, device IMEI, and user agent strings as part of the credentials to establish a session.
- Uses an internal Zalo API client library to perform operations.
Troubleshooting
Common issues:
- Invalid or expired authentication credentials can cause login failures.
- Incorrect or missing User ID input will prevent the friend request acceptance.
- Network connectivity problems may lead to timeouts or failed API calls.
Error messages:
"Login failed": Indicates that the node could not authenticate with Zalo using provided credentials. Verify the API key and session details.- Errors related to invalid User ID: Ensure the User ID is correct and corresponds to a pending friend request.
- API rate limits or permission errors: Check if the API key has sufficient permissions and that usage limits are not exceeded.
Resolution tips:
- Re-authenticate or refresh credentials if login fails.
- Double-check input parameters for correctness.
- Review network settings and retry in case of transient errors.
Links and References
- Zalo Official Developer Documentation
- Zalo API Reference (for friend request management)
- n8n documentation on creating custom nodes