Users send natural language product requests via Telegram and receive two AI-selected recommendations with images, prices, ratings.
Verified 2026-07-07
E-commerce Operator
What it does
This Telegram bot allows users to find AliExpress products using natural language commands. It validates user membership, optimizes search queries via OpenAI, scrapes product data using Decodo, and selects the best options based on ratings and price. Finally, it generates affiliate tracking links and sends formatted recommendations with images and prices directly in the chat.
How it works
When it runs
Triggered by an event · Manual · on user message
How hands-off
Assists you, you do the final step
Setup
Quick setup · under an hour
Works with
Telegram, OpenAI, Decodo, AliExpress Affiliate API
OpenAI : Search query optimization and product analysis
api
AliExpress Affiliate API : Generating affiliate tracking links
Watch out for
⚠ Decodo scraping can fail if AliExpress changes its DOM structure so add robust error handling and fallback selectors for common layout shifts.
⚠ OpenAI API costs can spiral with high traffic so implement input caching to avoid re-processing identical user queries within a short time window.
⚠ Affiliate link generation may return expired or invalid URLs if the product goes out of stock so verify link validity before sending them to users.
⚠ Telegram message length limits can truncate long product descriptions so ensure your formatting logic caps text content and uses collapsible details where possible.
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.