Actions10
Overview
This node manages Zalo groups, specifically allowing users to perform various group-related operations via the Zalo API. The "Tạo Ghi Chú" (Create Note) operation lets users add a note to a specified Zalo group, optionally pinning it to the top of the group chat.
Common scenarios for this node include:
- Adding important announcements or reminders as pinned notes in a group.
- Collaborating within a team by sharing key information directly in the group.
- Managing group content dynamically through automation workflows.
Example use case: Automatically post and pin daily meeting agendas as notes in a project group on Zalo.
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 textual content of the note to be added to the group. |
| Pin Ghi Chú | Boolean option to pin the note at the top of the group chat (true = pinned, false = not pinned). |
Output
The node outputs a JSON object with the following structure:
{
"status": "Thành công",
"response": { /* response data from the Zalo API about the created note */ }
}
status: A string indicating success ("Thành công" means "Success").response: Contains detailed information returned by the Zalo API regarding the created note.
The node does not output binary data.
Dependencies
- Requires valid Zalo API credentials including an API authentication token (cookie), device IMEI, and user agent string.
- The node uses an external Zalo API client library to interact with the Zalo service.
- Proper configuration of these credentials in n8n is necessary for successful API calls.
Troubleshooting
- Invalid Credentials: If the node throws an error about missing or invalid API instance, verify that the provided Zalo API credentials are correct and active.
- Group Not Found: Errors may occur if the specified group ID does not exist or the authenticated user lacks permission. Double-check the group ID.
- API Rate Limits or Network Issues: Temporary failures might happen due to network problems or API rate limits; retrying after some time can help.
- Pin Option Misuse: Ensure the "Pin Ghi Chú" property is a boolean; incorrect types may cause unexpected behavior.
If the node is set to continue on failure, errors for individual items will be included in the output JSON under an error field.