Google Docs
Google Docs is a word processor included as part of Google's free, web-based office suite.
Knowledge base source
Connectors
Choose the connector that matches your authentication method. The options below use the names shown in StackAI.
Google Docs
OAuth sign-in
Google Docs
Connect to Google Docs using OAuth2 authentication. Supports reading and writing Google Documents.
Set up in Google Docs
Sign in with your Google account when the Google window opens.
Set up in StackAI
Open Settings → Connections, add a connection, and select Google Docs.
Select Connect, sign in to the provider account, and review the requested access. Complete authorization to return to StackAI.
Save the connection and check its connection status. Select this saved connection when configuring an action or feature that uses it.
StackAI obtains the OAuth credentials during sign-in. You do not need to paste an access token or refresh token.
Provider documentation: Setup reference.
Verify the connection
Check that the connection is healthy. Then run a read operation against a resource the connected account can access. A successful connection check confirms authentication; it does not guarantee permission for every action.
If access is denied, check the credential or OAuth permissions, the selected account or environment, and access to the specific resource. Update expired credentials or reconnect after permissions change.
Use an action
Add the required Google Docs action to the workflow.
Select a connection when the action requests one.
Complete the required fields. Use the reference picker when a value comes from another workflow step.
Run the workflow and inspect the action’s output. Check the result before using it in a later step.
Actions
Create Google Doc
Create a new Google Doc with the specified content.
Inputs
File Name
string
Yes
Name of the Word document to create.
Content
string
Yes
Document body text in Markdown format.
Folder ID
select (string)
No
OPTIONAL: Choose the Google Drive folder where the file will be created. Leave blank to create it in My Drive. Options load from the selected connection.
Outputs
File ID
string
Unique identifier of the created Google Doc.
File URL
string
URL to open the document in Google Drive.
Important behavior
If an operation is denied, check the connection’s granted permissions and the account’s access in the provider. Reauthorize the connection when it needs additional permissions.
Actions that create, update, send, or delete data can change the connected service. Review their inputs before running them. A retry can repeat an operation; consider this when configuring retries for actions that change data.
The catalog lists the fields and capabilities available in the supplied provider definition. Availability can also depend on your deployment and organization’s Feature Access settings.
Last updated
Was this helpful?

