Skip to content

Daily

Get warned before shared links expire

Each morning you see which of your Dropbox share links run out within the week.

Runs
Daily
Apps
Dropbox
AI
Not needed
Access
sharing.read

Send this to your assistant

Create a ClickRuntime automation: every morning at 9am, check my Dropbox shared links and email me any that expire in the next 7 days, with the file name and expiry date.

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

Dropbox shared links are handy, and they are also easy to lose track of. A link sent to a client for a proposal, a design review or a contract draft might be set to expire in thirty days, and when it does, the client gets an error page just as they are ready to look. Or the link was supposed to expire and never did, leaving a document exposed to anyone who has the address long after the project ended.

Each day the automation lists your shared links, keeps those that have an expiry date approaching, and sends you a list showing the file name and the date. You can extend a link that still matters, or let it lapse knowingly, before anything breaks in front of a client.

Agencies, consultants, recruiters and anyone who shares files externally will find it helps.

What you get out of it

  • No broken links in front of clients

    Hearing about an expiring link a few days early lets you refresh it before the client clicks. A dead link on the day of a review makes a bad impression that is easy to prevent.

  • Deadlines for sensitive files are honored

    If you set an expiry date to limit how long a contract or a price list is available, the reminder confirms the date is near. You can then confirm the link is removed after it lapses.

  • Awareness of what is shared

    The list shows which links exist and when they end. Many people have shared dozens of files over the years and never reviewed them, and this brings the live ones back into view before they are forgotten again.

  • Proposals stay open while still being considered

    A proposal link that expires before the client decides is a lost chance to follow up. A reminder lets you extend the link and send a nudge in the same moment.

  • Calm instead of surprise

    Instead of discovering an expired link when a client complains, you handle it on your own schedule. Small things like this protect your reputation for being organized, which clients tend to remember longer than any single deliverable.

How it works

What happens, step by step

  1. Every day, ClickRuntime lists the shared links on your Dropbox account.

  2. It picks out the ones that expire soon.

  3. You get an email listing each one with its expiry date and the link, so you can renew it in time.

Before it runs live

  • Connect Dropbox

What you get

RunsDaily
Get warned before shared links expiretoday, 9:00Succeeded
Email · 2 Dropbox links expire this weekAcme-proposal-final.pdf expires 2026-10-22 https://www.dropbox.com/scl/fi/abc123/Acme-proposal-final.pdf

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 Dropbox 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.
shared_link_expiry_reminder.pyexample
from datetime import datetime, timedelta, timezone
from clickruntime import on_trigger, notify, http, credentials

@on_trigger
def run(event):
    auth = {"Authorization": "Bearer " + credentials.connection("dropbox", "main")}
    links, body = [], {}
    while True:
        page = http.post("https://api.dropboxapi.com/2/sharing/list_shared_links", headers=auth, json=body).json()
        links += page["links"]
        if not page.get("has_more"):
            break
        body = {"cursor": page["cursor"]}
    now = datetime.now(timezone.utc)
    soon = [l for l in links if l.get("expires") and now <= datetime.fromisoformat(l["expires"].replace("Z", "+00:00")) <= now + timedelta(days=7)]
    if soon:
        lines = [f"{l['name']} expires {l['expires'][:10]}\n{l['url']}" for l in sorted(soon, key=lambda l: l["expires"])]
        notify.email_me(f"{len(soon)} Dropbox links expire this week", "\n\n".join(lines))
    return {"expiring": len(soon)}

FAQ

Common questions

Can it tell me about links that never expire?
It looks at links that have an expiry date. If you also want to review links that never expire, ask for a separate listing, which is useful for finding old public links that no one needs anymore.
How far ahead does it warn me?
You choose the window, for example seven days before expiry. A longer window gives more time to act, while a shorter one produces fewer emails, so pick what matches how quickly you usually respond, and remember that a week is enough for most client links.
Does it extend the links automatically?
No. It only emails you the list. Extending a link is a decision about who should continue to have access, so it is left to you, and you can do it from the Dropbox sharing settings.
What permissions does it need?
sharing.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 (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 before shared links expire” from your assistant

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