Googledocs

Learn how to use Googledocs with Composio

Overview

Enum

GOOGLEDOCS

Description

Connect to Google Docs to perform various document-related actions.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to https://www.googleapis.com/auth/documents,https://www.googleapis.com/auth/userinfo.email
token
stringRequired

Actions

Updates an existing google docs document with the provided edits.

Action Parameters

document_id
stringRequired
editDocs
arrayRequired

Action Response

document_id
string
data
object
successful
boolean
error

Finds or creates a specific document.

Action Parameters

id
stringRequired

Action Response

data
object
successful
boolean
error

Updates an existing google docs document created using markdown with the new markdown text.

Action Parameters

document_id
stringRequired
new_markdown_text
stringRequired

Action Response

document_id
string
data
object
successful
boolean
error

Creates a new google docs document with an optional title and text.

Action Parameters

title
stringRequired
text
stringRequired

Action Response

data
object
successful
boolean
error

Creates a new google docs document with an optional title and text.

Action Parameters

title
stringRequired
markdown_text
stringRequired

Action Response

data
object
successful
boolean
error