Skip to content

Labels and Sales Funnels /mark

The /mark command allows you to create an arbitrary set of labels for dialog topics. Labels are used for customer segmentation, building sales funnels, and process automation.

How It Works

Labels are additional properties that can be assigned to customers with dialogs and conveniently displayed in topic names. Each label can have its own behavior parameters and automatically trigger actions when assigned (remove other labels or send a template with messages).

Main Features

  • Visual indicators in topic name with short command
  • Segmentation for mailings and export
  • Building sales funnels with automatic removal of previous statuses
  • Automatic template sending when assigning label

Calling the Command

In General Topic

Administrative functions for managing labels.

Viewing labels

Show list of all labels in backend group:

/mark

Show label properties and list of topics with this label:

/mark MARK_NAME

Quick help:

/mark help

Creating label

Create new label. Name must start with Latin letter, can contain letters, numbers, hyphen or underscore. Case insensitive.

/mark new MARK_NAME

Configuring label parameters

Set AFTER parameter — list of labels to remove:

/mark MARK_NAME after MARK1,MARK2

Clear AFTER parameter:

/mark MARK_NAME after CLEAR

Set SENDS parameter — template for auto-sending:

/mark MARK_NAME sends TEMPLATE_NAME

Clear SENDS parameter:

/mark MARK_NAME sends CLEAR

Set TICKER parameter — visual indicator:

/mark MARK_NAME ticker STRING|EMOJI

Clear TICKER parameter:

/mark MARK_NAME ticker CLEAR

Renaming

Change label name:

/mark MARK_NAME name NEW_MARK_NAME

In Dialog Topic

Setting and removing labels

Show labels assigned to this topic:

/mark

Add label to topic:

/mark MARK_NAME

Remove label from topic:

/mark del MARK_NAME

Usage Examples

Distributing topics by managers

Create labels for each manager with commands in General topic:

/mark new aa
/mark aa ticker Alex

/mark new ma
/mark ma ticker Maria

/mark new jk
/mark jk ticker John

Now managers can apply commands in topics to quickly label topics with their name:

/mark aa

/mark ma

/mark jk
Segmentation by countries

Create labels for users from different countries:

/mark new es
/mark es ticker 🇪🇸

/mark new ru
/mark ru ticker 🇷🇺

/mark new uk
/mark uk ticker 🇺🇦
Sales funnel

Creating a classic funnel with automatic removal of previous statuses:

/mark new lead
/mark new ticker LEAD

/mark prop
/mark prop after lead
/mark prop ticker PROPOSAL

/mark deal
/mark deal after lead,prop
/mark deal ticker ✅

/mark lost
/mark lost after lead,prop,deal
/mark lost ticker ❌

Now when moving a customer through the funnel, previous statuses are automatically removed.

Automatic VIP customer greeting
  1. Create greeting template for /send command:

    /send vip_welcome
    

  2. Configure label with auto-sending:

    /mark new vip
    /mark vip sends vip_welcome
    /mark vip ticker 👑
    

Now when assigning label /mark vip in any topic, customer automatically receives message according to vip_welcome template.

Traffic sources

Track where customers came from:

/mark new source_website
/mark source_website ticker 🌐

/mark new source_instagram
/mark source_instagram ticker 📸

/mark new source_referral
/mark source_referral ticker 👥

Then export database by sources for analyzing channel effectiveness.

Mailings by labels

/send mark vip template special_offer
Send special offer to all VIP customers with /send command.

Export by labels

/export deal
Export all customers with deal status using /export command.

Access Restriction

By default, functions for creating and configuring labels in General topic are only available to connections administrators. Access can be extended via EXTENSIONS_ALLOWED parameter.

Working in topics

Operators can add and remove created labels in dialog topics even without administrative access.

Useful Tips

Plan your structure

Before creating labels, think through their structure and relationships. This is especially important for the AFTER parameter in sales funnels.

Combine attributes

Labels can be combined — one topic can have multiple labels simultaneously (for example, vip + english + alex).