Actions20
- Zalo Send Message Actions
- Gửi tin nhắn
- Gửi trạng thái tin nhắn
- Lấy danh sách sticker
- Lấy chi tiết sticker
- Gửi sticker
- Thả Reaction
- Gửi tin nhắn thoại
- Gửi danh thiếp
- Gửi Video
- Gửi Link
- Chuyển Tiếp Tin Nhắn
- Thêm Tin Nhắn Nhanh
- Lấy Danh Sách Tin Nhắn Nhanh
- Cập Nhật Tin Nhắn Nhanh
- Xóa Tin Nhắn Nhanh
- Đánh Dấu Chưa Đọc
- Bỏ Đánh Dấu Chưa Đọc
- Lấy Danh Sách Đánh Dấu Chưa Đọc
- Zalo Text To Speech Actions
Zalo Send Message → Gửi danh thiếp
AI-generatedOverview
This node sends a contact card (danh thiếp) message via the Zalo messaging platform using the Zalo API. It is useful for scenarios where you want to share a user's contact information within a Zalo chat, either in a personal or group conversation. For example, a business could use this node to send a contact card of a sales representative to a customer in a chat thread.
Use Case Examples
- Sending a contact card to a personal chat thread by specifying the thread ID, user ID of the contact, and optionally the phone number.
- Sending a contact card to a group chat by specifying the group thread ID and the user ID of the contact to share.
Properties
| Name | Meaning |
|---|---|
| ID cuộc trò chuyện / Thread ID | The ID of the chat thread (personal or group) where the contact card will be sent. |
| Loại cuộc trò chuyện | The type of chat thread: personal (Cá nhân) or group (Nhóm). |
| ID Người dùng (Danh thiếp) | The user ID of the contact whose card you want to send. |
| Số điện thoại (Tùy chọn) | Optional phone number of the user in the contact card. |
Output
JSON
success- Indicates if the contact card was sent successfully.response- The response object from the Zalo API after sending the contact card.threadId- The ID of the chat thread where the card was sent.threadType- The type of the chat thread (personal or group).
Dependencies
- Zalo API credentials with cookie, IMEI, and user agent for authentication.
Troubleshooting
- Ensure that the Zalo API credentials are correctly set and valid, including the cookie, IMEI, and user agent, otherwise the node will fail to initialize the API client.
- The 'User ID (for card)' parameter is required; if missing, the node will throw an error.
- If the Zalo API client is not initialized properly, the node will throw an error indicating failure to send the contact card.
- Network issues or invalid thread IDs may cause the API call to fail.