Skip to content

On a schedule

Get a weekly email summarising your Zendesk tickets

Every Monday you get an email with the main themes in last week's tickets, how customers felt and anything unusual.

Runs
On a schedule
Apps
Gmail, Zendesk
AI
Yes, uses the built-in AI allowance
Access
Zendesk read; gmail.send

Send this to your assistant

Create a ClickRuntime automation: every Monday at 8am, read last week's Zendesk tickets, summarise the main themes, overall sentiment and anything unusual with AI, and email it to me.

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

The founder of a small software company used to read every support ticket. Now there are too many, and they have lost touch with what customers struggle with. Zendesk's reports show counts, not what people are actually saying.

A short weekly email on the themes, mood and odd ones out keeps the people making product decisions close to customers, in about two minutes of reading.

What you get out of it

  • Stay close to customers

    Founders and product leads hear what customers are saying each week without reading hundreds of tickets.

  • Themes, not just counts

    The summary groups tickets by what they are about, which shows where the product or docs are letting people down.

  • Unusual issues stand out

    A single strange report that could be the start of a bigger problem is called out rather than lost in the volume.

  • Arrives in your inbox

    There is no dashboard to remember to open; the summary is there on Monday morning.

How it works

What happens, step by step

  1. Every Monday morning, ClickRuntime collects the tickets created in Zendesk over the past week.

  2. AI reads their subjects and opening messages and groups them into the main themes.

  3. It notes the overall mood and picks out anything unusual, with links to those tickets.

  4. The summary is emailed to you from your own Gmail address.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect Zendesk

What you get

RunsOn a schedule
Get a weekly email summarising your Zendesk ticketstoday, 9:00Succeeded
Email · Weekly support summarySupport this week: 186 tickets. Top themes: invoice PDFs (41), SSO setup (27), mobile sync delays (19). Unusual: #8810 Acme reports data from another account.

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

  • Run it at a different time, more or less often, or only on weekdays
  • 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 Gmail and Zendesk 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.
weekly_ai_summary_of_zendesk_tickets_by_email.pyexample
import base64
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from datetime import date, timedelta
from clickruntime import on_trigger, http, credentials, ai

ZD, AGENT = "https://yourcompany.zendesk.com/api/v2", "you@yourcompany.com"

def zd(method, path, **kw):
    r = http.request(method, ZD + path, auth=(f"{AGENT}/token", credentials.secret("ZENDESK_API_TOKEN")), **kw)
    return r.raise_for_status() or (r.json() if r.content else None)


def send_gmail(to, subject, text):
    raw = base64.urlsafe_b64encode(f"To: {to}\r\nSubject: {subject}\r\nContent-Type: text/plain; charset=utf-8\r\n\r\n{text}".encode()).decode()
    build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).users().messages().send(userId="me", body={"raw": raw}).execute()

@on_trigger
def run(event):
    since = (date.today() - timedelta(days=7)).isoformat()
    tickets = zd("GET", "/search.json", params={"query": f"type:ticket created>={since}"})["results"]
    if not tickets:
        return {"tickets": 0}
    lines = "\n".join(f"#{t['id']} {t['subject']}: {t['description'][:250]}" for t in tickets[:300])
    summary = ai.generate(lines, system="Summarise these support tickets for a founder: top themes with counts, overall sentiment, "
                          "and up to 3 unusual tickets by number. Plain text, under 250 words.", max_output_tokens=700).text
    send_gmail("you@yourcompany.com", f"Support this week: {len(tickets)} tickets", summary)
    return {"tickets": len(tickets)}

FAQ

Common questions

How many tickets can it summarise?
It reads the subject and first message of up to a few hundred tickets a week, which covers most small and mid-sized teams.
Can it go to the whole team?
Yes. Name the addresses in the prompt and the summary is sent to all of them from your Gmail.
Does it include ticket links?
It links the tickets it calls out, so you can open the unusual ones directly.
What permissions does it need?
Zendesk read; gmail.send. 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 each time it runs (on a schedule). Checks that find nothing to do and stop right away aren't counted.
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 “Get a weekly email summarising your Zendesk tickets” from your assistant

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