Run a small online store from Telegram with an OpenClaw seller agent and a WhatsApp buyer agent on AWS, from an open-source sample
An AWS sample store where buyers talk to an AI agent on WhatsApp and the owner gets stock alerts, bad-review escalations and orders in Telegram, then replies in plain words ('restock hoodies 20', 'apologize') and an OpenClaw agent calls the store API. Code is public; no real store results.
Evidence: The source shows its work: steps, screenshots, code or data you can inspect.
The business problem
A one-person online store has to answer buyer questions, watch stock, catch unhappy customers and issue refunds, usually across several dashboards. The sample shows how to move that work into chat: buyers ask an agent, and the owner manages exceptions by replying to alerts.
What was tried
1. Deploy the sample with AWS CDK (about 25 to 30 minutes on a cold deploy). It creates a static storefront (S3 and CloudFront), a Store API (Python Flask on Lambda behind API Gateway) with a MySQL database on RDS, and email through Amazon SES. 2. Buyer side: WhatsApp messages arrive through AWS End User Messaging Social and SNS, a dispatcher Lambda passes them to a Strands agent on Amazon Bedrock AgentCore using Amazon Nova Lite, with per-buyer memory. It looks up products, checks order status and escalates problems. 3. Seller side: an OpenClaw gateway running on Amazon EKS connects a Telegram bot to the same Store API. 4. After each purchase the buyer gets a WhatsApp confirmation, an email and a 1 to 5 feedback survey, and a stock check runs. The owner is alerted in Telegram when an item has fewer than 5 units, is projected to sell out within 7 days, or is out of stock. 5. A score of 1 creates an escalation with the buyer's details. The owner replies 'apologize'; the agent sends a WhatsApp apology, emails a refund notice, marks the order refunded and closes the escalation. If several are open it asks which one. 6. Restock by replying in plain words, for example 'restock hoodies 20'. An admin dashboard shows orders, escalations, stock and AI-written insights from order patterns and feedback. 7. Destroy the stack with cdk destroy when finished to stop charges.
What was reported (not reported)
Not reported. This is a reference build on a demo store, not a case study: no stores, customers, response quality or costs are reported. The only performance claim is sub-second replies from Nova Lite.
Limitations
Vendor content: written by three AWS solutions architects and built entirely on paid AWS services, so it promotes AWS. No dollar costs are given, and an EKS cluster, RDS database and other resources keep charging until destroyed. The demo store sells physical goods (hoodies); a digital-product store would adapt the same pattern. The page does not describe approval steps or permission limits: a single 'apologize' reply triggers a refund notice and marks the order refunded, so add your own confirmation before using it with real money. The model behind the Telegram seller agent is not named. Setup needs a WhatsApp Business account linked to AWS, a Telegram bot, a verified SES address and comfort with AWS CDK and Docker. The repository was checked to exist (MIT-0 licence) but was not run here.
What you need
AWS account and CLI, Node.js 18 or later and Docker, a Telegram bot token from BotFather, a WhatsApp Business account linked to AWS End User Messaging Social, and a verified Amazon SES sender address.
Code: https://github.com/aws-samples/sample-conversational-commerce-openclaw-eum. Configuration values go in a CDK context file before cdk deploy.
Sources
- AWS Messaging Blog (Rommel Sunga, Bruno Giorgini, Zip Zieper) ↗ Vendor case study, published July 13, 2026
Source published: July 13, 2026. Last reviewed here: November 7, 2026. Spot a mistake? Tell us.
Tools in this workflow
- OpenClaw: Gateway for the owner's Telegram agentTry OpenClaw
- Amazon Bedrock AgentCore: Runs the buyer-facing agent with memoryTry Amazon Bedrock AgentCore
- Amazon Nova: Nova Lite model for the WhatsApp buyer agentTry Amazon Nova
- AWS End User Messaging: WhatsApp channel for buyersTry AWS End User Messaging
- Strands Agents: Agent framework for the buyer agentTry Strands Agents
- Telegram Bot API: Owner's alert and command channelTry Telegram Bot API
- Amazon SES: Order, shipping and refund emailsTry Amazon SES
Get new workflows like this by email
A short selection of the most useful new workflows, including the ones that did not work. Free, and you can unsubscribe at any time.
Related workflows
Design a support email agent that sends only safe answers, drafts the rest, keeps a human copy of every email, and gets tested with hostile mail before it can send
A solo app founder built a support agent that answers known how-to questions and drafts everything else for him. The rules came first: a fixed escalation list checked outside the model, a copy of every email to him, and a hostile-email test that exposed a false pass.
Replace a support agent's list of 'never' rules with positive rules that name a data source and an exact fallback, then measure on 400 real messages
A solo operator found his support agent refusing simple return questions because of 23 prohibitions in its prompt. He rewrote them as nine rules, each with a data source and a fallback, and cut wrongful refusals from 14.2 to 1.2 percent on a test set.
Run a long-lived SaaS behind the scenes with cheap script checks first, agents second, and findings filed as tasks instead of alerts
The owner of a 16-year-old affiliate site builder describes how small agents now watch servers, triage support and work the bug list: scripts catch problems, agents investigate, findings go on a deduplicated task list, and risky actions are blocked in code.
Catch duplicate customer replies from a self-scheduled AI inbox agent with run counts, claim rows and a heartbeat
A solo operator let his agent write its own cron line for an AI email-reply job. It ran 6,048 times in three weeks and answered 12 emails six times each. He lists the fixes: claim a window first, a unique key, a lock, and alerts on missing runs.