Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node operation creates a new label within a specified session. It is useful for organizing and categorizing items or data by assigning meaningful labels with customizable names and colors. For example, in a CRM system, you might create labels like 'Lead' or 'Customer' with specific colors to visually distinguish different types of contacts.
Use Case Examples
- Creating a label named 'Lead' with a red color to tag potential customers.
- Adding a label 'Urgent' with a specific color to prioritize tasks or messages.
Properties
| Name | Meaning |
|---|---|
| Session | The session name in which the label will be created. |
| Name | The name of the label to be created. |
| Color Hex | The color of the label specified in hexadecimal format. |
| Color | The color of the label specified as a number (alternative to hex). |
| Request Options | Additional request settings such as batching, SSL certificate validation, proxy, and timeout options. |
Output
JSON
id- The unique identifier of the created label.name- The name of the created label.colorHex- The hexadecimal color code of the created label.color- The numeric color value of the created label.session- The session name associated with the created label.
Dependencies
- Requires an API key credential or authentication token to connect to the service managing labels.
Troubleshooting
- Ensure the session name is valid and active; otherwise, label creation may fail.
- Verify that the label name is unique or allowed by the service to avoid conflicts.
- If using color number or hex, ensure the format is correct to prevent errors.
- Check network settings if using proxy or if SSL issues occur; adjust request options accordingly.
- Timeout errors may occur if the server is slow or unresponsive; increase timeout setting if needed.