Files & Documents

Save Files to Google Drive with Automated Logging

27 nodes 119 73 Webhook
Download

Workflow Description

An automation that receives save requests via webhook, retrieves data from Google Sheets, processes it, stores files in Google Drive, and maintains a comprehensive log file documenting all operations.

How it works

  1. 1.Receive file save request through webhook with file data and title
  2. 2.Fetch required data from Google Sheets spreadsheets
  3. 3.Process data and generate final file content
  4. 4.Save file to Google Drive with specified name and location
  5. 5.Record operation details (date, status, filename) in the log file

Use cases

  • Automatically archive processed data in a central location with complete operation tracking
  • Create regular backups of spreadsheets with detailed backup operation records
  • Handle multiple save requests from external applications with automatic logging

Requirements

  • Google account with write permissions on Google Drive
  • Google Sheets spreadsheet containing data to be processed
  • Webhook configuration to receive requests from external applications

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Google Sheets Google Drive

Details

Trigger Webhook
Nodes 27
Apps 2
Views 119
Downloads 73

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (27)

/

Get Config

Google Sheets

#1

Create Date Folder

Google Drive

#2

Set Date Folder ID

Code

#3

Create File Type Folder

Google Drive

#4

Upload File to Google Drive

Google Drive

#5

Determine Folder Info

Code

#6

Search Date Folder

Google Drive

#7

Merge Event and Config Data

Merge

#8

Check Existing Date Folder

If

#9

Check Existing File Type Folder

If

#10

Merge Final Parent Folder Data

Merge

#11

Search File Type Folder

Google Drive

#12

Set File Type Folder ID

Code

#13

Configure Final Parent Folder ID

Code

#14

Process Event and Config Data

Code

#15

Get File Binary Content

HTTP Request

#16

Log File Details to Google Sheet

Google Sheets

#17

Check Reply Enabled Flag

If

#18

Check if Store by Date is Enabled

If

#19

Check if Store by File Type is Enabled

If

#20

LINE Webhook Listener

Webhook

#21

Send LINE Reply Message

HTTP Request

#22

Validate File Type

Code

#23

Sticky Note

Sticky Note

#24

Sticky Note1

Sticky Note

#25

Sticky Note3

Sticky Note

#26

Sticky Note2

Sticky Note

#27