Google Docs AI Employee

Leina connects to Google Docs to help you summarize documents, turn notes into drafts, and update text. Ask in your team chat. Leina does the work and brings back the result.

Connect Google Docs, choose what to share, and hand off your first task.

Leina + Google Docs Example Result

You

Create a Google Doc called “Northstar kickoff”. Use these notes: launch on November 5; Maya owns the checklist; Jordan confirms the delivery address by Friday. Organize them into decisions and next steps.

Leina

I created “Northstar kickoff” with the launch decision and two next steps.

Google Docs · Document created

Northstar kickoff

Decisions and follow-up work in a new document.

Decision
Launch on November 5.
Next steps
Maya: checklist. Jordan: confirm the delivery address by Friday.
Kickoff notes saved as a Google Doc.

What Is a Google Docs AI Agent?

A Google Docs AI agent turns supplied notes into a document and helps work with existing text. Ask it to summarize a chosen document, append an update, or replace repeated wording.

You specify the source and the destination. Leina uses the content available to your connection and returns the result for you to review.

Google Docs

Google Docs is a collaborative editor for writing and sharing documents.

  1. Share the kickoff notes

    Include the launch date, owners, and follow-up deadline.

  2. Organize your input

    Turn the supplied details into the requested structure.

  3. Create the kickoff document

    Save decisions and next steps in a new Google Doc.

  4. Read the new document

    Check the launch decision and assigned next steps.

What to Ask Leina to Do with Google Docs

Copy a prompt, add your details, and send it to Leina in your connected team chat.

Summarize document decisions

Find the Google Doc named [title]. Read text from all tabs, including tables, and summarize decisions and unresolved questions.

googledocs

Create a document from notes

Organize these notes [text] into decisions and next steps. Create a Google Doc titled [title] with that text.

googledocs

Add a Progress Note

Append these progress notes to Google Doc [document link]: [notes]. Keep the existing text.

googledocs

Update Repeated Wording

In Google Doc [document link], replace every exact occurrence of [old project name] with [new project name].

googledocs

Your next Google Docs task can start with a message.

Connect. Ask. Get the Result.

Tell Leina what you need in your team chat. Include the source, destination, and expected result.

  1. Connect Your Account

    Connect the tools involved and give Leina access to the content it needs.

  2. Try a Task

    Share the source material, say where the result belongs, and describe what you need.

  3. Check the Result

    Review the result and any changes in the connected app.

Put Leina to Work in Google Docs

Hand off these everyday tasks to your AI employee.

Copy Document

Copy an existing Google Docs document through Google Drive. If `title` is omitted, Google assigns the default copied-document title.

Create Document

Create a Google Docs document and optionally insert initial text at the beginning. Returns document metadata without the full body content.

Create Document2

Create a blank Google Docs document. This legacy compatibility action is the no-initial-text variant of `create_document`.

Create Footer

Create a footer in a Google Docs document, optionally targeting a specific section break location.

Create Footnote

Create a footnote in a Google Docs document at a specific location or at the end of a segment.

Create Header

Create a header in a Google Docs document and optionally insert initial text. You can also target a specific section break location.

Create Named Range

Create a named range over a specific span in a Google Docs document so it can be referenced later by name or ID.

Create Paragraph Bullets

Add bullets to paragraphs within a specified range in a Google Docs document.

Delete Content Range

Delete a content range from a Google Docs document. The trailing newline at the end of each segment cannot be removed.

Delete Footer

Delete a footer from a Google Docs document, including a section-specific footer when applicable.

Delete Header

Delete a header from a Google Docs document, including a section-specific header when applicable.

Delete Named Range

Delete a named range from a Google Docs document using a payload that identifies the range by ID or name.

Delete Paragraph Bullets

Remove bullets from paragraphs within a specified range in a Google Docs document.

Delete Table Column

Delete one or more table columns from a Google Docs document.

Delete Table Row

Delete a table row from a Google Docs document.

Export Document As Pdf

Export a Google Docs file as a PDF through Google Drive. Google Drive limits export content to roughly 10 MB.

Get Document By Id

Retrieve a Google Docs document by ID. Use `include_tabs_content` when you need tab content in the response.

Get Document Plaintext

Retrieve a Google Docs document and render it as best-effort plain text. This flattens paragraphs, lists, tables, and optional headers, footers, or footnotes.

Insert Inline Image

Insert an inline image from a URI at a specified location in a Google Docs document.

Insert Page Break

Insert a page break at a specified location in a Google Docs document.

Insert Table Action

Insert a table at a specific index or at the end of a segment in a Google Docs document.

Insert Table Column

Insert one or more table columns at a specified location in a Google Docs document.

Insert Text Action

Insert text at a specific index or append it to the end of a Google Docs document. When inserting by index, the position must be inside an existing paragraph.

List Spreadsheet Charts

List chart metadata from a Google Sheets spreadsheet so charts can be referenced or embedded elsewhere, including in Google Docs.

Replace All Text

Replace all matching text in a Google Docs document. Supports case-sensitive and regex-based matching.

Replace Image

Replace an existing image in a Google Docs document with a new image from a URI.

Search Documents

Search Google Docs files with filters such as query text, dates, starred state, trash state, or shared-drive visibility.

Unmerge Table Cells

Unmerge previously merged table cells in a Google Docs document.

Update Document Batch

Apply raw Docs `batchUpdate` requests to a Google Docs document. This is the lower-level compatibility action for direct request arrays.

Update Document Style

Update global document style settings such as page size, margins, or text direction in a Google Docs document.

Update Existing Document

Apply one or more programmatic edits to an existing Google Docs document through `batchUpdate`. Use this for structured insert, delete, or formatting changes.

Update Table Row Style

Update the style of a table row in a Google Docs document, such as row height or header formatting.

More Tools for Your AI Employee

Connect the Apps your work depends on, and give Leina the context to carry the task forward.

Keep the Conversation Moving. Let Leina Pick Up the Work.

Hand off a task while your team is discussing it. Leina uses your connected tools and brings the result back to the conversation.

See How Leina Works in Slack
LeinaExample Result

I created “Northstar kickoff” with the launch decision and two next steps.

Northstar kickoff

Google Docs + Leina: Your Questions, Answered

Does plain-text reading preserve layout?

It flattens document structure into text. Choose table and tab options when those contents matter to the summary.

Can I add notes to an existing document?

Yes. Provide the document ID and text and ask to append it at the end.

What does PDF export provide?

It returns base64 PDF content and file metadata. Google Drive limits exported content to roughly 10 MB.

Make Leina Your Google Docs AI Employee

Start with one task you already need to do. Tell Leina what a finished result should look like.

Connect Google Docs, choose what to share, and hand off your first task.