Skip to content
Webline Masters
Available for new projectsBook a call

Trendyol Affiliate Telegram Bot

A Telegram bot turns Trendyol product links into ready-to-publish offers, adds affiliate tracking to the buy button, and posts them to a designated channel.

Trendyol Affiliate Telegram Bot

What went into the work

01

Direct and shortened product link support

02

Automatic product data extraction

03

Consistent offer formatting with a text-only fallback

04

Configurable affiliate tracking and publishing permissions

The bottleneck

Affiliate teams needed a consistent way to prepare and publish Trendyol offers without re-entering product details and tracking links for every post.

The response

Authorized users send a product link in a private chat. The bot reads the product page and publishes a standardized offer with the name, image, current and previous prices, and rating where available. The tracked link appears only in the Buy product button.

How the solution works

  1. Authorize the publisher

    The owner can invite a publisher with a single-use activation link valid for 15 minutes.

  2. Send a product link

    In private chat, the bot accepts product URLs from trendyol.sa and trendyol.com, ty.gl links resolving to a product, and URLs without the HTTPS prefix.

  3. Read product data

    The bot reads the available product details and uses the Arabic product page when available.

  4. Add affiliate tracking

    Tracking settings generate the purchase link, updating product ID fields when a reference affiliate URL is used.

  5. Publish and confirm

    The bot publishes to the configured channel, falls back to text with the buy button if Telegram rejects the image, and confirms publication in private chat.

A view of the project

Trendyol Affiliate Telegram Bot project preview
Illustrative workflow, not a customer channel screenshot.

Technology & methods

  • Python
  • Telegram Bot API
  • HTTPS
  • JSON-LD
  • HTML Parsing
  • Long Polling
  • Linux

What was delivered

  • Preparing and publishing an offer now starts from a single product link.
  • The bot runs in the background on Linux independently of an SSH session.
  • Trendyol data retrieval, Telegram connectivity, and channel publishing permissions were checked.

Where could your business move faster?

Tell us about your current process or growth challenge. We'll map the practical next step together.

Request a similar bot