Skip to main content

Google Docs Tools

Automatic detection

You can simply mention @Hana and describe your request. If the intent is clear, she will automatically run this slash command for you.

Introduction

Context aware

📄 Adds all Google Docs content (text only) in chat history (all thread messages if chatting in threads or up to 20 minutes old messages according to plan) as context for QnA

With the /docs command, Hana will consider one or multiple Google Docs which are available in the chat history context. You only need to paste the link and Hana will automatically fetch the doc content on your behalf.

How to use

  1. Initiate the Command: In your Google Chat, type /docs followed by the context or query related to the Google Docs you want to access or analyze. This command allows Hana to access the content of Google Docs that you have permissions for, using your authentication.
  2. Specify Your Query: Clearly state what information or action you need concerning the Google Docs. You can ask Hana to summarize the document, find specific information, or compare contents between multiple documents.

Example:

summarizedocument
@Hana Summarize the key points from the project proposal document.
  1. Receive Results: Hana will process your request and provide you with the relevant information from the Google Docs, such as summaries, specific data points, or any other requested analysis.

Examples

Only Invocations

Examples below show only @Hana … invocations. Outputs are intentionally omitted.

summarize
  • In above scenario a google doc link was shared by Nav in the group.
  • And then further was asked by nav “ am I missing anything in the doc?” by using /docs command.
@Hana am I missing anything in this doc?
@Hana am I missing anything in this doc?

Document Format Compatibility

You may encounter functionality issues when using .docx format documents.

Solution

To ensure smooth operation:

  • Open the .docx file in Google Drive.
  • Select "Save as Google Docs" to convert it to Google Docs format.

We are actively addressing this compatibility issue. Until resolved, using Google Docs format will prevent disruptions.

Troubleshooting

  • Permission denied: Open the doc yourself to verify access; ensure the doc isn’t restricted to another account.
  • Revoked scopes: If you see an authorization prompt, re‑authorize Google permissions for Docs access.
  • .docx support: Convert to Google Docs format (see above) if parsing fails.

See also