Automated Line File Storage to Google Drive with Logging

somdn_product_page

This n8n workflow automates the process of saving files received via LINE Messaging API into structured Google Drive folders, based on configurable criteria such as date and file type, while also logging details into Google Sheets. The process begins with a webhook trigger that listens for incoming LINE messages containing files. It then retrieves configuration settings from Google Sheets to determine the organizational structure.

The workflow checks if folders for the specific date or file type already exist in Google Drive. If not, it creates these folders dynamically. Once the appropriate folder path is determined, it fetches the file binary content from LINE, validates the file type against allowed types, and uploads the file into the designated Google Drive folder.

Simultaneously, it logs the file details — including name, upload date, and URL — into a Google Sheet for record-keeping. Finally, if configured to do so, it sends a confirmation or error message back to the LINE user, completing an end-to-end automation for managing LINE files efficiently with Google Drive integration.

This workflow is practical for businesses or teams that handle customer submissions, support ticket attachments, or any scenario where files are sent via LINE and need organized storage with logging for traceability.

Node Count

>20 Nodes

Nodes Used

code, googleDrive, googleSheets, httpRequest, if, merge, stickyNote, webhook

Reviews

There are no reviews yet.

Be the first to review “Automated Line File Storage to Google Drive with Logging”

Your email address will not be published. Required fields are marked *