Zalo Sticker icon

Zalo Sticker

Quản lý sticker trên Zalo

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 a name or keyword. 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" 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): Indicates if the sticker retrieval was successful.
  • message (string): A descriptive message about the operation result.
  • data (array): An array of sticker objects returned from Zalo.
  • count (number): The number of stickers returned.

Example output structure:

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

No binary data is output by this node.

Dependencies

  • Requires an API key credential to authenticate with the Zalo platform.
  • Uses the zca-js library to interact with Zalo's API.
  • Requires valid cookie, IMEI, and user agent information as part of the credentials or input data.

Troubleshooting

  • Common issues:

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

    • "No API instance found. Please make sure to provide valid credentials."
      This indicates missing or invalid authentication details. Verify the API key credential and ensure cookie, IMEI, and user agent are correctly set.
    • Errors returned from the Zalo API will be included in the output if "Continue On Fail" is enabled; otherwise, they will stop execution.

Links and References

Discussion