n8n community node for Google Document AI
npm install n8n-nodes-google-document-aiThis is an n8n community node. It lets you use Google Document AI in your n8n workflows.
Google Document AI is a cloud-based document processing service that uses machine learning to automatically extract text, tables, and other data from documents.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history
Follow the installation guide in the n8n community nodes documentation.
- Extract text from documents
- Extract tables from documents
- Extract entities from documents
To use this node, you need to authenticate with Google Cloud. You will need:
1. A Google Cloud Project with Document AI enabled
2. A Service Account with appropriate permissions
3. A JSON key file for the Service Account
Important Security Note: Keep your service account JSON key secure and never share it publicly. In n8n, the key is stored encrypted in the credentials. When adding the credentials to n8n, you'll need to paste the entire contents of the JSON key file.
This node is compatible with n8n version 0.150.0 and above. It has been tested with the latest version of n8n.
This node allows you to process documents using Google Document AI. You can provide the document content as a binary file or a base64-encoded string. The node will return the extracted text, tables, and entities.
To develop this node, you can use the following commands:
``bash`
npm install
npm link
npm run dev
In a separate terminal, run the following command to start the n8n server:
Locate the n8n directory and run the following
( Note: to locate the .n8n directory - when starting the server n8n start look for the message: "User settings loaded from: ..." )
command:
`bash``
cd .n8nensure the custom folder is in the .n8n directory with npm initialised
mkdir custom
cd custom
npm init
npm link @n8n-nodes-google-document-ai
npm start
* n8n community nodes documentation
* Google Document AI documentation