Skip to content

The moment it happens

Text back missed callers and post a call-back note in Slack

If you miss a call, the caller gets a text right away and a call-back note appears in Slack.

Runs
The moment it happens
Apps
Slack, Twilio
AI
Not needed
Access
Twilio voice number config; chat:write

Send this to your assistant

Create a ClickRuntime automation: when a call to my Twilio number goes unanswered or busy, text the caller that we'll call back, post their number and the time to #calls, and keep a daily count.

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 small team sharing one phone line misses calls whenever everyone is busy. Callers rarely leave voicemail, and without a list nobody knows who to call back.

Texting the caller immediately keeps them from ringing a competitor, and a note in Slack means whoever is free can pick up the call-back, with a daily count showing how often it happens.

What you get out of it

  • Callers know you'll ring back

    An instant text keeps them from trying elsewhere.

  • A shared call-back list

    Slack shows who needs a call, so anyone free can take it.

  • See how many you miss

    A daily count shows when you need more cover.

  • No voicemail checking

    The number and time are posted for you.

How it works

What happens, step by step

  1. Twilio tells ClickRuntime when a call to your number ends.

  2. Only unanswered or busy calls go further.

  3. The caller gets a text saying you'll call back.

  4. A note with the number, time and today's missed-call count is posted to Slack.

Before it runs live

  • Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)
  • 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 post a call-back note in Slackjust nowSucceeded
Slack · #calls:telephone: Missed call from +447700900777 at 11:42. Please call back. (4 missed today)

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 Google Sheets
  • Combine it with other Slack 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_slack_twilio.pyexample
from twilio.rest import Client
from datetime import datetime
from clickruntime import on_event, credentials, http, notify, state

FROM = "+15005550006"

def sms(to, body):
    return Client(credentials.secret("TWILIO_ACCOUNT_SID"), credentials.secret("TWILIO_AUTH_TOKEN")).messages.create(to=to, from_=FROM, body=body)

@on_event
def handle(event):
    f = event.json or {}
    if f.get("CallStatus") not in ("no-answer", "busy"):
        return {"skipped": f.get("CallStatus")}
    caller = f.get("From", "unknown")
    try:
        sms(caller, "Sorry we missed your call. We'll ring you back shortly.")
    except Exception:
        pass
    state.increment_metric("missed_calls", ttl_days=30)
    today = sum(b["value"] for b in state.query_metric("missed_calls", bucket="day")[-1:])
    notify.slack(f":telephone: Missed call from {caller} at {datetime.now():%H:%M}. Please call back. ({today} missed today)", channel="#calls")
    return {"caller": caller}

FAQ

Common questions

Which calls are included?
Calls that go unanswered or get a busy signal.
Can someone mark a call-back as done?
Yes. React to the Slack message or reply in its thread so the team knows.
Where is the daily count shown?
In each Slack post, as the number of missed calls today.
What permissions does it need?
Twilio voice number config; chat:write. 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 post a call-back note in Slack” from your assistant

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