Automatically save & organize LINE message files in Google Drive with Sheets logging
Ready for 3.0What 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.
- Merge: merges the data from its input branches
- Get Config (Google Sheets): uses Google Sheets
- Process Event and Config Data (Code): runs custom JavaScript code
- Determine Folder Info (Code): runs custom JavaScript code
- Search Date Folder (Google Drive): work with file folder
- Check Existing Date Folder (If): checks a condition and branches into true / false
- Set Date Folder ID (Code): runs custom JavaScript code
- Check if Store by Date is Enabled (If): checks a condition and branches into true / false
- Search File Type Folder (Google Drive): work with file folder
- Merge: merges the data from its input branches
…plus 12 more steps. See the full node list below.
Services it uses
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)
- Google Sheets
n8n-nodes-base.googleSheets - Google Drive
n8n-nodes-base.googleDrive - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Webhook
n8n-nodes-base.webhook
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…