Evolution API icon

Evolution API

Interact with Evolution API

Actions114

Label → Handle Label

AI-generated

Overview

This node interacts with the Evolution API to handle labels on chats. Specifically, it allows users to add or remove a label from a chat by specifying the instance name, the action (add or remove), the label ID, and the chat ID. This is useful for managing chat organization and categorization in applications that integrate with the Evolution API, such as customer support or messaging platforms.

Use Case Examples

  1. Add a label to a specific chat to categorize it for follow-up.
  2. Remove a label from a chat when the issue is resolved or no longer relevant.

Properties

Name Meaning
Instance Name The name of the instance where the label action will be performed.
Action The action to perform on the label, either adding or removing it from the chat.
Label ID The unique identifier of the label to add or remove.
Chat ID The JID of the chat (e.g., individual or group chat identifier) where the label will be applied or removed.

Output

JSON

  • result - The outcome of the label handling operation, such as confirmation of label addition or removal.

Dependencies

  • Requires an API key credential for the Evolution API to authenticate requests.

Troubleshooting

  • If the node throws an 'Unsupported operation' error, verify that the resource and operation names are correctly set to 'Label' and 'Handle Label'.
  • Ensure that the instance name, label ID, and chat ID are correctly provided and valid.
  • Check that the API credentials for the Evolution API are correctly configured and have the necessary permissions to modify labels.

Discussion