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 node outputs JSON data with the following structure:

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

Example output JSON snippet:

{
  "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 indicated in this operation.

Dependencies

  • Requires an API key credential to connect to the Zalo API.
  • Uses the zca-js library internally to interact with Zalo's sticker services.
  • The node expects valid authentication details including cookie, IMEI, and user agent either from credentials or input data.
  • Proper configuration of the Zalo API credential in n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause login failure.
    • Missing required parameters like the search keyword will prevent execution.
    • Network or API errors from Zalo could interrupt the search process.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Means the node failed to authenticate with Zalo. Check your API credentials and ensure they are correctly configured.
    • Errors returned from the Zalo API will be passed through; enabling "Continue On Fail" can help handle these gracefully in workflows.

Links and References

Discussion