Weekly
Back up your Postman collections every week
Each Sunday a JSON export of every collection in the workspace arrives in your inbox.
- Runs
- Weekly
- Apps
- Postman
- AI
- Not needed
- Access
- API key (read)
Send this to your assistant
Create a ClickRuntime automation: every Sunday at 10pm, export all collections in my Postman workspace as JSON and email them to me.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Postman collections hold months of a team's work: requests, tests, examples, pre-request scripts and documentation. Yet they live in one workspace, tied to one account. A deleted collection, a careless merge or a lost login can wipe them out, and the first sign is a developer asking where the payments collection went. Many teams only discover that no copy exists at the moment they need one.
Once a week, the collections in your workspace are listed and each one is fetched in full. The JSON for every collection is attached to an email addressed to you, so you hold a portable copy of your API work outside Postman. If something goes wrong, the file can be imported straight back into a workspace.
It suits developers and small teams who keep important API tests and documentation in Postman and want an inexpensive safety net.
What you get out of it
Recover quickly from accidental deletion
If a collection is removed or overwritten, you can import the latest backup. At worst you lose a week of edits, instead of the whole body of work that took months to build.
A copy that does not depend on your account
The JSON in your inbox exists outside Postman. If access to the workspace is lost because of a departed admin or a locked account, your requests and tests remain available to import elsewhere.
Versions you can compare over time
Weekly files show how a collection evolved. When a bad edit breaks a test suite, you can compare against an older copy and see exactly which request or script changed.
A snapshot for audits and handover
A dated backup shows the state of your API tests at a point in time. It also gives a new team a clean starting file when a project is handed over to another group.
No manual exporting to forget
Exporting each collection by hand is easy to postpone, and the week you skip it is the week something breaks. A weekly email makes the routine happen without anyone remembering.
How it works
What happens, step by step
Every Sunday, ClickRuntime lists all the collections in your Postman workspace.
It downloads each collection in full, with every request and folder.
Each collection arrives in your inbox as its own email containing the complete export, which you can import back into Postman if needed.
Before it runs live
- Connect Postman
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 Postman steps into one automation
Under the hood
The code that runs this automation
import json
from clickruntime import on_trigger, credentials, http, notify
API = "https://api.getpostman.com"
WORKSPACE_ID = "1f0df51a-8658-4ee8-a2a1-d2567dfa09a9"
@on_trigger
def run(event):
headers = {"X-Api-Key": credentials.secret("POSTMAN_API_KEY")}
collections = http.get(f"{API}/collections", params={"workspace": WORKSPACE_ID},
headers=headers).json()["collections"]
sent = 0
for c in collections:
full = http.get(f"{API}/collections/{c['uid']}", headers=headers).json()["collection"]
body = json.dumps(full, indent=1)
if len(body) > 95_000:
body = body[:95_000] + "\n... truncated, collection is larger than one email"
notify.email_me(f"Postman backup: {c['name']}", body)
sent += 1
if sent == 10: # email limit per run
break
return {"collections": len(collections), "emailed": sent}FAQ
Common questions
Does the backup include environments and secrets?
How do I restore a collection from the email?
Can it cover more than one workspace?
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
Get a morning report on your Postman monitors
Every day you get one email listing each monitor, whether its last run passed, and how fast it responded.
See how it worksSee which collections changed this week
On Monday you get a list of the collections in your workspace that were edited during the past seven days.
See how it worksGet warned before you hit Postman's usage limits
You get an email the first time any of your account's usage limits passes the threshold you chose.
See how it worksKeep exploring
Set up “Back up your Postman collections every week” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.