Skip to content

Daily

Get warned at 75% of your Cloudinary credits

You get one email when monthly credit use passes the percentage you chose.

Runs
Daily
Apps
Cloudinary
AI
Not needed
Access
API key + secret

Send this to your assistant

Create a ClickRuntime automation: check my Cloudinary usage every morning and email me once when credits used go past 75% of my plan this month.

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

Cloudinary bills in credits, and the standard warning at 90% often arrives too late to do anything useful. A marketing team runs a campaign with heavy video transformations, a developer ships an unoptimized gallery, and by the time the plan is nearly used up there are only a few days left in the billing month and no budget to cover them.

Each day, this reads your Cloudinary usage, works out the percentage of your credits consumed, and alerts you the first time it passes the level you choose, here 75%. It remembers which thresholds it has already reported in the current month, so you get one clear message per level rather than a daily reminder.

Teams with spiky media workloads, such as e-commerce stores around a sale, find an early warning most valuable, because it leaves room to optimize or upgrade calmly.

What you get out of it

  • Get a warning with time left to act

    At 75% there are still days or weeks of the month left. That is enough time to compress images, cache transformations or agree to a higher plan, without the pressure of a service limit.

  • Avoid surprise overage or throttled delivery

    Running out of credits can mean extra charges or blocked transformations on a live site. A custom threshold keeps those outcomes off the table by giving someone time to respond. Shipping an unoptimized gallery on the last day of the month is far more costly than finding it a week earlier and fixing it.

  • Match the alert to your own risk tolerance

    A 90% default may suit a stable site but not a launch week. Choosing the threshold yourself means the alert reflects how fast your usage can actually climb. A launch week or a sale can double usage in days, so a lower threshold gives you notice that a default level would miss.

  • Find the cause while it is recent

    If usage jumped in the last few days, the cause, such as a new page or an import, is easy to trace. An early alert shortens that investigation. Finding out about growth in the same week it started makes the cause, such as a new page or a bulk import, easy to trace.

  • Give finance a predictable number

    Budget owners can see in advance if the month will exceed plan. That avoids a conversation about an unplanned bill after the invoice has already arrived. Budget owners can see in advance that the month will run over, and plan for it, instead of reacting to a bill.

How it works

What happens, step by step

  1. Every day, ClickRuntime checks how many of your monthly Cloudinary credits you have used.

  2. If usage has passed 75%, you get an email with the percentage and the credits used out of your limit.

  3. You are warned only once per month, so the daily checks stay quiet after the first alert.

Before it runs live

  • Connect Cloudinary

What you get

RunsDaily
Get warned at 75% of your Cloudinary creditstoday, 9:00Succeeded
Email · Cloudinary creditsCloudinary credits at 78% 19.5 of 25 credits used this month.

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 Cloudinary 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.
custom_usage_credits_alert.pyexample
from datetime import date
from clickruntime import on_trigger, credentials, http, state, notify

CLOUD = "your-cloud-name"

@on_trigger
def run(event):
    usage = http.get(f"https://api.cloudinary.com/v1_1/{CLOUD}/usage",
                     auth=(credentials.secret("CLOUDINARY_API_KEY"), credentials.secret("CLOUDINARY_API_SECRET"))).json()
    pct = usage["credits"]["used_percent"]
    month = date.today().strftime("%Y-%m")
    if pct >= 75 and state.get("alerted_month") != month:
        notify.email_me(f"Cloudinary credits at {pct:.0f}%",
                        f"{usage['credits']['usage']:.1f} of {usage['credits']['limit']} credits used this month.")
        state.set("alerted_month", month)
    return {"used_percent": pct}

FAQ

Common questions

Does the alert repeat every day once I pass 75%?
No. It records that the 75% alert was sent for the current month and stays quiet until the next billing period, unless you ask for extra levels such as 90% and 100% to be reported as well.
Which usage does Cloudinary count toward credits?
Cloudinary credits combine storage, bandwidth and transformations according to your plan. The alert uses the usage figures Cloudinary reports and the percentage of your plan, so it follows whatever Cloudinary counts. Several levels can run side by side, for example 75% and 90%, each sent once per month, with the set shown to you first.
Can I add a second alert at 90%?
Yes. Several thresholds can run together, for example 75% and 90%, each sent once per month. Ask your AI assistant and go through the updated set of levels before approving. The monthly record resets with the billing period, so you hear about each level again the next time usage rises past it.
What permissions does it need?
API key + secret. 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 (daily). 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 warned at 75% of your Cloudinary credits” from your assistant

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