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
| Capability | What happens |
|---|---|
| CRM updates | The 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 |
| Duplicates | The 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 |
| Image | The agent sends the client a picture from a direct https link into the conversation, with a short caption |
What the owner needs
| Condition | Where to set it up |
|---|---|
| Telegram or MAX is connected | The 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 allowed | The 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 deals | There 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 on | Agent 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
- 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.
- Give a name and a budget. The client card and the deal will show these fields if the agent has the permission for them.
- 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.
| Match | Can the agent merge? |
|---|---|
| Confirmed phone | Yes |
| Confirmed e-mail | Yes |
| Phone or e-mail typed by the client in the chat | No |
| The same messenger nickname | No: a nickname can be changed and taken over by someone else |
| The same name, or name plus first request | No: 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
| Rule | Value |
|---|---|
| Link | https only, a direct link to the file rather than a page; no non-standard port |
| Format | JPEG, PNG, WebP, GIF (judged by the file content, not by the extension) |
| Size | Up to 10 MB |
| Caption | Up to 1000 characters, optional |
| Where | Into 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
| Symptom | Cause | What to do |
|---|---|---|
| The agent replies but the card does not change | The "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 value | Change the field by hand |
| The agent found a duplicate but did not merge | Match by nickname or name, the number was typed by the client in the chat, or the agent may not change deals | Merge the cards yourself: client card |
| The wrong clients were merged | The phone or e-mail in the cards turned out to be shared | Press "Unmerge" in the merge notice on the client card |
| The image was not sent | The link is not https, leads to a page, the file is over 10 MB, the format is not on the list, or storage is full | Give a direct link to a JPEG, PNG, WebP or GIF up to 10 MB, free up space |