The post has been translated automatically. Original language: Russian
In a marketing agency, all work goes to Telegram. Each project has at least two chats: shared with the client and internal. We have several active projects, plus chat rooms for contractors, film crews, and personal work chats for employees. The client writes the edit by voice at 18:50, the manager replies "accepted", and by morning only the client remembers about it.
We tried to treat it with discipline: "put every request on the card at once." Does not work. The person in the correspondence does not want to switch to another program, and it can be understood.
Then we installed an AI agent in the chats. This system is made by SMM Solutions LLP, as part of the M8 Hub platform for SMM and marketing agencies. I tell you what the agent can do now, what rules he lives by, and what mistakes he has made.
How it works
The scheme is like this without details. There is a bot in every work chat. He is attached to the project, records correspondence and decrypts voice messages. The bot itself does not solve anything, it is the explorer. The agent on the server solves the problem: a language model with a set of instructions and access to the task board, calendar, and project cloud. Access is limited by the list of commands. An agent can create a card, but he cannot delete it or change the regulations.
It's easy to contact an agent: tag them, reply to their message, or text them by name. There is no separate application, slash commands, or forms.
What the agent does in chats
Sets tasks from correspondence
The manager writes in an internal chat: "we need a banner for the promotion, the size is like last time, the deadline is Friday." The agent creates a card on the designers' board according to the TK template and suggests the time limit according to the matrix from the regulations. If something is missing, he lists what it is: text, sources, format, or deadline. I didn't understand — he asks again or asks for a screenshot.
If he can handle the task himself, he takes it: sets himself up as a performer, turns on the timer and keeps the card until it is handed over to the manager. The default deadline is 19:00 on the next business day.
Collects the client's edits
The client writes five comments to the layout in a general chat, some in text, some in voice. The agent puts them in an "Edit" checklist with the date inside the card and returns the card to the designer. The designer sees a list, not forty messages of correspondence.
Adjusts layouts using buttons
The finished layout is sent to the internal chat with two buttons: "Approve" and "Edits". You can dictate the edit. The agent corrects simple layouts himself and sends a new version to the same chat with the same buttons. The file is still being sent to the client by the manager.
He's sorting out the planning meetings
The call recording ends up in the project cloud. The agent decrypts it and puts the full text next to the record. Only a summary goes into the internal chat: the main thing that we are doing today, the tasks in sections, what to clarify with the client, the next step and the responsible one. The manager reads, clicks "Approved", and one "Meeting Plan" card appears on the board with the date and points, each with its own deadline. She lives until the next meeting.
Before that, the protocol was written by the manager, and the hands did not always reach him.
Transfers tasks from mail to chat
Some of the clients persistently write to the mail. The agent reads the mailbox, filters out the mailings, defines the project and brings the task to the internal chat with the manager's tag and two buttons: "Remind in an hour" and "Completed". He recalls silence after forty minutes, up to three times. Then he informs the manager.
Selects bloggers
The manager writes: "we need to find a blogger." The agent asks six questions: the goal, the city, the audience, the budget, the format, the deadlines. Then it looks at the agency's database and open data and returns a list with justification for each. He adds new bloggers to the candidate database so that he doesn't have to search again next time.
The rules by which the agent lives
A list of functions can be found on any bot. What turned out to be more interesting to us was how many rules of conduct it took for the agent's team not to hate.
Business hours only. The agent can work at night, but he is allowed to write to employees on weekdays from 10:00 to 13:00 and from 14:00 to 19:00. The finished product is waiting for the morning. The lunch hour is also closed.
For "You" and with a tag. The first summary of the meeting went into the chat with the word "look". According to the regulations, our colleagues are on "You" in work chats, and the remark arrived on the same day. This rule is now in the agent's instructions. They also added a second one: if you contact a person, mark them, otherwise no one considers the message their own.
Don't be silent. The employee left a voicemail with a request that the agent didn't know how to make. He said nothing. This is the worst case scenario: a person waits and does not know if they have heard him. Now, in such cases, the agent responds: "I haven't been trained in this action yet, but I can if the supervisor agrees." The supervisor gets three buttons: "Approve", "Cancel", and "Make edits". The log of such requests turned out to be the best development plan: it shows what to teach the agent next.
To respond in a human way. A colleague asked when the task would be ready. The agent replied, "ready 0." Technically correct. After that, it is written in the instructions: they asked "when" — name the time. Not ready — explain in simple words why and what needs to be done.
Money and access are not his topic. The agent answers questions about salaries, payments, passwords, and other people's personal data with one phrase.: this is a question for the manager. He does not start the card and does not enter into the discussion.
Do not delete anything. One day, automation deleted four working screenshots of an employee from the chat. Telegram deletes it permanently. Now the agent does not touch people's messages and files at all, and if he does not understand what was sent to him, he asks with a button.
Don't write to the client. In a chat with a client, the agent reads and arranges tasks, but the manager answers the client. We discussed whether to allow the agent to at least forward the finished files. We decided it was too early.
How we taught him
We did not immediately launch the agent in full force. For the first week, he worked "dry": he read chats, found tasks and edits, but did not create anything or write to anyone. He sent me one of his finds in private messages.
We answered them in plain text: "this is not a task, the client just thanks us", "the deadline is tomorrow, not today", "this is an edit to a different layout". Each such answer was saved as a lesson and included in the agent's instructions. By the end of the week, the instructions no longer included our assumptions about how clients write, but the analysis of real messages. After that, we turned on the functions one at a time.
This mechanism remains. The system has a section with lessons where controversial cases fall. But only the rules that the supervisor has adopted are applied. The agent does not retrain himself.
What's with the security
The agent reads what strangers write: clients, contractors, letter writers. This means that any text in the chat is data for him, not a command.
We checked it with an audit and found something unpleasant. The word "agreed" from any participant in the client chat moved the card further along the process, even if it wasn't written by the decision maker. Fixed it.
Second, the agent had too many rights. After the audit, he can only read the system code, and money, access, deletion, and changes to regulations are completely closed to him.
And the third rule, which was born out of my own mistake: passwords and codes are not stored in documents, cards and chats, even as an example. The agent reads everything he can reach, and one day he will retell what he has read to whoever asks.
What would we recommend to those who do the same thing?
Start with the surveillance mode. A week when an agent only shows what he would do saves a month of apologizing to the team.
Write down the working hours and tone right away. Technically, this is one line in the settings, and the attitude of people is more influenced than the quality of the model.
Don't make silent branches. Either the agent does it, or he honestly says that he does not know how, and passes it on to the person.
Leave a button for a person wherever there is money, a customer, or an irreversible action.
And write down the errors. Half of the rules in this article appeared after a specific failure, each of them has a date and a history. An agent who has been trained on live mistakes performs better than an agent with beautiful instructions.
Right now, we have assignment, edits, layout approval, planning meetings, and mail going through the agent. The next thing we want to teach him is to keep comments and private messages on social networks. We'll tell you when there's something to show.
В маркетинговом агентстве вся работа идёт в Telegram. У каждого проекта минимум два чата: общий с клиентом и внутренний. У нас несколько действующих проектов, плюс чаты подрядчиков, съёмочных групп и личные рабочие чаты сотрудников. Клиент пишет правку голосовым в 18:50, менеджер отвечает «принято», и к утру о ней помнит только клиент.
Мы пробовали лечить это дисциплиной: «каждую просьбу сразу в карточку». Не работает. Человек в переписке не хочет переключаться в другую программу, и его можно понять.
Тогда мы поселили в чаты ИИ-агента. Эту систему делает ТОО SMM Solutions, как часть платформы M8 Hub для SMM- и маркетинг-агентств. Рассказываю, что агент умеет сейчас, по каким правилам живёт и какие ошибки успел совершить.
Как это устроено
Схема без подробностей такая. В каждом рабочем чате есть бот. Он привязан к проекту, записывает переписку и расшифровывает голосовые. Сам бот ничего не решает, он проводник. Решает агент на сервере: языковая модель с набором инструкций и доступом к доске задач, календарю и облаку проекта. Доступ ограничен списком команд. Создать карточку агент может, а удалить её или поменять регламент не может.
Обратиться к агенту просто: поставить тег, ответить на его сообщение или написать ему по имени. Отдельного приложения, команд со слешем и форм нет.
Что агент делает в чатах
Ставит задачи из переписки
Менеджер пишет во внутреннем чате: «нужен баннер к акции, размеры как в прошлый раз, срок пятница». Агент заводит карточку на доске дизайнеров по шаблону ТЗ и предлагает норму времени по матрице из регламента. Если чего-то не хватает, он перечисляет, чего именно: текста, исходников, формата или срока. Не понял — переспрашивает или просит скриншот.
Если задача по силам ему самому, он берёт её: ставит себя исполнителем, включает таймер и ведёт карточку до сдачи менеджеру. Срок по умолчанию — 19:00 следующего рабочего дня.
Собирает правки клиента
Клиент пишет в общий чат пять замечаний к макету россыпью, часть текстом, часть голосовыми. Агент складывает их в чек-лист «Правки» с датой внутри карточки и возвращает карточку дизайнеру. Дизайнер видит список, а не сорок сообщений переписки.
Согласует макеты кнопками
Готовый макет приходит во внутренний чат с двумя кнопками: «Одобряю» и «Правки». Правку можно надиктовать. Простые макеты агент исправляет сам и присылает новую версию в тот же чат с теми же кнопками. Клиенту файл по-прежнему отправляет менеджер.
Разбирает планёрки
Запись созвона попадает в облако проекта. Агент расшифровывает её и кладёт полный текст рядом с записью. Во внутренний чат уходит только сводка: главное, что делаем сегодня, задачи по разделам, что уточнить у клиента, следующий шаг и ответственный. Менеджер читает, жмёт «Одобрено», и на доске появляется одна карточка «Планёрка» с датой и пунктами, у каждого свой срок. Она живёт до следующей планёрки.
До этого протокол писал менеджер, и руки до него доходили не всегда.
Переносит задачи из почты в чат
Часть клиентов упорно пишет на почту. Агент читает рабочий ящик, отсеивает рассылки, определяет проект и приносит задачу во внутренний чат с тегом менеджера и двумя кнопками: «Напомнить через час» и «Выполнена». На молчание он напоминает через сорок минут, до трёх раз. Потом сообщает руководителю.
Подбирает блогеров
Менеджер пишет: «нужно подобрать блогера». Агент задаёт шесть вопросов: цель, город, аудитория, бюджет, формат, сроки. Затем смотрит базу агентства и открытые данные и возвращает список с обоснованием по каждому. Новых блогеров он добавляет в базу кандидатами, чтобы в следующий раз не искать заново.
Правила, по которым живёт агент
Список функций можно найти у любого бота. Нам интереснее оказалось другое: сколько правил поведения понадобилось, чтобы команда агента не возненавидела.
Только рабочие часы. Агент может работать хоть ночью, но писать сотрудникам ему разрешено в будни с 10:00 до 13:00 и с 14:00 до 19:00. Готовое ждёт утра. Обеденный час тоже закрыт.
На «Вы» и с тегом. Первая сводка планёрки ушла в чат со словом «посмотри». У нас по регламенту коллеги в рабочих чатах на «Вы», и замечание прилетело в тот же день. Теперь это правило в инструкции агента. Туда же добавили второе: обращаешься к человеку — отмечай его, иначе сообщение никто не считает своим.
Не молчать. Сотрудница оставила голосовое с просьбой, которую агент делать не умел. Он промолчал. Это худший вариант: человек ждёт и не знает, услышали ли его. Сейчас в таких случаях агент отвечает: «Пока не обучен этому действию, но могу, если руководитель согласует». Руководитель получает три кнопки: «Одобрить», «Отменить», «Внести правки». Журнал таких просьб оказался лучшим планом развития: по нему видно, чему учить агента дальше.
Отвечать по-человечески. Коллега спросила, когда будет готова задача. Агент ответил: «готово 0». Формально верно. После этого в инструкциях записано: спросили «когда» — назови время. Не готово — объясни простыми словами почему и что нужно сделать.
Деньги и доступы не его тема. На вопросы о зарплатах, выплатах, паролях и чужих личных данных агент отвечает одной фразой: это вопрос к руководителю. Карточку не заводит и в обсуждение не вступает.
Ничего не удалять. Однажды автоматика удалила из чата четыре рабочих скриншота сотрудницы. Telegram удаляет навсегда. Теперь сообщения и файлы людей агент не трогает совсем, а если не понимает, что ему прислали, спрашивает кнопкой.
Клиенту не писать. В чате с клиентом агент читает и раскладывает по задачам, но отвечает клиенту менеджер. Мы обсуждали, не разрешить ли агенту хотя бы пересылать готовые файлы. Решили, что пока рано.
Как мы его учили
Запускать агента сразу в полную силу мы не стали. Первую неделю он работал «всухую»: читал чаты, находил задачи и правки, но ничего не создавал и никому не писал. Каждую находку он отправлял мне в личные сообщения по одной.
Мы отвечали на них обычным текстом: «это не задача, клиент просто благодарит», «тут срок завтра, а не сегодня», «это правка к другому макету». Каждый такой ответ сохранялся как урок и попадал в инструкции агента. К концу недели в инструкциях были уже не наши предположения о том, как пишут клиенты, а разборы настоящих сообщений. Функции мы после этого включали по одной.
Этот механизм остался. В системе есть раздел с уроками, куда попадают спорные случаи. Но в работу идут только те правила, которые принял руководитель. Сам себя агент не переучивает.
Что с безопасностью
Агент читает то, что пишут посторонние люди: клиенты, подрядчики, авторы писем. Значит, любой текст в чате для него — данные, а не команда.
Мы проверили это аудитом и нашли неприятное. Слово «согласовано» от любого участника клиентского чата двигало карточку дальше по процессу, даже если написал его не тот, кто принимает решения. Исправили.
Второе: у агента было слишком много прав. После аудита код системы он может только читать, а деньги, доступы, удаление и правки регламентов закрыты для него совсем.
И третье правило, которое родилось из собственной ошибки: пароли и коды не хранятся в документах, карточках и чатах, даже как пример. Агент читает всё, до чего дотягивается, и однажды перескажет прочитанное тому, кто спросит.
Что бы мы посоветовали тем, кто делает то же самое
Начните с режима наблюдения. Неделя, когда агент только показывает, что он сделал бы, экономит месяц извинений перед командой.
Сразу пропишите рабочие часы и тон. Технически это одна строка в настройках, а на отношение людей влияет сильнее, чем качество модели.
Не делайте молчаливых веток. Либо агент делает, либо честно говорит, что не умеет, и передаёт человеку.
Оставьте кнопку за человеком везде, где есть деньги, клиент или необратимое действие.
И записывайте ошибки. Половина правил из этой статьи появилась после конкретного провала, у каждого из них есть дата и история. Агент, которого учили на живых промахах, работает лучше агента с красивой инструкцией.
Сейчас через агента у нас проходят постановка задач, правки, согласование макетов, планёрки и почта. Следующее, чему мы хотим его научить, — вести комментарии и личные сообщения в соцсетях. Расскажем, когда будет что показать.
Comments 8
Newest Popular