- Home
- Resources
- Integrations
- Google Docs
Google Docs n8n integrationAutomate Google Docs with n8n.
Need a workflow that writes a Google Doc on its own? The Google Docs n8n integration covers 3 operations on a single resource: create a document, read it, edit it. Nothing on the Google side starts the run, so a Schedule or Webhook node does, for ops and marketing teams done with copy-paste.
Verified Trustpilot reviews · AI, automation & growth agency
What does the Google Docs n8n integration do?
The Google Docs node lets a workflow create, read, and update documents without anyone opening the Google Docs editor. It ships with every n8n install under the name n8n-nodes-base.googleDocs and runs on a credential, the connection you save once in the n8n Credentials menu and reuse everywhere, here a Google OAuth2 or Service Account one.
One resource, Document, 3 operations: create a document from a title, get its content, update its text. No trigger comes with it, so nothing on the Google Docs side ever starts a workflow by itself.
A project closes, and the workflow does the writing: it pulls the epic summary out of Jira, has an AI agent draft the lessons-learned report, calls Create a document to open a new Google Doc, then Update a document to pour the text in. A message in Slack tells the team it is ready. Nobody pastes anything.
A support bot works the other way around. Get a document reads the shared FAQ doc on a schedule, the text becomes context for an AI agent, and the answer goes back out through Slack or WhatsApp. The doc stays the one file the team still edits by hand.
Third case, a knowledge base: a Drive trigger spots each new file, Get a document returns its text, the workflow chunks it and stores it for a chatbot to search later. The docs stay where the writers already work, and the bot answers from them.
Create, get, update, and that is the whole node. No formatting beyond what Actions allows, no images, no comments, no delete. That is where the HTTP Request node comes in: it calls the Google Docs API directly and reuses the same OAuth2 or Service Account credential, so the node changes and the connection does not.
No trigger, then: nothing in n8n watches a Google Doc for edits. The workflow has to start somewhere else, with a Schedule Trigger that checks back on a fixed interval, a Webhook (a URL n8n exposes for another service to call), or the trigger of an app already wired in, such as Google Sheets or Gmail.
If n8n is still new to you, the n8n training covers the basics before this node goes into a workflow that runs for real, and the n8n review says where the tool is strong.
How do you connect Google Docs to n8n?
- 01
Sign in with Google on n8n Cloud
On n8n Cloud, open the Google Docs credential and click Sign in with Google. Google Docs is one of the nodes covered by Managed OAuth2, so n8n runs the whole OAuth exchange in the browser and there is nothing to create in the Google Cloud Console. A self-hosted instance never shows that button, and the dropdown on the same screen switches the credential to Custom OAuth2, which the next two steps set up.
- 02
Create the Google Cloud OAuth client
In the Google Cloud Console, create a project, enable the Google Docs API, then fill the OAuth consent screen with an App name and a User support email. Add
n8n.cloudor your own domain under authorized domains, and create an OAuth client of type Web application: Google hands back the Client ID and Client Secret the n8n credential asks for. - 03
Paste the redirect URL and save
Copy the OAuth Redirect URL from the n8n credential screen and paste it into Authorized redirect URIs on the Google side. Running n8n on your own machine needs no public domain and no SSL certificate: Google accepts localhost, so the URL reads
http://localhost:5678/rest/oauth2-credential/callback. Save both sides, and the node lists the credential in its dropdown.
What can the Google Docs node do?
The Google Docs node exposes 3 operations across 1 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.
Operations index
Document
3 operationsCreate a document
document.createWhat you see in n8n
Notes & use cases
Creates an empty Google Doc in the Drive folder you point at, ready for the rest of the workflow to write into.
Key parameters
- Drive Name or ID: the Drive that holds the file, picked from the dropdown, or its ID passed with an expression, the
{{ $json.field }}syntax that reads a value off the incoming item. - Folder Name or ID: the destination folder. Same dropdown, and the same expression when every run files its doc somewhere else.
- Title: the only text this operation writes. The document comes out empty, so an Update a document call always follows.
Get a document
document.getWhat you see in n8n
Notes & use cases
Reads an existing Google Doc and returns its content as a single item, the unit n8n passes from one node to the next.
Key parameters
- Doc ID or URL: paste the whole browser URL and n8n takes the ID out of it, which helps when a colleague simply sends you the link.
- Simplify: leave it on while the text feeds an AI agent, a summary or a Slack message. Turn it off when the workflow needs Google's raw response instead.
Update a document
document.updateWhat you see in n8n
Notes & use cases
Applies a list of edits to a document that already exists, text inserts included, in the order the list puts them.
Key parameters
- Doc ID or URL: the document to edit. It has to exist already, so the value comes from the step that created it or from a URL you kept.
- Actions: one Add Action per edit. This is where the whole effect of the operation sits.
- Update Fields and Simplify: both optional. A plain text insert needs neither, and Simplify only trims the response sent back.
Need help automating Google Docs with n8n?
A person reads every message.
Google Docs and n8n: frequently asked questions
01Is the Google Docs n8n integration free?
02What credentials or rights does it need?
03What are the limits of the Google Docs node?
04Does the Google Docs node react in real time?
05n8n or Make for Google Docs?
Get our weekly integration tips.
No spam. Unsubscribe anytime.



