Zalo Sticker icon

Zalo Sticker

Quản lý sticker trên Zalo

Overview

This node allows users to manage and search for stickers on the Zalo platform. Specifically, the "Tìm Kiếm Sticker" (Search Stickers) operation enables searching for stickers by a keyword query. This is useful for automating workflows that involve retrieving relevant stickers based on user input or other dynamic data sources.

Practical examples include:

  • Automatically fetching sticker sets related to a specific theme or event.
  • Integrating sticker search into chatbots or messaging automation to enhance user interaction.
  • Building custom sticker galleries or recommendation systems within n8n workflows.

Properties

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

Output

The output JSON contains the following fields:

  • success: Boolean indicating if the search was successful.
  • message: A descriptive message about the operation result.
  • data: The array or object containing the sticker information returned from the search.
  • count: Number of stickers found (if the data is an array).
  • query: The original search keyword used.

Example output structure:

{
  "success": true,
  "message": "Tìm kiếm sticker thành công",
  "data": [ /* array of sticker objects */ ],
  "count": 10,
  "query": "example keyword"
}

No binary data output is produced by this operation.

Dependencies

  • Requires valid Zalo API credentials including a cookie, device IMEI, and user agent string.
  • The node depends on the external zca-js library to interact with the Zalo API.
  • Proper configuration of the Zalo API credential in n8n is necessary to authenticate requests.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Missing or incorrect cookie, IMEI, or user agent values can prevent successful login.
    • Network connectivity problems might lead to request timeouts or errors.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Indicates failure to authenticate with Zalo API. Verify that the API credentials are correctly set up and not expired.
    • Errors returned from the API during search will be included in the output if "Continue On Fail" is enabled; otherwise, they will stop execution.

Links and References

Discussion