Google Docs is a free, web-based word processing software offered by Google. It allows users to create, edit, and collaborate on documents online in real-time.
๐Ÿ”— Connect and Use Google docs
1. ๐Ÿ”‘ Connect your Google docs acco
2. โœ… Select an action
3. ๐Ÿš€ Go live with the agent
What do you want to do?

API actions for Google docs for AI assitants/agents

Language
JS
PYTHON

Create New Document

Creates a new Google Docs document with optional title and content.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_NEW_DOC])

Insert Text

Inserts text at a specified location in an existing Google Docs document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.INSERT_TEXT])

Delete Text

Deletes specified text or range from an existing Google Docs document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DELETE_TEXT])

Format Text

Applies formatting (bold, italic, underline, etc.) to selected text in a document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.FORMAT_TEXT])

Add Comment

Adds a comment to a specific part of the document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.ADD_COMMENT])

Resolve Comment

Marks a comment as resolved in the document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.RESOLVE_COMMENT])

Share Document

Shares the document with specified users or groups, setting appropriate permissions.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SHARE_DOCUMENT])

Create Copy

Creates a copy of an existing Google Docs document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_COPY])

Export Document

Exports the document to a specified format (PDF, DOCX, etc.).
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.EXPORT_DOCUMENT])

Insert Image

Inserts an image into the document at a specified location.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.INSERT_IMAGE])

Create Table

Creates a table in the document with specified dimensions.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.CREATE_TABLE])

Add Header

Adds a header to the document with specified content.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.ADD_HEADER])

Insert Page Break

Inserts a page break at the specified location in the document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.INSERT_PAGE_BREAK])

Apply Template

Applies a pre-defined template to the document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.APPLY_TEMPLATE])

Document Created

Triggered when a new Google Docs document is created.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DOCUMENT_CREATED])

Document Edited

Triggered when changes are made to a Google Docs document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DOCUMENT_EDITED])

Comment Added

Triggered when a new comment is added to the document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.COMMENT_ADDED])

Comment Resolved

Triggered when a comment in the document is marked as resolved.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.COMMENT_RESOLVED])

Document Shared

Triggered when the document is shared with new users or groups.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DOCUMENT_SHARED])

Collaborator Joined

Triggered when a new collaborator joins the document editing session.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.COLLABORATOR_JOINED])

Document Title Changed

Triggered when the title of the document is changed.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.TITLE_CHANGED])

Document Exported

Triggered when the document is exported to another format.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DOCUMENT_EXPORTED])

Suggestion Added

Triggered when a new suggestion is added to the document.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SUGGESTION_ADDED])

Suggestion Accepted

Triggered when a suggestion in the document is accepted.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SUGGESTION_ACCEPTED])

Suggestion Rejected

Triggered when a suggestion in the document is rejected.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.SUGGESTION_REJECTED])

Document Moved

Triggered when the document is moved to a different folder.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DOCUMENT_MOVED])

Document Renamed

Triggered when the document is renamed.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DOCUMENT_RENAMED])

Version Created

Triggered when a new version of the document is created.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.VERSION_CREATED])

Document Printed

Triggered when the document is printed or sent to a printer.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.DOCUMENT_PRINTED])

Frequently asked questions

What is Composio.dev?

Composio.dev is a platform for building AI applications, designed to make the process of developing AI solutions super easy and fun! It provides a comprehensive set of tools and libraries that simplify the process of developing AI solutions, allowing you to focus on the creative aspects of your project without getting bogged down by the technical details.

How does Composio.dev support Google docs?

Composio.dev seamlessly integrates with Google docs, allowing you to leverage its capabilities within the Composio.dev platform. You can utilize Google docs to call functions across various platforms, including Google, GitHub, and others, making it a breeze to incorporate different services into your AI applications. Additionally, it supports user authentication via OAuth2 and can work in conjunction with other popular frameworks like LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with Google docs?

With Google docs, you have access to a wide range of state-of-the-art language models, including GPT-4o (OpenAI), GPT-3.5 (OpenAI), GPT-4 (OpenAI), Claude (Anthropic), PaLM (Google), LLaMA and LLaMA 2 (Meta), Gemini, and many others. This flexibility allows you to choose the model that best suits your specific use case, whether you're building a chatbot, a content creation tool, or any other AI-powered application. You can experiment with different models and find the one that delivers the best performance for your project.

How can I integrate Google docs into my project?

Composio.dev provides a seamless integration for Google docs, making it super easy to incorporate this powerful framework into your projects. You can leverage the Composio.dev API to call functions from Google docs, allowing you to tap into its capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with your preferred programming language and integrate Google docs into your projects seamlessly.

What is the pricing for Google docs?

Google docs is completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes it accessible for developers and organizations of all sizes to explore and experiment with this powerful tool without any upfront costs. Whether you're a student working on a personal project or a startup building the next big thing, you can get started with Google docs without worrying about breaking the bank.

What kind of authentication is supported for Google docs?

Google docs supports OAuth2 authentication, ensuring secure and authorized access to its functionalities. You can leverage the Composio.dev API to handle authentication and call functions from Google docs seamlessly. The SDK is available in Python, JavaScript, and TypeScript for your convenience, making it easy to integrate authentication into your projects and keep your users' data safe and secure.

Can I add Google docs to my project?

Absolutely! You can easily incorporate Google docs into your project by utilizing the Composio.dev API. This API allows you to call functions from Google docs, enabling you to leverage its capabilities within your application. The SDK is available in Python, JavaScript, and TypeScript to facilitate integration, so you can work with the language you're most comfortable with and add Google docs to your project with ease.

What is the accuracy of Google docs?

Google docs is designed to provide highly accurate and reliable results, ensuring that your AI applications perform at their best. The integration with Composio.dev ensures precise function calls, enabling you to build robust and powerful AI applications with confidence. Google docs's comprehensive framework and the ability to leverage state-of-the-art models ensure reliable and accurate outcomes for your AI development needs, whether you're working on a chatbot, a content creation tool, or any other AI-powered project.

What are some common use cases for Google docs?

Google docs can be used for a wide range of AI applications, making it a versatile tool for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. It's particularly useful for building chatbots, virtual assistants, content creation tools, and other AI-powered applications that can help you automate tasks, engage with users, and create compelling content. Whether you're working on a personal project or building a product for your startup, Google docs can help you bring your ideas to life.

How does Google docs handle data privacy and security?

Data privacy and security are crucial considerations when working with AI systems, and Google docs takes these issues seriously. It follows industry best practices and adheres to strict data protection regulations, ensuring that your data is kept safe and secure. Google docs provides robust security measures, such as encryption and access controls, to ensure the confidentiality and integrity of your data. You can rest assured that your sensitive information is protected when using Google docs for your AI development needs.
+ Integrate seamlessly with your agentic frameworks
Composio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and Sizes
Building for AI across continents๐Ÿงช