Skip to content

On a schedule

Get a daily Gorgias ticket report

Each morning you see yesterday's new and closed tickets and how many are open now.

Runs
On a schedule
Apps
Gorgias
AI
Not needed
Access
read

Send this to your assistant

Create a ClickRuntime automation: every morning at 8am, email me how many Gorgias tickets were created and closed yesterday, and how many are open right now.

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 support lead at an online store has two ways to learn how yesterday went: open the Gorgias statistics page and click through filters, or wait for a customer complaint. Neither tells you quickly whether a flood of tickets arrived after a shipping delay, or whether the team closed fewer than it received and the backlog grew. By the time the weekly meeting happens, the backlog is already a problem.

Each morning, tickets are listed by their created and closed dates and counted, and an email summarizes how many tickets arrived, how many were closed and how many are open. It is the same short message every day, which makes changes easy to notice.

It suits support managers and store owners who handle tickets themselves and want a pulse on volume without logging in.

What you get out of it

  • Backlog growth noticed on day one

    If tickets in outpace tickets out, you see it the next morning. That gives time to add help or change priorities before customers wait for days. Extra hands can be arranged before customers notice the delay.

  • Spikes traced to their cause

    A jump in new tickets lines up with a carrier delay or a product launch. Having a daily number makes it easy to connect events to support load. That is much better than trying to remember which week it was.

  • Staffing decisions based on numbers

    When you ask for another agent or adjust shifts, you can point to a run of daily counts instead of a feeling that it has been busy. It makes a staffing request much easier to approve.

  • No dashboard login required

    The report arrives in your inbox, so owners and managers who rarely open Gorgias still stay informed. Store owners who rarely sign in to Gorgias still stay informed, and the lead does not need to prepare a separate update. The same figures reach everyone.

  • A steady baseline over time

    Weeks of the same report show what a normal day looks like for your store, which makes unusual days stand out when they happen. A few weeks of reports tell you what a quiet day and a busy day look like for your store.

How it works

What happens, step by step

  1. Every morning, ClickRuntime looks at your Gorgias tickets.

  2. It counts how many were created and closed yesterday and how many are open right now.

  3. You get one short email with the three numbers.

Before it runs live

  • Connect Gorgias

What you get

RunsOn a schedule
Get a daily Gorgias ticket reporttoday, 9:00Succeeded
Email · Gorgias 2026-10-18Created: 64 Closed: 71 Open now: 23

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
  • 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 Gorgias 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.
daily_ticket_report_gorgias.pyexample
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, http, notify

DOMAIN = "northwind"

@on_trigger
def run(event):
    auth = (credentials.secret("GORGIAS_EMAIL"), credentials.secret("GORGIAS_API_KEY"))
    yesterday = str(date.today() - timedelta(days=1))
    created = closed = open_now = 0
    url, params = f"https://{DOMAIN}.gorgias.com/api/tickets", {"limit": 100, "order_by": "updated_datetime:desc"}
    while url:
        page = http.get(url, auth=auth, params=params).json()
        for t in page["data"]:
            created += (t["created_datetime"] or "")[:10] == yesterday
            closed += (t.get("closed_datetime") or "")[:10] == yesterday
            open_now += t["status"] == "open"
        cursor = page["meta"].get("next_cursor")
        url = url if cursor and page["data"][-1]["updated_datetime"][:10] >= yesterday else None
        params = {**params, "cursor": cursor}
    notify.email_me(f"Gorgias {yesterday}", f"Created: {created}\nClosed: {closed}\nOpen now: {open_now}")
    return {"created": created, "closed": closed, "open": open_now}

FAQ

Common questions

What counts as a new ticket?
Any ticket created during the previous day is counted, including those from email, chat and social channels that Gorgias connects. Tickets created by merging or splitting are counted by their creation date. Merged tickets follow the same rule.
Can the report be broken down by channel or tag?
Yes, as a specific change. Counting by channel such as email versus chat, or by a tag like returns, is possible if you ask. The first version shows totals so it is simple to read.
Why might my open count differ from Gorgias?
The report reflects the moment it ran. Tickets opened, closed or snoozed afterwards will not appear until the next report, and the status definitions follow Gorgias, so a snoozed ticket may be counted differently from your view.
What permissions does it need?
read. 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 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 daily Gorgias ticket report” from your assistant

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