Actions4
Cập Nhật
AI-generatedOverview
This node updates a quick message in Zalo, a popular messaging platform. It is useful for scenarios where users need to modify existing quick messages by changing their shortcut keyword, content, or associated media URLs. For example, a user can update a quick message's content to reflect new information or change the shortcut keyword to a more relevant one.
Use Case Examples
- Updating the content of a quick message identified by its ID.
- Changing the shortcut keyword of a quick message without altering its content.
- Updating the media URLs associated with a quick message.
Properties
| Name | Meaning |
|---|---|
| ID Tin Nhắn | The ID of the quick message to update, required to identify which message to modify. |
| Từ Khóa Tắt Mới | The new shortcut keyword for the quick message; leave empty if no change is needed. |
| Nội Dung Mới | The new content for the quick message; leave empty if no change is needed. |
| Media URLs Mới | New list of media URLs for the quick message; leave empty if no change is needed. |
Output
JSON
json- The response from the Zalo API after attempting to update the quick message, including success status and any error messages.
Dependencies
- Requires Zalo API credentials including cookie, IMEI, and user agent for authentication.
Troubleshooting
- Common issues include invalid or expired Zalo API credentials leading to authentication failures. The node throws errors if the Zalo API initialization fails or if the update operation encounters issues.
- Error messages like 'Failed to initialize Zalo API. Check your credentials.' indicate credential problems.
- Errors during update may include invalid message ID or malformed input data; ensure the ID and fields are correctly provided.