Zalo Web icon

Zalo Web

Zalo Web.

Overview

This node integrates with the Zalo Web platform, enabling automation of various user and messaging actions. Specifically, the Message Action > Send Friend Request operation allows sending a friend request to another Zalo user either by their User ID or Phone Number, optionally including a message.

Common scenarios for this node include:

  • Automating social outreach by sending friend requests with personalized messages.
  • Integrating Zalo friend requests into CRM workflows or marketing campaigns.
  • Quickly adding contacts based on phone numbers collected from other sources.

Example: Automatically send a friend request with a greeting message to a user identified by their phone number after they sign up on your website.

Properties

Name Meaning
User ID or Phone Number Choose whether to identify the target user by their unique User ID or by their Phone Number.
User ID The unique identifier of the target user in Zalo. To find your chat ID, use the @get_id_bot service.
Message A custom message to include with the friend request.

Output

The node outputs a JSON object under the json field containing the response data from the Zalo API related to the friend request action. This typically includes confirmation details such as success status or error information.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo Web API.
  • The node depends on internal session management and login handling to maintain authenticated state.
  • Uses external helper functions for user lookup and sending friend requests.
  • Requires network access to Zalo Web services.

Troubleshooting

  • Common issues:

    • Invalid or expired API credentials will cause authentication failures.
    • Incorrect User ID or Phone Number may result in "user not found" errors.
    • Network connectivity problems can prevent communication with Zalo servers.
  • Error messages:

    • "Thao tác không được hỗ trợ" (Operation not supported): Indicates an unsupported action or invalid parameters.
    • Errors related to user lookup usually mean the provided identifier is incorrect or the user does not exist.
  • Resolutions:

    • Verify that the API key credential is valid and has necessary permissions.
    • Double-check the User ID or Phone Number input; use @get_id_bot to confirm User IDs.
    • Ensure stable internet connection and that Zalo Web services are reachable.

Links and References

Discussion