Blocks

Google Docs

Read, write, and create documents

Integrate Google Docs functionality to manage documents. Read content from existing documents, write to documents, and create new documents using OAuth authentication. Supports text content manipulation for document creation and editing.

Back to Catalog
Toolsgoogle_docs

Block Preview

Google Docs

Google Docs

Read, write, and create documents

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Connect the required credentials or OAuth provider before running.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the google_docs block with monitoring enabled in production.

Inputs (UI)

Operation

dropdown

Layout: full

Options: Read Document, Write to Document, Create Document

Google Account

oauth-input

Placeholder: Select Google account

Layout: full

Provider: google-docs

Select Document

file-selector

Placeholder: Select a document

Layout: full

Provider: google-drive

Condition: operation = "read"

Select Document

file-selector

Placeholder: Select a document

Layout: full

Provider: google-drive

Condition: operation = "write"

Or Enter Document ID Manually

short-input

Placeholder: ID of the document (from URL)

Layout: full

Condition: operation = "read" AND documentId = ""

Or Enter Document ID Manually

short-input

Placeholder: ID of the document (from URL)

Layout: full

Condition: operation = "write" AND documentId = ""

Document Title

short-input

Placeholder: Enter title for the new document

Layout: full

Condition: operation = "create"

Parent Folder ID (Optional)

short-input

Placeholder: ID of the parent folder (leave empty for root folder)

Layout: full

Condition: operation = "create"

Content

long-input

Placeholder: Enter document content

Layout: full

Condition: operation = "write"

Content

long-input

Placeholder: Enter document content

Layout: full

Condition: operation = "create"

Inputs (API)

operation

string

Required

credential

string

Required

documentId

string

Optional

manualDocumentId

string

Optional

title

string

Optional

folderId

string

Optional

content

string

Optional

Outputs

Primary response type:

{
  "content": "string",
  "metadata": "json",
  "updatedContent": "boolean"
}

Tool Access

google_docs_readgoogle_docs_writegoogle_docs_create
Google Docs | NowFlow Blocks