Skip to content
CosmosDocs

Search the documentation

Type what you are looking for and pick a result.

Files and spreadsheets

Attach documents, images and spreadsheets to a message, and open the files the agents hand back.

Attach a file

Use the attach button under the box, or paste an image straight into it. A file travels with the message you send it in, and the agent reads it before answering.

KindFiles
ImagesPNG, JPG, GIF, WebP
DocumentsPDF, Word (.docx, .doc)
SpreadsheetsExcel (.xlsx, .xls), CSV
Text and dataTXT, Markdown, JSON, and other plain-text files
ArchivesZIP

The largest file you can attach depends on your plan.

Good uses:

  • A screenshot or a drawing of the screen you want.
  • The spreadsheet you use today, so the app keeps the same columns.
  • A document with your prices, your rules or your texts.
  • Your logo and photos, for the builder to put in the app.
Warning

Never put a password or a secret key in a message or a file. Keys go in the app's Keys tool. See keys.

Load your data into the app

To start an app with the information you already have, attach the file and ask:

This is my client list. Create the clients in the app from it.

The builder reads the file and loads its rows into the app's database.

Files the agents hand back

Agents can make files too: a spreadsheet with a report, a corrected version of the document you sent, a CSV to take elsewhere. A file an agent hands you appears in the conversation. Click it to open it in a panel beside the chat, and download it from there.

Spreadsheets

A spreadsheet opens as a grid, with its sheets and cells, so you can check it without leaving Cosmos.

When you ask for a change, the agent hands back a new version of the file. The panel shows what changed between versions, so you can see exactly which cells are different before you download it.

In this sheet, add a column with each row's total and a last row with the sum.

Chats

Not everything is an app. From New you can also just ask something, work on a document or a spreadsheet, or think through an idea. That conversation is a chat: it has no app, no database and no preview, and it is yours alone. If it turns into something to build, ask for the app and Cosmos creates it from what you already said.

Files inside your app

The files your app's own users upload, such as photos attached to an order, are a different thing: they are stored by the app. Ask the builder for it ("let customers attach a photo to their order"). How much your apps can store depends on your plan.