Developers and AI

Working with Sheets and Docs from an assistant

Practical prompts that work reliably, how cells and Markdown behave, what the assistant can't see, and how to fix common hiccups.

On this page

Tools on their own are dry. What makes the connection useful is describing a task in plain English and getting a real document or spreadsheet right in your workspace, where your team already works. Here are prompts that behave reliably, plus the few rules that explain any surprises.

Filling and reading a spreadsheet#

Cells use standard A1 notation (A1, B7, C3). Columns run A to Z, then AA, AB and so on, and rows start at 1. You can write text, numbers, or formulas starting with =, including absolute $ references just like in Excel.

Example prompts for Sheets
Make a Nemi Sheet called "Q3 shoot costs" with columns Date, Client,
Hours, Rate and Total, and put a total row at the bottom that sums the
Total column.

In the sheet "Q3 shoot costs", set the rate in every row to $B$1 so I can
change it in one place.

Read "Q3 shoot costs" and tell me which client accounts for the most hours.

When the assistant reads a sheet, it receives both the stored value (including any formula) and the calculated result. That way it can tell you both what a number is and how it was calculated.

Worth knowingWhy it matters
Only the first tab is reachableMulti-tab workbooks work fine in the editor, but the assistant only reads and writes the first tab. Use a separate sheet if another tab matters.
Values and formulas, not formattingYou handle bold text, colours and column widths in the app. The assistant only sets cell contents.
An empty string clears a cellThat's how you ask it to clear a cell without deleting the sheet.
The grid grows automaticallyWriting past the current edge expands the sheet instead of failing.
No partial range locksThe assistant reads the sheet and writes back the cells it changed. Editing the same cells at the exact same moment can cause surprises.

Nemi's formula engine covers the essentials rather than all of Excel: SUM, AVERAGE, MIN, MAX, COUNT, ROUND, IF, IFS, IFERROR, COUNTIF, SUMIF, TEXTJOIN, LEFT, MID, SUBSTITUTE, TEXT, TODAY, EOMONTH, VLOOKUP, XLOOKUP, INDEX and MATCH, among others. See the full list in Formulas. Unsupported functions show #NAME?.

Creating a document and adding to it#

Example prompts for Docs
Create a Nemi Doc called "Kickoff notes, Van Dijk" with a heading per
agenda item and a checklist under each one.

Append today's decisions to the end of "Kickoff notes, Van Dijk" as a
dated section, and leave the rest of the document alone.

Read "Client brief" and rewrite the second section to be half as long.

Documents travel as Markdown in both directions: headings, bold, italic, strikethrough, highlight, inline code, code blocks, links, images, quotes, lists, checklists, tables, dividers and hard line breaks. What comes back matches what the editor shows, so round trips don't strip your formatting.

  • Append is the safe choice. Asking to append only touches the end of the document. Asking for an edit makes a connected assistant rewrite and replace the whole body, so anything it misreads gets overwritten.
  • No partial edits over MCP. "Change one sentence" still reads, edits and replaces the whole document, which is why it helps to tell it to leave the rest alone. (Nemi AI, the built-in assistant, works differently on an open document: it swaps just the wording you name.)
  • The title follows the first heading. Until you rename a document manually in the app, its title tracks the first big heading in the body. If your prompt gives both a title and a different opening heading, the heading wins.
  • Undo is one click away. Every save goes into version history, so you can always restore an earlier version. See Version history.

Getting files in and out#

Text files are simple: ask for a CSV, JSON or Markdown file and the assistant writes it straight into a folder, up to 10 MB. Images, PDFs and other binary files work differently, since pasting raw bytes into chat is slow. For those, the assistant creates a one-time upload link and either uploads to it directly or hands it to you.

1

You ask to add a file

A photo, PDF, or export from another app.

2

The assistant gets an upload link

A one-time link for that folder, valid for one hour.

3

The file is uploaded

By the assistant if it has the file, or by you using the link.

4

The upload is confirmed

The file appears in your workspace with its real size verified from storage.

For files over 50 MB, upload through your browser or an upload link first, then ask the assistant to work with them.
MethodGood forLimit
Written from textNotes, CSV, JSON, code, Markdown10 MB
Pasted inlineIcons, screenshots, small PDFs1 MB
One-time upload linkPhotos, PDFs, audio, archives50 MB per file
Browser or upload linkAnything larger, including videoYour plan's file size limit, up to 200 GB

When something goes wrong#

  • It changed more of the document than you asked. That's the full-replace behaviour. Restore the earlier revision from version history, then ask again using "append" or naming the exact section.
  • It says it can't find the sheet. Sheets and Docs live per workspace. Ask it to list your workspaces first so it works in the right one.
  • A cell shows `#NAME?` or `#REF!`. The formula used an unsupported function or an invalid range. Ask for a simpler formula, or fix the cell directly in the editor.
  • It refuses to write. In a read-only workspace, the server blocks writes, not just the UI. See Members and roles.
  • Nothing works anymore. Make sure your account is active, then reconnect the connector so your assistant reloads the tool list. Still stuck? Email support@nemilab.com with the prompt you used and the reply you got.

Related

Still stuck? Email support@nemilab.com and tell us what you were trying to do.