Skip to content

The moment it happens

File incoming bug reports as GitHub issues with a Telegram alert

Each bug report sent to your trigger link becomes a GitHub issue with a clear title, severity and labels, and Telegram alerts you.

Runs
The moment it happens
Apps
GitHub, Telegram
AI
Yes, uses the built-in AI allowance
Access
GitHub issues write; bot token

Send this to your assistant

Create a ClickRuntime automation: when a bug report arrives at the trigger link from our feedback form, have AI write a title, severity and labels, open an issue in acme/app, and alert me 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 small app studio collects bug reports through an in-app form. Reports arrive in a mailbox with vague subjects like 'it broke', and someone has to rewrite each one before it can go into GitHub.

Turning each report into a GitHub issue with a clear title, a severity and labels, and pinging the developer on Telegram, makes the path from report to fix short. Serious bugs are seen in minutes.

What you get out of it

  • Clear issues from vague reports

    AI writes a specific title and picks labels from the report text. Developers can read the backlog at a glance.

  • Severity up front

    Each issue carries a severity, and the Telegram alert shows it. Crashes get attention before cosmetic glitches.

  • Nothing waits in a mailbox

    Reports become issues straight away. No inbox to clear and no copying.

  • Original wording is kept

    The full report is in the issue body under the AI title. Nothing the user said is lost.

How it works

What happens, step by step

  1. When a bug report is submitted, your form sends it to your automation's trigger link.

  2. AI reads the report and writes a clear title, picks a severity and suggests labels.

  3. A GitHub issue is opened with that title and the full report.

  4. Your Telegram bot sends an alert with the severity and a link.

Before it runs live

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

What you get

RunsThe moment it happens
File incoming bug reports as GitHub issues with a Telegram alertjust nowSucceeded
Telegram · Bug bot🐞 [major] Photos fail to upload on Android 14 when on mobile data

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
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other GitHub and Telegram 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.
bug_reports_github_issue_telegram_alert.pyexample
from clickruntime import on_event, credentials, http, ai

def gh(method, path, **kw):
    resp = http.request(method, f"https://api.github.com{path}", headers={
        "Authorization": f"Bearer {credentials.connection('github', 'work')}", "Accept": "application/vnd.github+json"}, **kw)
    return resp.raise_for_status() or (resp.json() if resp.content else None)
CHAT_ID = "123456789"

def telegram(text):
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
              json={"chat_id": CHAT_ID, "text": text, "disable_web_page_preview": True}).raise_for_status()

REPO = "acme/app"
SCHEMA = {"type": "object", "properties": {"title": {"type": "string"}, "severity": {"type": "string", "enum": ["critical", "major", "minor"]},
          "labels": {"type": "array", "items": {"type": "string"}}}}

@on_event
def handle(event):
    report = event.json or {}
    text = f"{report.get('message', '')}\nDevice: {report.get('device', '')}\nVersion: {report.get('version', '')}"
    t = ai.generate(text[:4000], json_schema=SCHEMA, max_output_tokens=100,
                    system="Write a specific bug title, a severity, and up to 3 labels from: ui, crash, data, performance, billing.").json
    issue = gh("POST", f"/repos/{REPO}/issues", json={"title": t["title"], "labels": ["bug", f"severity: {t['severity']}"] + t["labels"],
               "body": f"Reported by {report.get('email', 'unknown')}\n\n{text}"})
    telegram(f"🐞 [{t['severity']}] {t['title']}\n{issue['html_url']}")
    return {"issue": issue["number"], "severity": t["severity"]}

FAQ

Common questions

What can send reports to it?
Any form or app that can send a web request with the report, such as an in-app feedback form or a form tool's webhook.
What severities does it use?
Critical, major and minor by default. You can rename them to match your labels.
Can it alert only for serious bugs?
Yes. Ask for alerts only for critical and major reports, and minor ones are filed quietly.
What permissions does it need?
GitHub issues write; bot token. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly 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 “File incoming bug reports as GitHub issues with a Telegram alert” from your assistant

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