Zalo Sticker icon

Zalo Sticker

Quản lý sticker trên Zalo

Zalo Sticker → Lấy Danh Sách Sticker

AI-generated

Overview

This node manages stickers on the Zalo platform, specifically allowing users to retrieve a list of stickers. It is useful for workflows that need to display, filter, or process Zalo stickers based on names or keywords. For example, a marketing automation workflow could fetch relevant stickers by keyword to include in messages or campaigns.

The "Lấy Danh Sách Sticker" (Get Sticker List) operation fetches stickers matching a given name or keyword. If no name is provided, it returns all available stickers.

Properties

Name Meaning
Tên Sticker The name or keyword to filter stickers by. Leave empty to retrieve all stickers.

Output

The output JSON contains the following fields:

  • success: Boolean indicating if the request was successful.
  • message: A success message string.
  • data: An array containing the sticker objects retrieved from Zalo.
  • count: Number of stickers returned (length of the data array).

Example output JSON structure:

{
  "success": true,
  "message": "Lấy danh sách sticker thành công",
  "data": [ /* array of sticker objects */ ],
  "count": 10
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo API.
  • Uses the zca-js library to interact with Zalo services.
  • Requires valid cookie, IMEI, and user agent information as part of the credentials or input data.
  • The node expects these credentials to be configured properly in n8n before execution.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Missing or malformed cookie, IMEI, or user agent values can prevent successful login.
    • Providing an invalid or non-existent sticker name might return an empty list.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      This indicates failure to authenticate with Zalo API. Verify that the API key credential is correctly set up and includes valid cookie, IMEI, and user agent data.
    • Errors thrown during API calls will be included in the output if "Continue On Fail" is enabled; otherwise, they will stop execution.

Links and References

Discussion