Actions16
Overview
The node "Zalo Group" enables management of Zalo groups through various operations. Specifically, the "Tạo Ghi Chú" (Create Note) operation allows users to create a note within a specified Zalo group and optionally pin it to the top of the group chat. This is useful for highlighting important messages or announcements in group conversations.
Practical examples:
- Pinning meeting agendas or reminders in a team chat.
- Posting important updates or instructions that should remain visible at the top of the group.
- Creating notes for event details or shared resources within a group.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The unique identifier of the Zalo group where the note will be created. |
| Nội Dung Ghi Chú | The content/text of the note to be created in the group. |
| Pin Ghi Chú | Boolean option to pin the note at the top of the group chat (true = pinned, false = not). |
Output
The output JSON contains:
status: A string indicating the success status, typically"Thành công"meaning "Success".response: The detailed response object returned from the Zalo API after creating the note. This may include metadata about the created note such as its ID, timestamp, or other relevant information.
No binary data output is involved in this operation.
Example output structure:
{
"status": "Thành công",
"response": {
// Details about the created note from Zalo API
}
}
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- The node uses a Zalo API client library internally to perform actions.
- Proper configuration of credentials including cookie, IMEI, and user agent is necessary for successful API calls.
Troubleshooting
Common issues:
- Invalid or expired credentials leading to authentication failures.
- Incorrect group ID causing the note creation to fail.
- Network or API downtime affecting connectivity.
Error messages:
"No API instance found. Please make sure to provide valid credentials."
Resolution: Verify that the API credentials are correctly set up and valid.- Errors related to missing required parameters like group ID or content.
Resolution: Ensure all required fields are filled before execution. - API errors returned from Zalo, which might indicate permission issues or invalid input.
Resolution: Check the group permissions and input values.
Enabling "Continue On Fail" can help process multiple items even if some fail.
Links and References
- Zalo Official Developer Documentation
- Zalo Group API Reference
- n8n Documentation on Creating Custom Nodes