Actions42
- 💬 **CHATTING** · Send Text
- 💬 **CHATTING** · Mention Group Members
- 💬 **CHATTING** · Send Image
- 💬 **CHATTING** · Send Video
- 💬 **CHATTING** · Send Voice
- 💬 **CHATTING** · Send File
- 💬 **CHATTING** · Download Media File
- 💬 **CHATTING** · Send Seen
- 💬 **CHATTING** · Start Typing
- 💬 **CHATTING** · Set Online
- 💬 **CHATTING** · Set Offline
- 💬 **CHATTING** · Start Recording
- 💬 **CHATTING** · Send Reaction
- 💬 **CHATTING** · Send Location
- 💬 **CHATTING** · Send Poll
- 💬 **CHATTING** · Send List Message
- 💬 **CHATTING** · Send Link Custom Preview
- 💬 **CHATTING** · Send Event Message
- 💬 **CHATTING** · Send Contact Card
- 🟢 **STATUS ACTIONS** · Send Text Status
- 🟢 **STATUS ACTIONS** · Send Image Status
- 🟢 **STATUS ACTIONS** · Send Voice Status
- 🟢 **STATUS ACTIONS** · Send Video Status
- 🟢 **STATUS ACTIONS** · DELETE Sent Status
- 🏷️ **LABELS** · Get All Labels
- 👥 **GROUPS** · Get All Groups
- 👥 **GROUPS** · Get Group
- 👥 **GROUPS** · Get Participants
- 👥 **GROUPS** · Add Participants
- 👥 **GROUPS** · Remove Participants
- 👥 **GROUPS** · Get Invite Code
- 👥 **GROUPS** · Get Group Picture
- 🏷️ **LABELS** · Create Label
- 🏷️ **LABELS** · Update Label
- 🏷️ **LABELS** · Delete Label
- 🏷️ **LABELS** · Get Labels For Chat
- 🏷️ **LABELS** · Save Labels For Chat
- 🏷️ **LABELS** · Get Chats By Label
- 👤 **CONTACTS** · Get All Contacts
- 👤 **CONTACTS** · Get Contact Basic Info
- 👤 **CONTACTS** · Check Phone Registered
- 👤 **CONTACTS** · Get Contact Profile Picture
🏷️ **LABELS** · Save Labels For Chat
AI-generatedSummary
Save one or more labels to a specified chat by providing the chat ID and the label IDs to assign.
Inputs
- Session Mode — Select how the node identifies the sending session (Auto, by session name, or by selecting a session).
- Session — Choose the session from available WhatGHL sessions; required if Session Mode is 'Select Session'.
- Session Name — Provide the WAHA session name; required if Session Mode is 'By Session Name'.
- Chat ID (required) — Specify the destination chat identifier to which labels will be saved.
- Label IDs (required) — Provide label IDs as a JSON array (e.g., ["36","29"]) or CSV string (e.g., "36,29") to assign to the chat.
Output shape
a JSON object reflecting the API response, paired with the input item index
Requires valid WhatGHL credentials (baseUrl and apiKey). The operation sends a POST request to the /actions endpoint with action 'save_labels_for_chat'. Errors specific to label saving may emit warnings without stopping workflow execution. The chat ID and label IDs must be valid and will throw errors if missing.
Examples
Example 1: Assign labels 36 and 29 to chat with ID 1234567890@c.us in automatic session mode
sessionMode=auto; chatId=1234567890@c.us; labelIds=["36","29"]