Add label

Adds a label to a conversation.

MCP tool trengo_write → add_label

write

Uses the label icon of the conversation. A name that does not exist, is archived or is not set up for the conversation's channel fails at once, and the error lists the labels you can use. It reaches nobody and is undone with remove_label, so it runs without confirmation. An automation of yours that listens for a new label, such as a Zap on Ticket label added, still runs.

Parameters

Parameters: add_label
NameTypeDescription
conversation_id integer required integer Conversation ID from list_conversations or search_conversations.
label string required string Label name from list_labels.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trengo_write",
    "arguments": {
      "operation": "add_label",
      "arguments": {
        "conversation_id": 5120344,
        "label": "Billing"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "conversation_id": 5120344,
    "labels": [
      "Billing"
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.