Zalo Sticker icon

Zalo Sticker

Quản lý sticker Zalo - Tìm kiếm, lấy danh sách và thông tin chi tiết sticker

Overview

This node allows users to search for Zalo Stickers by keyword. It connects to the Zalo API to retrieve sticker data based on a search query provided by the user. This is useful for automating workflows that involve selecting or displaying stickers from Zalo, such as in chatbots, social media automation, or content creation tools where stickers enhance communication.

Practical examples:

  • Automatically fetching trending or relevant stickers for a marketing campaign.
  • Integrating sticker search into a chatbot to respond with appropriate stickers.
  • Building a sticker gallery or picker inside an app using Zalo's sticker database.

Properties

Name Meaning
Từ Khóa Tìm Kiếm The keyword string used to search for stickers.

Output

The output is an array of JSON objects, each representing the result of a search operation. Each item contains:

  • success: Boolean indicating if the search was successful.
  • message: A descriptive message about the result (e.g., "Lấy danh sách sticker thành công" meaning "Successfully retrieved sticker list").
  • data: The actual sticker data returned from the Zalo API matching the search query.
  • count: Number of stickers found (if the data is an array).
  • query: The original search keyword used.

No binary data output is indicated by the code.

Dependencies

  • Requires an API key credential for Zalo API authentication.
  • Uses a Zalo API client library internally to perform login and sticker search operations.
  • Node expects credentials including cookie, IMEI, and user agent strings for authentication.
  • No additional environment variables are explicitly required beyond the API credential.

Troubleshooting

  • Common issues:

    • Authentication failure due to invalid or expired API credentials.
    • Empty results if the search keyword does not match any stickers.
    • Network or API downtime causing request failures.
  • Error messages:

    • Throws an error if login to Zalo API fails: "Login failed".
    • If an error occurs during the search, it will either throw or continue depending on the "Continue On Fail" setting.
  • Resolutions:

    • Verify that the API key and other authentication details are correct and up to date.
    • Use valid and meaningful keywords for searching.
    • Enable "Continue On Fail" to handle intermittent errors gracefully.

Links and References


Note: The node's internal implementation uses obfuscated code, but the main logic extracted shows it logs in to Zalo API, performs a sticker search with the given keyword, and returns the results accordingly.

Discussion