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.
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
Every morning, ClickRuntime looks at your Gorgias tickets.
It counts how many were created and closed yesterday and how many are open right now.
You get one short email with the three numbers.
Before it runs live
- Connect Gorgias
What you get
Build your own
Need it to work differently?
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
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?
Can the report be broken down by channel or tag?
Why might my open count differ from Gorgias?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Close Gorgias tickets the customer never answered
Tickets where you replied last and heard nothing for a week are closed overnight.
See how it worksGet alerted to refund and chargeback tickets
New tickets about refunds, chargebacks or broken items reach your team channel within minutes.
See how it worksKnow the moment your website goes down
Your team hears in Slack when the site stops responding or slows down, and again when it's back.
See how it worksKeep exploring
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.
