googleDriveNode
Jump to:
About
The Google Drive node in Lamatic is designed to automate the process of fetching and synchronizing files from Google Drive. It supports a variety of file types, including Google Docs, Slides, Word Documents, PDFs, and text files. By configuring batch triggers, the node can regularly collect files from specified Google Drive folders and prepare them for vectorization and indexing in support of RAG (Retrieval-Augmented Generation) flows. It allows users to set synchronization modes and schedules to optimize efficiency.
What can I build?
- Automate the regular fetching and synchronization of files from specified Google Drive folders.
- Support the vectorization and indexing of documents to provide context for RAG flows.
- Support various file types, including Google Docs, Google Slides, Word Docs, PDFs, and text.
Available Functionality
Batch Trigger
✅ Fetch supported files from a Google Drive on a scheduled interval. This is the first step in flows that vectorize and store contextual data in a vector database to support subsequent RAG requests.
Event Trigger
❌ When a supported file is created / updated / deleted
❌ When a folder is created / updated / deleted
Actions
❌ Create / update / delete a supported file
Supported file types include Google Docs, Google Slides, Word Docs, PDFs and text files.
Install Steps
Create a Flow in Lamatic
To set up a flow in Lamatic with a webhook trigger, follow these steps to obtain the necessary webhook configurations.
Implementation Options:
- Create a Custom Flow
- Follow our comprehensive webhook integration guide.
- Learn how to configure webhooks as trigger events.
- Set up custom actions based on incoming webhook data.
- Use a Pre-built Template
- Start with our ready-to-use webhook template.
- Quickly implement common webhook scenarios.
- Customize the template to suit your specific needs.
Important Note:
Always test the webhook endpoint before deploying it in a production environment. For detailed instructions, refer to our documentation or explore our template library.
Github Action
- Setup GitHub Secrets: Store sensitive data such as
WEBHOOK_URL
andWEBHOOK_KEY
in your repository secrets. - Create a github action: Add the following YAML to a GitHub Actions workflow file, such as
.github/workflows/lamatic-index-flow.yml