Your Own Storage in Workflows
Our Commitment
MountDev Ops is built security first. Your business data belongs to you, and you can export all of it at any time. We never use analytics or tracking of any kind inside MountDev Ops.
The Storage Connection
A workflow can keep files in a bucket you own, such as backups, exports, and large files. Any storage service that speaks the S3 standard works: Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO, and others. An owner or admin adds it in Settings, then Connections, then Connected Services, then Connect a Service, then Your Own Storage.
- Address: your storage service's address, such as https://s3.us-west-2.amazonaws.com. It starts with https:// and has nothing after the name. A private address is refused.
- Region: where the bucket is, such as us-west-2. Some services use auto.
- Bucket: the bucket's name.
- Access key ID and Secret access key: the key you made for this bucket in your storage service. Give it only the rights it needs on this one bucket.
- Check Now writes a tiny test object, removes it, and says in plain words what happened: it works, the key was not accepted, the bucket was not found, the clock is off, or the address could not be reached. It leaves nothing behind.
The secret access key is sealed in your account and is never shown again, returned, or logged. The access key ID is not secret, so it is shown again to tell which key is saved. Requests are signed inside your own workspace and nothing about your storage or your files goes anywhere else. Your storage service bills you for what you store and move. What your workflows do in your bucket is also counted in your Usage: calls made, bytes put, and bytes removed (counts and sizes only, never a name or contents). Any price for it is set as your account's own data, never in the product.
If your storage only accepts calls from listed addresses, turn on Send From a Fixed Address on the connection (see Fixed Outbound Address). Check Now and every step that calls your storage then go out only through the fixed address, never directly. The links below are used by the other app, so they go from that app's address, not ours.
The Steps
In the workflow builder, each step picks your storage connection from a list labeled Storage. The delete step's fields are Object Name, Only Under (a folder, ending with a slash), and Only Older Than (days).
Each step names the storage connection, can be tried with Test Run (which sends nothing and deletes nothing), and counts as one step. Names are written like folders, such as backups/daily/site-1.zip, with no slash at the start.
- Put an Object (action
storage.put_object): writes text, up to 100,000 characters, under a name. It refuses to replace an object that is already there. A try repeated after a lost answer is the same call, so it never fails because of itself. For a large file, use an upload link instead. - Replace an Object (action
storage.replace_object): writes text over a name that is already there. Replacing counts as a deletion, so it waits for a person to confirm it every time, and it has no once-only approval. - Make a Short-Lived Upload Link (action
storage.upload_link): makes a link that lets another app send one file to one name in your bucket, for 1 minute to 24 hours (15 minutes if you do not say). The workflow never carries the file: the other app sends it straight to the bucket, so a file of any size works. The link is made in your workspace without calling your storage. Anyone who holds the link can write that one name until it ends, so pass it only to the app that needs it. Give the step Size (the file's exact bytes) and the link is signed with that length, so your storage refuses any other. Without a size it cannot limit the file's size. - Make a Short-Lived Download Link (action
storage.download_link): the same for reading one object, 1 minute to 24 hours. It checks the object is there first, and answers its size. - Start a Large Upload (action
storage.multipart_start): for a big file, up to 5 TB. It asks your storage to begin a multipart upload and makes one short-lived link for every part, each signed with that part's exact length. The part size starts at 16 MB and grows so the file fits in the most parts your plan allows (up to 1,000). The answer holdsupload_id,part_size, andparts(each with itsnumber,bytes, andurl). The other app sends each part to its link and keeps theETagheader each answer gives. The workflow never carries the file. - Finish a Large Upload (action
storage.multipart_finish): completes the upload with the list of{ number, etag }. It refuses a list with a missing or repeated part. - Cancel a Large Upload (action
storage.multipart_abort): ends an unfinished upload so your storage frees the parts. A repeat does nothing. - List Objects (action
storage.list_objects): the names, sizes, and times of objects under a folder, up to 1,000 at a time. Older than days keeps only objects older than that many days. When there are more, the answer says so and gives a continue from value to ask for the next part. - Delete an Object (action
storage.delete_object): removes one object. See the next section.
The run history keeps counts and sizes. The names and links go on to the steps after them, and the links are never written in the run history.
The Delete Rule
Delete an Object and Replace an Object always wait for a person to confirm them, however the workflow was written. A card is made for every run and the run waits.
There is one exception, for backups, and it is only for Delete an Object. A delete step that is limited to one folder (Only Under) and to objects older than a number of days (Only Older Than Days), both typed into the step itself, is approved once, when the workflow is turned on. The card you see when you turn it on names the bucket, the folder, and the days, for example: "Once it is on, this workflow will delete objects older than 30 days under backups/daily/ in the bucket acme-test-backups, every time it runs, without asking each time." After you say yes, that step runs without a card each time.
What keeps this safe:
- The limit is checked on every run, not only on the card. Before it deletes, the step reads the object's own last modified time from your storage. A name that is not under the folder, or an object that is not old enough, is refused and nothing is deleted. A name taken from an earlier step cannot get around it.
- The folder must end with a slash, so backups/ never matches backups-private/. The days are a whole number from 1 to 3,650.
- The limits must be typed into the step. If the folder or the days come from an earlier step, or only one of the two is given, the step keeps its card every time.
- Any change to a limited delete, or a new one, turns the workflow off, even when a person saved it, so turning it on asks again. Removing one needs no new yes.
- A person turns the workflow on (on the screen, a card named Turn On and Allow Deletes shows the bucket, the folder, and the days and asks first, or by saying yes to the request your AI assistant made, which names the same folder and days). A run of a workflow that is off still waits for a card, and a test run never deletes.
Storage Plans
A Storage Plan is a saved set of rules for a folder of your bucket. It is the one place to say how files are kept for each client. A plan has:
- Storage: which Your Own Storage connection it uses.
- Folder: where the files live, ending with a slash, such as backups/{client}/. {client} may appear once, after a fixed folder, and becomes the client's company number.
- Keep For: how many days files are kept, 1 to 3,650. Files older than this are deleted every day. Leave it empty to keep files forever and delete nothing.
- Largest File: the biggest file a link may be made for, up to 5 TB.
- Longest Link Life: the longest a link lives, 1 to 1,440 minutes (15 at first).
- Most Parts: the most parts a large upload may use, 1 to 1,000.
- Service: the product a client must have. A client with no active line for it gets no link.
A new plan starts Off, and a plan your AI assistant saves is always Off. Only an owner or admin turns one On. The Make an Upload Link, Make a Download Link, Start a Large Upload, Finish a Large Upload, and Cancel a Large Upload steps take two more inputs, Plan and Client (the client's company number). With them, the step uses the plan's storage, refuses any name outside that client's folder, refuses a client who has no active line for the plan's service, and cannot raise the plan's link life or largest file.
Retention Cleanup
Once a day, for each On plan with Keep For set, a cleanup pass deletes only the files under the plan's folder that are older than Keep For, by your storage's own last modified time. It also cancels any large upload under the folder that was started over 24 hours ago, so your storage frees the parts.
- One approval, with the facts. Turning a plan On shows the bucket, the folder, and the days, and says it will delete every day without asking each time. Changing the storage or the folder, or keeping files for fewer days, turns the plan Off again so you are asked again.
- The first pass only counts. Nothing is deleted until the second pass.
- A bulk guard. A pass that would delete more than 200 files, or more than half of what it found, deletes nothing and waits. Owners and admins are told on Needs You Today, and Approve This Pass covers that pass only. Decline closes it.
- Limits. A pass deletes at most 300 files at a time and looks at the first 10,000 files of the folder. A folder with more says so in the pass history.
- Logged. Every pass writes to the plan's history and the Activity Log: how many files were found, due, deleted, and kept, the bytes removed, and the time. Never a file name or contents. Bytes removed count in Usage.
- Stops safely. When your storage refuses, the clock is off, or the connection is gone, the pass stops, says why in plain words, and tells owners and admins.
- Preview Cleanup shows counts only (found, due, bytes, and the oldest age) and deletes nothing.
Your AI assistant can list and save plans (always Off), read a plan's pass history (counts only), and ask for a plan to be turned On, which waits for an owner or admin. It never gets a link or a key: links are made only by workflow steps.
How a Site Gets a Link
A workflow (started by an event, a schedule, or a button) makes a link for a client and plan, and a Call an install step sends the link to that site's own update route. The site never holds a storage key, and the link ends on its own. When the file is sent, a second run finishes the upload.
Keeping a Bucket Tidy Without a Plan
A workflow can still do it by hand:
- Start it on a schedule.
- List Objects under the folder with Older than days set.
- Repeat for each object in the list, and run Delete an Object with the same Only Under and Only Older Than Days.
- Mark a record, or tell people, when it is done.
Turn it on once and say yes to the card. A Storage Plan is simpler when many clients share the same rules.
When Something Fails
- A busy or unreachable storage (408, 429, 5xx, or no answer within 15 seconds) is tried again by the workflow's own backoff.
- A key that was not accepted, a bucket that was not found, a clock that is off, or a service that sent the request somewhere else fails the step with a plain sentence. No sentence ever holds the key.
- With the fixed address on and no fixed address set up for your region, the step fails and sends nothing any other way.
MountDev Storage
Instead of your own bucket, a Storage Plan can use MountDev Storage, the built-in storage. It needs no bucket and no key. Turn it on in Storage Plans with Add Storage. Links, large uploads, size caps, and Keep For work the same way. It is billed from usage: File Storage, Storage Writes, Storage Reads, and Downloads. See MountDev Storage for the details.
Where to Find It
Workflows, then Settings, then Storage Plans (owners and admins turn a plan On; anyone who manages workflows can see them). Or Workflows, then Workflows, then Add a Step. Choose the storage step. The connection is made first in Settings, then Connections. Owners, admins, and anyone whose role or permission group allows it see it.
Action IDs on this page, for developers and AI agents:
workflows.storage.plans.get
workflows.storage.plans.held
workflows.storage.plans.list
workflows.storage.plans.preview
workflows.storage.plans.remove
workflows.storage.plans.save
workflows.storage.plans.turn_on