Zalo User Interact icon

Zalo User Interact

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

Friend → Send Friend Request With User Id

AI-generated

Overview

This node operation sends a friend request to a specified user on the Zalo platform using their User Id. It optionally allows including a message with the friend request. This is useful for automating social interactions, such as adding new contacts programmatically in a CRM or social media management workflow.

Use Case Examples

  1. Automatically send friend requests to new leads by their User Ids with a personalized message.
  2. Integrate with a contact management system to send friend requests to users identified by their Zalo User Ids.

Properties

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

Output

JSON

  • success - Indicates whether the friend request was sent successfully.
  • userId - The User Id of the recipient to whom the friend request was sent.
  • message - The message content sent with the friend request, if any.

Dependencies

  • Requires Zalo API access with appropriate authentication credentials.

Troubleshooting

  • Ensure the User Id is valid and corresponds to an existing Zalo user.
  • Check that the API credentials have permission to send friend requests.
  • Handle API rate limits and errors gracefully, as the node may throw errors if the request fails.

Discussion