Skip to content
Google Docs

How to use Google Docs

Content & filesCost: 1 credit per runTop 100 · #12Full guide

What it is for

Google Docs in flooows lets you create documents, fill templates with data from other steps, read content and append text. It is ideal for generating contracts, quotes or reports from forms, your CRM or AI output.

The New Document trigger uses polling: flooows checks the selected folder every few minutes and starts the flow when a new document appears.

Set up the connection

Authentication type: OAuth 2.0 (sign in with your account) · Custom credentials

  1. 1Add a Google Docs step and click "Connect".
  2. 2With OAuth, sign in to your Google account and allow access to Docs and Drive.
  3. 3To use a service account instead, go to IAM & Admin > Service Accounts in Google Cloud console, create or pick an account and generate a new JSON key under Keys.
  4. 4Paste the full file content into Service Account JSON Key and share your documents with the service account email, or use domain-wide delegation and fill in User Email.
  5. 5Save the connection with a clear name.
Connection fieldTypeRequired
Service Account JSON KeyLong textYes
User EmailTextNo

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Document: set Document Title and Document Content, which you can build from data mapped from earlier steps.
  • Edit Template File: choose the template Document, set the Placeholder Format (for example {{variable}}) and fill Variables with values; Image Replacements swaps images.
  • Read Document returns the text so you can pass it to an AI agent or another tool.
  • Find Document searches by Document Name and, with Create If Not Found, creates it when missing.
  • Append Text adds content to the end of an existing document, handy for logs or minutes.

Tips

  • •Copy the template first if you need to keep the original untouched.
  • •Use the Document picker instead of pasting URLs to avoid wrong IDs.
  • •When sending content to AI, flooows can anonymize confidential data first.

Triggers (1)

Events that can start a flow. Expand each one to see its fields.

New DocumentPeriodic check1 fields
FieldTypeRequired
FolderList (from your account)No

Actions (6)

Operations available as flow steps. Expand each one to see its fields.

Create Document2 fields
FieldTypeRequired
Document TitleTextYes
Document ContentLong textYes
Edit Template File4 fields
FieldTypeRequired
DocumentList (from your account)Yes
Placeholder FormatFixed listYes
VariablesKey / value pairsYes
Image ReplacementsList of valuesNo
Read Document1 fields
FieldTypeRequired
DocumentList (from your account)Yes
Find Document4 fields
FieldTypeRequired
Document NameTextYes
FolderList (from your account)No
Create If Not FoundYes / NoNo
New Document PropertiesDynamic fieldsNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo
Append Text2 fields
FieldTypeRequired
DocumentList (from your account)Yes
TextLong textYes

Common errors

403 or file not found with a service account

Share the document or folder with the service account email.

Template placeholders are not replaced

Make sure Placeholder Format exactly matches the format used in the document.

Expired or revoked token

Reconnect your Google account.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps