Customers write in WhatsApp, email or Telegram, or call. The agent answers in their language within seconds, saves each lead in HubSpot, and passes the serious ones to a manager.
My role. I designed the agent's logic, built it with Claude Code (AI agents wrote the code), tested it, and tuned it together with the store.
Tests
30 of 30 passed (3 Nov run)
Languages
PL · UA · RU · EN
Median reply
8.7 s
CRM
HubSpot, live since 3 Nov 2026
The problem
The store sells garden and farm equipment online in Poland. Customers write in Polish, Ukrainian, Russian and English. Questions arrive through several channels and in several languages. Each question is a possible sale, and each needs a fast answer and a record in the sales system.
The goal: every message gets a quick, correct answer; every lead lands in the CRM once, with a clear quality score; and a human takes over when a customer is ready to buy.
How it works
One logic serves every channel. A new channel is just another connector.
Phone calls use a separate voice agent and join the same flow after the call (see below).
What was built
Text agent: WhatsApp, email, Telegram
Answers on shared logic, so every channel behaves the same.
Replies in the customer's language: Polish, Ukrainian, Russian or English.
Short, human replies, as in a messenger.
In WhatsApp it shows "read" and "typing" at once, then answers after a short pause, so a question split over several messages gets one reply.
Stays silent on ads, personal and official messages and scams; flags suspicious ones to the manager.
Recognizes a returning customer from the CRM and uses the history in its first reply.
Voice agent: phone calls
A separate part of the system: a store phone number answered by a voice assistant built on ElevenLabs, with the number connected through Zadarma.
Speaks Polish by default, plus Ukrainian, Russian and English.
Short sentences, one question at a time, and it says it is a virtual assistant.
After the call, a summary card goes to the manager's Telegram bot and a deal is created in HubSpot.
Guard rails
The agent has only three tools: catalog search, writing to the lead card, and calling a manager. It cannot reach files or the internet, so a customer cannot talk it into anything else. Prices and availability come from the catalog. Lead quality is scored by rules in code, not guessed by the model.
HubSpot
One contact per person. The agent searches by phone and email first, so there are no duplicates.
One deal per conversation in the sales pipeline. The deal moves forward on its own: New Inquiry, Needs Assessment, Proposal Sent, Decision Pending.
Four custom fields on each deal:lead_channel, lead_score (hot, warm or cold, by rules), lead_score_reason, and first_response_seconds.
A dashboard shows leads by stage, by channel and by score, and the average time to first response.
HubSpot works in the background: a slow or failed sync never delays the reply to the customer, and it retries.
The HubSpot dashboard for the agent, as of 4 Nov 2026 (cropped; store and account details removed; includes test conversations).
Handing over to a manager
When a lead is hot, the customer asks for a person, or there is a complaint, the manager gets a card in a Telegram bot. The card has a short summary and the known fields. If nobody picks it up within 30 working minutes, the bot sends a reminder in reply to the card.
Testing
The test set copies how real customers write. On 3 November the agent passed all 30. After each prompt change the set runs again, and the checks cover correct prices, the language of the reply, and whether a manager was called at the right moment. I also tested live: I wrote from a second phone, and the agent answered in about 9 seconds.
How I worked
Read real conversations of the store to see what customers ask and how the team answers.
Designed the logic: scenarios, what the agent must never do, how a lead is scored, when a manager steps in.
Built it with Claude Code. AI agents wrote the code from my design; I reviewed and directed the work.
Connected the text channels first, then the phone line.
Connected HubSpot and set up the pipeline, fields and dashboard.
Tested on a set of 30 dialogs in four languages, then live, and tuned the replies together with the store.