Actions25
- Message Actions
- Friend Actions
- Get Actions
- Group Actions
- Tool Actions
Overview
This node operation "Undo Friend Request" for the resource "Friend" is designed to cancel or retract a previously sent friend request on the Zalo platform. It allows users to undo a friend request that they have sent to another user, effectively withdrawing the invitation before it is accepted.
Common scenarios where this node would be beneficial include:
- Users who mistakenly sent a friend request and want to cancel it.
- Applications that manage social connections and need to programmatically revoke pending friend requests.
- Automated workflows that clean up or update friend lists by removing unaccepted requests.
Practical example:
- A social media management tool uses this node to undo friend requests sent in bulk if certain conditions are met (e.g., no response after a set time).
- A chatbot integrated with Zalo can offer users the option to undo a friend request directly from the chat interface.
Properties
| Name | Meaning |
|---|---|
| User Id | The unique identifier of the Zalo user to whom the friend request was sent and should be undone. |
Output
The output of this node is a JSON object indicating the success or failure of the undo friend request operation. Typically, it includes:
- A boolean field indicating whether the operation was successful.
- Additional metadata or error messages if the operation failed.
No binary data output is involved in this operation.
Example output structure (conceptual):
[
{
"success": true,
"message": "Friend request undone successfully."
}
]
Dependencies
- Requires an active connection to the Zalo API with appropriate authentication credentials (such as an API key or token).
- The node depends on the Zalo platform's API endpoint that supports undoing friend requests.
- Proper configuration of the API credentials within n8n is necessary for the node to function correctly.
Troubleshooting
Common Issues
- Invalid User Id: If the provided User Id does not exist or is incorrect, the operation will fail.
- Authentication Errors: Missing or invalid API credentials will prevent the node from communicating with the Zalo API.
- Network Issues: Connectivity problems may cause timeouts or failures in reaching the Zalo service.
- Permission Denied: The authenticated user might not have permission to undo the friend request.
Error Messages and Resolutions
- "User Id not found": Verify that the User Id is correct and corresponds to a valid Zalo user.
- "Authentication failed": Check that the API key or token is correctly configured and has not expired.
- "Operation not permitted": Ensure that the authenticated account has the rights to undo the friend request.
- Timeout or Network Errors: Confirm network connectivity and retry the operation.
Links and References
Note: This summary is based solely on static analysis of the provided source code and property definitions without runtime execution or access to internal credential names.