Templates / Automatically save & organize LINE message files in Google Drive with Sheets logging

Automatically save & organize LINE message files in Google Drive with Sheets logging

Ready for 3.0

by Jaruphat J. ✓ · 5,053 views · created 2025-03-17 · File Management

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Google Drive. It also calls api.line.me over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Merge: merges the data from its input branches
  2. Get Config (Google Sheets): uses Google Sheets
  3. Process Event and Config Data (Code): runs custom JavaScript code
  4. Determine Folder Info (Code): runs custom JavaScript code
  5. Search Date Folder (Google Drive): work with file folder
  6. Check Existing Date Folder (If): checks a condition and branches into true / false
  7. Set Date Folder ID (Code): runs custom JavaScript code
  8. Check if Store by Date is Enabled (If): checks a condition and branches into true / false
  9. Search File Type Folder (Google Drive): work with file folder
  10. Merge: merges the data from its input branches

…plus 12 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Drive

HTTP calls to: api.line.me

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty (Check Reply Enabled Flag).

Nodes used (7)

From the author

Overview This workflow automatically saves files received via LINE Messaging API into Google Drive and logs the file details into a Google Sheet. It checks the file type against allowed types, organizes files into date-based folders and (optionally) file…

Excerpt from Jaruphat J.'s description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.