Skip to content

The moment it happens

Text back missed callers and tell me on Telegram

When you miss a call, the caller gets a text straight away and you get a Telegram message with their number.

Runs
The moment it happens
Apps
Telegram, Twilio
AI
Not needed
Access
Twilio voice+messaging; Telegram bot

Send this to your assistant

Create a ClickRuntime automation: when a call to my Twilio number goes unanswered, text the caller that I'll call back soon and send me their number on Telegram.

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

A plumber or salon owner misses calls all day because their hands are busy. Each missed call is often a new job, and a caller who hears nothing usually rings the next business on the list.

Now every missed call gets an instant text saying you'll ring back, and you get a Telegram message with the number so you can call back between jobs.

What you get out of it

  • Keep callers from moving on

    A text within seconds tells them they've been heard, which is often enough to stop them calling someone else.

  • Never lose a number

    Each missed call lands in Telegram with the number and time, ready to tap and call back.

  • Works while your hands are full

    Nothing to answer or type on the job; the reply goes out by itself.

  • Only missed calls trigger it

    Answered calls are left alone, so regular customers you spoke to don't get a stray text.

How it works

What happens, step by step

  1. A call to your Twilio number ends without being answered.

  2. ClickRuntime texts the caller from the same number saying you'll call them back.

  3. You get a Telegram message with the caller's number and the time.

  4. Each call is handled once, and answered calls are skipped.

Before it runs live

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

What you get

RunsThe moment it happens
Text back missed callers and tell me on Telegramjust nowSucceeded
Telegram · CallsMissed call from +1 555 0142 at 10:14. Text-back sent.

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 Twilio 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.
missed_call_text_back_with_telegram_notice.pyexample
from clickruntime import on_event, credentials, http, state

@on_event
def handle(event):
    call = event.json or {}
    if call.get("CallStatus") not in ("no-answer", "busy") or state.get(call.get("CallSid", "")):
        return {"skipped": True}
    sid = credentials.secret("TWILIO_ACCOUNT_SID")
    http.post(f"https://api.twilio.com/2010-04-01/Accounts/{sid}/Messages.json",
              auth=(sid, credentials.secret("TWILIO_AUTH_TOKEN")),
              data={"To": call["From"], "From": call["To"], "Body": "Sorry we missed your call! We'll ring you back shortly."})
    token = credentials.secret("TELEGRAM_BOT_TOKEN")
    http.post(f"https://api.telegram.org/bot{token}/sendMessage",
              json={"chat_id": "123456789", "text": f"Missed call from {call['From']}. Text-back sent."})
    state.set(call["CallSid"], True)
    return {"texted": True}

FAQ

Common questions

Which calls count as missed?
Calls that end as no answer or busy on your Twilio number. Calls you picked up are ignored.
Can the text include my booking link?
Yes. Put the link in the message wording, and callers can book a slot without waiting for you to ring back.
Will a caller get several texts if they ring repeatedly?
It can be set to text each number at most once a day, so someone who tries three times gets one message.
What permissions does it need?
Twilio voice+messaging; Telegram bot. 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 “Text back missed callers and tell me on Telegram” from your assistant

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