Read Document
Reads the text content of a Google Docs document.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Document Id - The ID of the Google Docs document to read.
Output
- Text - The text content of the Google Docs document.
How It Works
The Read Document node integrates with Google Docs to extract the text content from a document. When executed, the node:
- Validates the provided input (Document Id)
- Connects to the specified Google Docs document
- Reads the entire text content of the document
- Returns the extracted text as output
Requirements
- A valid Google Docs document ID
- Valid Google Docs credentials
- Valid Google Docs permissions to access the document
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Document Id
- Google Docs service errors
- Insufficient permissions to access the document
Usage Notes
- The Document Id can be found in the URL of the Google Docs document
- The node extracts only the text content, not formatting or images
- The extracted text will be returned as a single string in the Text output
- This node is useful for processing the content of existing Google Docs documents
- Complex formatting, tables, and images will not be included in the extracted text
- The text extraction preserves the order of content as it appears in the document