Actions9
Send Friend Request
AI-generatedSummary
Sends a friend request to a specified Zalo user including a custom message.
Inputs
- uid (required) — The user's Zalo UID.
- friendMsg — Message to include with the friend request. Defaults to 'Xin chào, tôi muốn kết bạn với bạn.'
Output shape
A list of items, each containing a JSON object with a 'success' status and the API result.
If 'Continue on Error' is enabled, failed requests are returned as items with an 'error' message instead of failing the workflow.
Examples
Example 1: Sending a friend request with a custom greeting
Operation: Send Friend Request, UID: 123456789, Friend Message: Hello from n8n!
Example 2: Sending a default friend request
Operation: Send Friend Request, UID: 987654321 (uses default Vietnamese message)