Skip to content

The moment it happens

Announce new products on X and Telegram

When you add a product to your store, it is announced on X and in your Telegram channel with its price and link.

Runs
The moment it happens
Apps
Telegram, X
AI
Not needed
Access
tweet.write; bot admin in channel

Send this to your assistant

Create a ClickRuntime automation: when my store sends a product created event, post the product name, price and link to X and to my Telegram channel. Don't announce the same product twice.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Small online shops get many of their sales from followers who want to hear about new arrivals first. Announcing each new product on X and in a Telegram channel takes a few minutes each time, and during a busy restock it is the first thing to be skipped.

Announcing products the moment they are created means followers always hear about them, and the shop owner can focus on stocking and shipping.

What you get out of it

  • Followers hear first

    New products are announced the minute they go live, which is when keen buyers are most likely to act.

  • Two channels, one step

    X and your Telegram channel get the same announcement at once, with no copying between apps.

  • Consistent announcements

    Each post has the name, price and link in the same format, so followers know what to expect.

  • No accidental repeats

    Products already announced are remembered, so an edited listing does not trigger a second post.

How it works

What happens, step by step

  1. Your store sends a notification to ClickRuntime when a new product is created.

  2. ClickRuntime checks it has not announced this product before.

  3. It writes a short announcement with the product name, price and link.

  4. The announcement is posted on X and in your Telegram channel.

Before it runs live

  • Connect Telegram
  • Connect X
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Announce new products on X and Telegramjust nowSucceeded
X · @northwindgoodsNew in: Linen Weekend Tote – £38 northwindgoods.example/products/linen-weekend-tote

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Telegram and X steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
new_products_or_orders_announced_on_x_and_telegram.pyexample
from clickruntime import on_event, credentials, http, state

CHANNEL = "@northwindgoods"

@on_event
def handle(event):
    p = event.json or {}
    key = f"product:{p.get('id')}"
    if not p.get("id") or state.get(key):
        return {"announced": False}
    text = f"New in: {p.get('name')} – {p.get('price')}\n{p.get('permalink')}"
    http.post("https://api.x.com/2/tweets", headers={"Authorization": "Bearer " + credentials.connection("x", "main")},
              json={"text": text[:280]}).raise_for_status()
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
              json={"chat_id": CHANNEL, "text": text}).raise_for_status()
    state.set(key, True)
    return {"announced": p["id"]}

FAQ

Common questions

Which stores does it work with?
Any store that can send a notification when a product is created, including WooCommerce and Shopify. You paste the trigger link into the store's webhook settings.
Can it include the product photo?
Yes. The Telegram message can include the photo, and on X it can be uploaded with the post.
Can it announce orders instead of products?
Yes. Some shops share milestones such as 'just shipped to Lisbon' from orders, without customer details. Ask your AI assistant to switch the event.
What permissions does it need?
tweet.write; bot admin in channel. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Announce new products on X and Telegram” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.