Overview
The google-drive node uploads and downloads files to Google Drive.
Perfect for cloud backup of sensor logs, sharing reports, and syncing data across devices.
15 GB
Free Storage
OAuth
Authentication
Sync
Automatic
Share
Links
Properties
| Property | Type | Default | Description |
|---|---|---|---|
| credentials | object | - | Google API credentials |
| operation | string | "upload" | upload, download, list, delete |
| folder | string | "EdgeFlow" | Target folder in Drive |
| filename | string | "msg.filename" | File name or path |
Example: Daily Sensor Log Backup
Upload daily sensor logs to Google Drive at midnight.
inject (0:00) → function → google-drive
// Function node: Prepare upload
var date = new Date().toISOString().split('T')[0];
msg.payload = flow.get('todaysLog') || "No data";
msg.filename = "sensor-log-" + date + ".csv";
msg.folder = "EdgeFlow/Logs/" + date.substring(0,7);
return msg;