Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate LINE to Google Drive File Intake
2
Views
0
Downloads
27
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Customer Support
Automation Orchestrator
n8n
Integrations
LINE Messaging API
Google Sheets
Google Drive
Trigger Type
Webhook
Approx setup time ≈ 45 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate LINE to Google Drive File Intake?

Leon Petrou
FREE TEMPLATE
Automate LINE to Google Drive File Intake
2
Views
0
Downloads
27
Nodes
Download Template
Free
Preview Template
Utility Rating
7 / 10
Business Function
Customer Support
Automation Orchestrator
n8n
Integrations
LINE Messaging API
Google Sheets
Google Drive
Trigger Type
Webhook
Approximate setup time ≈ 45 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Handle file messages from LINE in one place. Incoming images, videos, or documents are saved into Google Drive and recorded in Google Sheets. A simple reply can confirm the upload back to the sender when enabled.

A webhook listens for LINE events and reads settings from a Google Sheet, including the parent folder, allowed file types, and whether to reply. The flow builds folder names by date and by file type based on flags, then searches Google Drive and creates any missing folders. It downloads the file from the LINE API, checks the MIME type, and renames it with the event timestamp before upload. A log entry adds the file name, type, time, and a Drive link. If replies are on, a message goes back to the user through LINE.

You will need a LINE Messaging API channel, Google Drive access, and a Google Sheet for the config. After setup, teams get structured storage, clear audit logs, and faster handling of customer files. This is useful for support teams receiving IDs, receipts, or claims, and for operations staff who collect media from the field. Expect fewer errors, less manual sorting, and quicker response times.

Copy link

Tools Required

n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
LINE Messaging API
Sign up
Free plan (Communication): $0 / mo, 500 messages / mo (USA/Other regions)
Google Sheets
Sign up
Free: $0 (Google Sheets API usage has no additional cost; quota limits apply)
Google Drive
Sign up
Drive API: $0 (no additional cost; quota-limited)

What this workflow does?

  • Webhook capture of LINE file messages and events
  • Config driven setup from Google Sheets for parent folder, allowed types, and reply rules
  • Smart folder structure by date and by file type with on demand creation in Google Drive
  • File validation by MIME type before upload to keep storage clean
  • Timestamp based file naming using the LINE event time
  • Upload to the correct parent folder and log the Drive link
  • Google Sheets logging of file name, type, upload time, and URL
  • Optional LINE reply to confirm success or report errors

What are the benefits?

  • Reduce manual download and upload work from 30 minutes a day to under 5 minutes
  • Automate folder routing and naming to cut filing errors by up to 90%
  • Unify LINE, Google Drive, and Google Sheets so teams can find files and logs fast
  • Scale to handle high message volume without adding staff
  • Block unwanted formats by enforcing an allowed file type list

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with LINE Messaging API, Google Drive and Google Sheets. See the Tools Required section above for links to create accounts with these services.
  3. Create a LINE Messaging API channel and get your Channel access token. In the LINE Developers console, set the webhook URL to the test URL shown in the LINE Webhook Listener node in n8n, then enable the webhook.
  4. In n8n, double click the Get File Binary Content and Send LINE Reply Message nodes, create a new HTTP Header credential, and add Authorization: Bearer your LINE Channel access token. Save the credential and select it for both nodes.
  5. Open the Get Config node in n8n and click the credential dropdown to create a new Google Sheets OAuth2 credential. Follow the on screen steps and grant access to your Google account.
  6. Open the Google Drive nodes (Search, Create, Upload) and create a Google Drive OAuth2 credential. Follow the on screen steps and grant access to the same Google account.
  7. Prepare a Google Sheet for settings. Include fields for Parent Folder ID, Store by Date, Store by File Type, Allowed Types, and Reply Enabled. Enter your Parent Folder ID from Google Drive.
  8. In the Get Config node, set the sheetId and range to your config sheet. Make sure the column names match the fields used by the workflow.
  9. Click Execute Node on the LINE Webhook Listener to expose the test URL. Send a file to your LINE bot and confirm the webhook receives the event.
  10. Check Google Drive to see that date and file type folders are created as needed and that the file is uploaded with a timestamped name.
  11. Open the logging Google Sheet to confirm a new row with file name, type, upload time, and Drive link. If nothing appears, verify the Sheets credential and the range mapping.
  12. If the bot replies with a type not allowed message, update the Allowed Types list in your config sheet. When testing is complete, switch the webhook to the production URL in the LINE Webhook Listener node and update the LINE console.

Need help or want to customize this?

Similar Templates

n8n
Customer Support
Streamline Twilio SMS Support Replies
Handle fast SMS chats without flooding customers with many small bot messages. The flow waits for a short window, groups user texts, and sends one clear AI reply. Ideal for support and sales teams that get rapid, back to back SMS messages. Incoming texts arrive through a Twilio event. Messages are pushed to Redis under a list tied to the sender’s phone number. The flow pauses for 5 seconds, then checks the list again. If a new message arrived in that window, the run stops to avoid a messy reply. If the list has not changed, chat memory is fetched, the buffered user texts are packaged, and an AI Agent using OpenAI creates one answer. The reply is sent back over Twilio in a single message. This reduces duplicate replies, keeps context, and makes SMS support feel smoother. You need Twilio, Redis, and OpenAI credentials in n8n Cloud. Set the Twilio webhook to the Trigger URL, add your Redis connection, and enter your OpenAI API key. Expect fewer split replies and clearer conversations. Great for busy SMS queues, product Q and A, or lead follow ups where users type in bursts.
7 views
view
n8n
Customer Support
Automate Linear Slack Support Escalations
Catch risky tickets before they blow up. This setup watches discussions on open issues, tracks mood changes over time, and pings your team when a conversation turns negative. Ideal for support leads and product teams who want faster recovery and fewer escalations. Every 30 minutes a schedule pulls recently updated issues from Linear using a GraphQL request. Each issue is split and its comment thread is turned into a single plain text block. An AI model reads the text and returns a simple sentiment and a short summary. Results are merged with issue details and saved to Airtable using an upsert, which also keeps the previous sentiment for comparison. An Airtable event then checks for a non negative to negative shift, removes repeat alerts, and posts a clear message to Slack with the issue link. To run it, you need accounts for Linear, Airtable, Slack, and OpenAI. Map your Airtable fields, update the Slack channel, and adjust the Linear filter to match your teams. Most teams cut daily review time from hours to minutes and raise response speed when an issue starts to go wrong. Great fit for customer support queues and product bug triage.
10 views
view
n8n
Customer Support
Automate Linear to Slack Support Alerts
Stay ahead of support risks by scanning issue discussions and alerting your team when the tone turns negative. The system tracks active tickets, saves sentiment to a simple record, and pings Slack when a risk rises. It suits team leads who need quick visibility without reading every thread. A schedule checks Linear every 30 minutes through a GraphQL call and pulls issues updated in that window. Each issue’s comments are combined and sent to an AI model that sets a sentiment and writes a short summary. Results are saved in Airtable, keeping the latest and previous sentiment so changes stand out. When Airtable updates, an event looks for a move from neutral or positive to negative, removes duplicates by key and timestamp, and posts a Slack message. Split and batch nodes make sure each issue is handled cleanly. Set up needs accounts and keys for Linear, OpenAI, Airtable, and Slack. Expect faster triage and fewer escalations because risky threads surface within 30 minutes. This is helpful for support and product teams that manage many issues and want early warning without extra staff.
15 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.