Agent in Telegram and MAX: CRM updates, duplicates, images

An agent that answers clients in Telegram and MAX can do three things beyond replying with text: fill in the client card and the deal in the Smokva CRM, find and merge duplicate clients, and send an image by link. Smokva turns each of the three on separately per account; if something described here is missing for you, contact support.

What the agent does

CapabilityWhat happens
CRM updatesThe agent writes to the deal and the client card of this conversation: fills the allowed fields (name, gender, request, budget, your own fields), adds a note and tags, sets a task, moves the deal to another stage. A new client's first message creates the deal by itself. The agent cannot change other deals
DuplicatesThe agent looks for cards similar to the conversation's client. It can merge them by itself only on a confirmed match; otherwise it can pass the question to a manager
ImageThe agent sends the client a picture from a direct https link into the conversation, with a short caption

What the owner needs

ConditionWhere to set it up
Telegram or MAX is connectedThe agent's "Integrations" tab (Telegram, MAX)
For CRM updates: the "The agent is allowed to change CRM data" switch is on and the needed actions are allowedThe agent's "CRM actions" screen (CRM actions)
For writing a field: the field is marked "Fills"The same screen, "Fields" tab
For merging cards: the agent may change dealsThere is no separate switch in the cabinet yet: Smokva sets the permission on your request
For images: the agent's role has the "Sending messages on its own" capability onAgent card → "Personality" tab → "Role capabilities"

If an action is unavailable to the agent, the "CRM actions" screen shows a note with the reason next to it.

How to check

  1. Write to the agent in Telegram or MAX from a test account. The sandbox does not work for this check: it does not write to the CRM.
  2. Give a name and a budget. The client card and the deal will show these fields if the agent has the permission for them.
  3. Open the client card: the feed shows that the field was filled by AI (what AI filled in).

Merging duplicates: when it is allowed

The agent merges cards only when there is a confirmed match by phone or e-mail. A confirmed value is one that came from the channel, an import or a manager. A phone number or e-mail that the client merely typed to the agent in the chat is not used as a key: otherwise anyone could type someone else's number and merge their card with another person's.

MatchCan the agent merge?
Confirmed phoneYes
Confirmed e-mailYes
Phone or e-mail typed by the client in the chatNo
The same messenger nicknameNo: a nickname can be changed and taken over by someone else
The same name, or name plus first requestNo: the client sets the profile name themselves

Extra safeguards: clients from different companies are not merged, and neither is a pair that was already split manually. The older card stays; the conversation and deals move to it. Deals are not merged together: a manager decides on that if needed. A merge can be undone: the client card shows a merge notice with a "Unmerge" button (it needs the permission to manage the CRM, which the owner has).

Images

RuleValue
Linkhttps only, a direct link to the file rather than a page; no non-standard port
FormatJPEG, PNG, WebP, GIF (judged by the file content, not by the extension)
SizeUp to 10 MB
CaptionUp to 1000 characters, optional
WhereInto the conversation in progress; the agent does not choose the recipient

Smokva downloads the picture and sends the client its own copy, not someone else's link. The copy takes space in the account storage; if the picture could not be delivered to the client, the copy is deleted and the space is returned. The agent will not send SVG, pages or any other files.

What the agent does not do

  • It does not write to other deals and cards, and does not create a deal on a client's request: the system creates the deal on the first message.
  • It does not delete deals and cards and does not assign an owner.
  • It does not merge cards by nickname, by name or on the client's word.
  • It does not send video, documents or albums, does not take files from your storage and does not send images on its own initiative.
  • It does not write to conversations run by an external CRM (for example, amoCRM) or to closed deals.

Common problems

SymptomCauseWhat to do
The agent replies but the card does not changeThe "The agent is allowed to change CRM data" switch is off or the field is not marked "Fills"Turn the switch on and mark the fields on the "CRM actions" screen
The field stayed the same, the agent said "already filled"The agent writes only into an empty field or one it filled itself; it does not overwrite a manager's valueChange the field by hand
The agent found a duplicate but did not mergeMatch by nickname or name, the number was typed by the client in the chat, or the agent may not change dealsMerge the cards yourself: client card
The wrong clients were mergedThe phone or e-mail in the cards turned out to be sharedPress "Unmerge" in the merge notice on the client card
The image was not sentThe link is not https, leads to a page, the file is over 10 MB, the format is not on the list, or storage is fullGive a direct link to a JPEG, PNG, WebP or GIF up to 10 MB, free up space

See also