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.
Reviews
There are no reviews yet.