Superchat icon

Superchat

Receive and send messages from WhatsApp, Instagram, Messenger, E-Mail, SMS, via Live Chat and Telegram.

Conversation → Update Labels

AI-generated

Overview

This node operation updates the labels of a specific conversation in the Superchat platform. It is useful for categorizing or tagging conversations to organize and manage them effectively. For example, a user can add or change labels on a conversation to indicate its status, priority, or topic.

Use Case Examples

  1. Updating labels on a customer support conversation to mark it as 'urgent' or 'follow-up'.
  2. Adding a 'sales' label to conversations related to potential clients.

Properties

Name Meaning
Conversation ID The unique identifier of the conversation to update. It must start with 'cv_' and is required.
Labels A collection of label IDs to assign to the conversation. Multiple labels can be added, each identified by its ID or selected from a list.

Output

JSON

  • id - The ID of the updated conversation.
  • labelIds - The list of label IDs assigned to the conversation after the update.

Dependencies

  • Requires an API key credential for Superchat to authenticate and perform the update operation.

Troubleshooting

  • Ensure the Conversation ID is correctly formatted and exists; otherwise, the update will fail.
  • Verify that the label IDs provided are valid and accessible by the authenticated user.
  • Common errors include authentication failures due to missing or invalid API credentials, which can be resolved by providing correct credentials.
  • If the node throws an error about missing parameters, check that all required fields, especially Conversation ID and Labels, are properly set.

Links

Discussion