Skip to main content
Sometimes a customer needs to give you a file: photos of a home they want you to list, a CV with a job application, a receipt for a claim. Your website can take these from customers who are signed in, keep them safely, and show the pictures you choose.
Customer uploads are in beta. If something doesn’t work as you expect, tell us at support@superintern.ai.

What customers can send

  • Pictures (JPG, PNG, WebP, and photos straight from an iPhone) and PDFs.
  • Up to 10 MB each.
  • Only customers signed in to your website, with customer accounts. A visitor who isn’t signed in can’t upload anything here. To get photos from anyone along with a message, such as a repair request, ask for photos on your contact form instead: they arrive with the message, and nobody needs to sign in.
  • A daily limit for each customer, which you choose when you set it up (20 a day unless you ask for another number). A file that is refused doesn’t count towards it, but a customer who has 10 files refused in a day, or has 10 files still on their way at once, is asked to try again later.

How to get it

Ask for what you want, in your own words, and SuperIntern’s builder (or Claude, connected to your website) adds it:
“Let signed-in customers add photos of the home they want us to list.” “Let applicants attach their CV as a PDF to the job form.”
It uses your website’s own backend, which SuperIntern adds with it. Before it goes online, you approve it like everything else your website’s code can reach. The request reads, for example:
Customers who sign in can add pictures (listing-photos), up to 10 MB each, 20 a day. You approve each picture before it shows on your website.
Asking for more later (a bigger size, more a day, PDFs as well as pictures, or showing files that were private) asks you again.

Who sees a file

You choose, for each kind of file, whether it is private or can show on your website: A private file is never given a lasting address: each time the customer opens it on your website, they get a link that works for 10 minutes, so a link that is copied or forwarded soon stops working.

Approving pictures

Open your website, then the Data tab, then Uploads. Every file your customers have added is there, with who sent it, when, its size and its status.
  • Waiting for your approval shows the pictures that are not on your website yet. Choose Show on your website to put one up, or Keep off your website to leave it hidden. Nothing shows until you choose.
  • Take off your website removes a picture you approved earlier. Only you and the customer who sent it can then see it.
  • Delete removes a file for good, from your website too. It can’t be undone.
  • Not used yet means your website hasn’t used the file yet (the customer may have left before finishing, for example). If it still hasn’t within a day, it is deleted by itself.

Keeping files safe

  • Every file is checked before it is kept. A picture is saved again as a fresh copy with nothing in it but the picture: no location, no camera details, nothing hidden. A PDF is checked for viruses. A file that fails is refused, and the customer is asked to try a different one.
  • Your website has 1 GB for its customers’ files. If you need more, contact support@superintern.ai.
  • A file kept with a record in your CRM, such as a CV attached to a job application, moves into that record, and you find it there from then on. A picture that was showing on your website stops showing when it moves.
  • When you delete a customer for good from People, the files they sent are deleted too. A customer in the trash keeps theirs until then.
  • When you remove a website, its customers’ files are deleted once it can no longer be brought back.

For Claude Code and developers

Add uploads only when the owner asks for them. They are a beta. If they are ever switched off, a version whose superintern.backend.json lists uploads is refused when it is approved or published (uploads_unavailable): tell the owner they are not available right now, and take them out again. Follow the site kit’s guide, section 5, “Files customers upload”. On a site with no backend yet, npx site-kit backend:add --uploads writes a working example; a site that already has a backend takes the guide’s routes into its own src/server/app.ts and its table into src/db/schema.ts, never the template over its files.
  1. Declare each kind in superintern.backend.json, which the owner approves:
  2. Put <UploadField client:load> on the page, inside <SignedIn>. It checks the file’s type and size, asks your start route for a ticket, sends the file and tells your done route.
  3. In a route, call uploads(request).start(kind, { size, type }) for the ticket. The browser sends the file straight to SuperIntern, which checks it. The file never passes through your code: never send one through a route’s body.
  4. In another route, check with get(id) that the upload is this customer’s (mine) and of that kind, store its id in the website’s database, then call keep(id), removing the row again if keep fails. Store only the id, never the file. An upload not kept within 24 hours is deleted.
  5. Show a file with link(id), asked for each time the page is drawn: a private file’s link lasts 10 minutes, so never store it. An approved public picture’s link lasts.
  6. To keep a file with a CRM record (a CV with a job application, photos with a repair request), give it to the CRM in another route: door.create(table, { cv: [{ upload: id }] }), or updateOwn. The table must be in the manifest’s crm with create (or update_own), and the owner must let website customers fill in that files column (on the CRM’s MCP server, customers_fill_in). The upload must already be kept, be this customer’s, and be of a kind whose types the column takes (a pictures-only column takes only a pictures-only kind); at most 5 files a change. keep and create are each the request’s one change, so they happen in two requests: the upload field’s done route keeps it, the form’s submit route files it. Once filed, the file belongs to the CRM record and is no longer an upload (get returns null), so drop its id from the website’s database.
  • get(id) answers only the customer who sent the file, or anyone once the owner has approved it: for someone else’s file it returns null until then, so never read null as deleted and remove a row of your own because of it.
  • Each change (start, keep, remove, or a CRM create or updateOwn) needs the signed-in customer’s own request: one change per request, so never two in one route.
  • Refusals come with a code: upload_limit (429) for the customer’s day, too many refused files today, too many on their way at once, or too many on the website this hour; uploads_full (507) when the website’s 1 GB is used; upload_not_approved (403) for a kind the owner hasn’t approved on the published version. Decide by the code, never the message.
  • Uploads work on the published website only; npm run dev answers 503.
  • The sites command has no uploads command: the owner approves, hides and deletes files on the website’s Data tab. sites db rows <table> shows the ids your website keeps.