Actions4
Tạo Mới
AI-generatedOverview
This node manages quick messages for Zalo, specifically allowing the creation of new quick messages. It is useful for automating the addition of predefined shortcut messages in Zalo, which can include text content and associated media URLs. For example, a user can create a quick message with a shortcut keyword like '/hello' and content that will be sent automatically when the shortcut is used, optionally including media such as images.
Use Case Examples
- Creating a quick message with shortcut '/hello' and content 'Hello, how can I help you?'
- Adding media URLs to a quick message to include images or videos along with the text content.
Properties
| Name | Meaning |
|---|---|
| Từ Khóa Tắt | Shortcut keyword to activate the quick message (must start with /) |
| Nội Dung | Content of the quick message |
| Media URLs | Comma-separated list of media URLs to include with the quick message |
Output
JSON
json- Response from the Zalo API after creating the quick message, including success status and any relevant data or error messages
Dependencies
- Requires Zalo API credentials including cookie, imei, and userAgent for authentication.
Troubleshooting
- Common errors include authentication failures due to invalid or expired credentials, resulting in 'Failed to initialize Zalo API' errors. Ensure credentials are correctly set and valid.
- Errors related to invalid input such as missing required fields (shortcut or content) or improperly formatted media URLs may occur. Validate inputs before execution.
- If the node throws an 'Unknown operation' error, verify that the operation parameter is correctly set to 'Tạo Mới' for adding new quick messages.
Links
- Zalo Quick Messages API Documentation - Official documentation for managing quick messages via Zalo API.