Retrieve each new message from a Telegram chat, search for URLs from specific domains in the text, and if found, delete the message

Automatically clean up your Telegram chats by removing unwanted links.

  • Instantly when the trigger is activated
  • Instantly when receiving a message, image, video or file (telegrambot → webhook_txtimgdoc)
  • Get URLs from text (btztextparser → get_urls)
  • Delete a message (telegrambot → delete_message)

Ever found yourself constantly policing your Telegram channels for messages containing unwanted links—especially those from certain domains like Amazon? It’s tedious and time-consuming to monitor every single message and delete any that break your rules. If you miss just one, your group’s focus, professionalism, or even compliance could be compromised. Without automation, you’ll waste precious hours and risk losing trust or reputation if inappropriate links slip by.

This Botize formula steps in as your round-the-clock moderator, instantly scanning every new Telegram message for URLs from domains you specify—for example, all Amazon links. As soon as a flagged URL appears, the message is automatically erased, sparing you manual edits and giving you full control over your chat environment. The result: a distraction-free space where you no longer worry about spam or off-topic promotions, completely hands-free.

Ready to transform your Telegram group moderation? Just follow the Botize step-by-step guide or activate this formula instantly; you’ll even be able to tweak filters, target new domains, or adjust frequency to fit your needs. Take control and relax, knowing your chat stays clean without lifting a finger!

Start using this automation

It's ready to go. Choose how to set it up in your account.

Open it in the Botize editor

Load it into your account and customize it in the visual panel, with everything in view.

Open it in Claude or ChatGPT

Copy this and paste it into ChatGPT or Claude (with the free Botize connector): it'll load the automation, tailor it with you and save it to your account.

Not connected yet? Claude guide · ChatGPT guide


Effortless Spam-Free Chats 🌟

Imagine your Telegram chat as a peaceful neighborhood with zero spam chaos. This automation scans incoming messages for unwanted links (like pesky Amazon promos), and with a wave of our digital wand—gone!

Manual Botize
Scan and review messages 30 0 Minutes
Delete unwanted URLs 20 0 Minutes
Total 50 0 Minutes

Found us because messy chats were no longer tolerable? You're in the right place.


Running a Shopping Deals Channel

Maintain conversation quality without annoying Amazon affiliate links.

Stress-Free Chats

Automatically keeps your chat free from unwanted Amazon links.

Efficiency Boost

No need for manual cleanup or constant monitoring.

Peace of Mind

Enjoy conversations without interruptions.


Protecting a Study Group Chat

Focus on learning materials, not distracting promotional links.

🔍

⌾︎ if you're tired of sifting through spammy links.

⌾︎ if you run a public Telegram channel that needs moderation.

🤷‍♂️

✕ if you love manually managing every single message.

✕ if spam is your thing and you thrive on chaos.


✓ Specify more domains to watch out for.

✓ Choose between public and private channels.

✓ Set filters for specific types of messages containing links.




This automation allows for searching, monitoring, and detecting messages containing links with specific domains (in this example, links to Amazon)

Related automations

Other ready-to-use automations you may find useful.