Skip to main content
Use Google Docs when you want a workflow step to create a document, copy an existing file, search documents, or insert text in a connected account.

Configuration

Before you configure this step, connect Google Docs in Integrations for your workspace using the OAuth flow. If no active connection is available, the step shows a warning with a link to Integrations instead of the account selector.

Arguments form

When you select an action, the Arguments section automatically renders a form driven by the action’s input schema. Each field includes:
  • A label and description from the action’s schema.
  • An Insert Variable button next to eligible fields that injects references like {{step_1.output.id}} at the cursor position.
  • Validation feedback inline if a required field is left empty.
Switch to the Raw JSON tab for power users or when you prefer to write the full arguments object by hand. Changes in either tab stay in sync.

Common actions

Destructive actions such as deleting content ranges, headers, or tables are not exposed in the workflow action picker.

Output

This step stores the Google Docs API response as the step output. The shape of the response depends on the action. Use the full output reference in later steps:
For example, after a Create Document step you might reference the returned document ID:
Use the variable picker after a test run to confirm the exact keys available in your workflow.

Example

  1. Open Integrations and connect Google Docs if you have not already done that.
  2. Add a Google Docs step to your workflow.
  3. Select a connected account in Authentication.
  4. Choose Create Document in Action.
  5. In the Arguments form, fill in the title and text. Use Insert Variable to reference an earlier step’s output for any field value.
  6. Click Run in the step header to test the action, then review the returned payload in Output.

Notes

  • This step depends on a connected Google Docs integration in your workspace.
  • The workflow action picker shows a curated subset of document actions. Agents with the Google Docs tool can access additional safe actions.
  • OAuth may show third-party authorization branding during the connect flow.
  • If a previous connection stops working, reconnect Google Docs in Integrations, then select the new account in Authentication.

Using Google Docs as an Agent Tool

You can also add Google Docs as a tool in the Agent Editor. Open the agent, click Add tool, and select Google Docs. In the tool settings panel, choose the connected account the agent should use. The agent will call Google Docs actions automatically during conversations when relevant. See also: Integrations, Creating and Editing, and Testing and Iteration