Portfolio Leleka WhatsApp bot
A WhatsApp assistant that knows when to step aside
An AI assistant for the Polish e-bike brand Leleka. It answers customers on WhatsApp in Polish, Ukrainian and English about models, prices, leasing, delivery and service, using only the brand’s own website data. The moment a manager joins the chat, the bot goes quiet.
Project
Leleka WhatsApp bot
- Client
- Leleka E-bikes, the e-bike brand of Jet DP A Polish company based in Przemyśl. Customers message the manager on WhatsApp, and he replies from the WhatsApp Business app on his phone.
- System
- An AI assistant on the brand’s WhatsApp business number It answers customers first and hands the conversation to a person when an order or a decision is needed.
- Our part
- Architecture, n8n workflows, AI and server setup Also the app setup at Meta, from business verification to App Review, and the privacy policy addendum describing the assistant.
- Stack
-
- n8n
- OpenAI
- WhatsApp Cloud API
- PostgreSQL
- Docker
- Languages
- Polish, Ukrainian, English The bot replies in the customer’s language, and in English for any other.
The task
Fast answers, no made-up facts
Customers write to Leleka on WhatsApp in three languages about models, prices, leasing and delivery. The manager answers from his phone during working hours. The client wanted an AI assistant to handle the routine questions without taking away the manager’s number or the app he is used to.
Same number, same app
The bot had to reply from the business number customers already use, while the manager kept working in the WhatsApp Business app on his phone, with no new software.
Only real prices and specs
Prices, availability, specifications and terms may come only from the brand’s own data. If the answer isn’t there, the assistant has to say so honestly and offer to put the customer in touch with the manager.
A person always within reach
Customers must know they are talking to AI and be able to ask for a person at any time. When the manager steps in, the bot must not talk over him.
Meta rules and GDPR
WhatsApp doesn’t allow businesses to run a general-purpose chatbot or message people unprompted, and customers’ texts are sent to a language model. That called for a clear privacy policy, limited retention periods and Meta’s approval of the app.
Solution
An assistant that works alongside the manager
One number for the bot and the manager
The number connects to the WhatsApp Cloud API in coexistence mode: the WhatsApp Business app stays on the manager’s phone, and messages also flow into the n8n workflow. As soon as the manager replies from his phone, the bot goes silent in that chat for 12 hours.
Knowledge from the brand’s website
Before every reply, the assistant loads the current description of the range and terms from the Leleka website. There is no separate database to keep in sync: update the site and the bot already knows. The OpenAI model follows strict rules: shop topics only, no invented facts, the customer’s language, short messages with no formatting.
Handover and data protection
When a customer asks for a person, wants to place an order or needs a decision the bot can’t make, the assistant says the manager will reply in the same chat during working hours and gives his contacts. The server is in the EU, chat history is deleted after 90 days, and we added a section on the assistant to the privacy policy.
Capabilities
An AI sales assistant on WhatsApp
01 · 5
Talking to customers
- Replies in Polish, Ukrainian and English
- Choosing a model, specifications, prices and leasing
- Delivery, warranty, service and documents
- Conversation context: the last 20 messages
- A request to type the question when a photo or voice note arrives
02 · 4
Rules for the AI
- Knowledge only from current website data
- An honest “I don’t know” instead of a guess
- Off-topic questions politely declined
- Disclosure that an AI assistant is replying
03 · 3
Manager
- The same number and WhatsApp Business app
- Bot paused after the manager replies
- Handover with the manager’s contacts
04 · 5
Reliability and data
- Signature check on every request from Meta
- No duplicate replies when a message is redelivered
- Replies only to people who wrote first, no broadcasts
- EU server and daily backups
- Chat history deleted automatically after 90 days
Result
A first line of advice that doesn’t get in the manager’s way
Routine questions about models, prices, leasing and delivery get an answer on WhatsApp straight away, in the customer’s language and based only on what the brand publishes on its own website.
The manager works from his phone as before: a single reply in the chat and the bot steps aside. New models or prices on the website reach the assistant with no extra work.