Actions13
Overview
This node manages Zalo groups, specifically enabling operations such as creating groups, managing members, changing group details, and handling notes and polls within groups. The "Tạo Ghi Chú" (Create Note) operation allows users to add a note to a specified Zalo group, optionally pinning it to the top of the group chat.
Practical scenarios include:
- Team collaboration where important announcements or reminders need to be pinned in a group.
- Project management by adding notes summarizing meeting outcomes or tasks.
- Community groups sharing pinned information for easy access.
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 added to the group. |
| Pin Ghi Chú | Boolean option to pin the note at the top of the group chat for prominence (true or false). |
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.
Example output structure:
{
"status": "Thành công",
"response": {
// Details about the created note from Zalo API
}
}
No binary data is output by this operation.
Dependencies
- Requires an API key credential to authenticate with the Zalo platform.
- The node uses a third-party Zalo API client library 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 errors when trying to create a note.
- 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 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 data formats.
If the node is set to continue on failure, errors will be included in the output JSON for each failed item.
Links and References
- Zalo Official Developer Documentation
- Zalo Group API Reference
- n8n Documentation on Creating Custom Nodes