Automation library · Documents and files

Save & organize LINE message files in Google Drive with Sheets

Started by another system calling it, and works across Google Drive and Google Sheets. 23 steps, 5 branches: large, and worth reading before you trust it with anything live.

Large

23 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Logic 13Service 9

The steps in the order they run, from what starts it.

  1. 1LINE Webhook ListenerWebhookStarts it
  2. 2Merge Event and Config DataMergeLogic
  3. 3Get ConfigGoogle SheetsService
  4. 4Process Event and Config DataCodeLogic
  5. 5Determine Folder InfoCodeLogic
  6. 6Search Date FolderGoogle DriveService
  7. 7Check Existing Date FolderIfLogic
  8. 8Set Date Folder IDCodeLogic
  9. 9Check if Store by Date is EnabledIfLogic
  10. 10Search File Type FolderGoogle DriveService
  11. 11Merge Final Parent Folder DataMergeLogic
  12. 12Create Date FolderGoogle DriveService
  13. 13Check Existing File Type FolderIfLogic
  14. 14Configure Final Parent Folder IDCodeLogic
  15. 15Set File Type Folder IDCodeLogic
  16. 16Check if Store by File Type is EnabledIfLogic
  17. 17Get File Binary ContentHttp RequestService
  18. 18Create File Type FolderGoogle DriveService
  19. 19Validate File TypeCodeLogic
  20. 20Upload File to Google DriveGoogle DriveService
  21. 21Log File Details to Google SheetGoogle SheetsService
  22. 22Check Reply Enabled FlagIfLogic
  23. 23Send LINE Reply MessageHttp RequestService

How it's built

Starts on
Another system calling it
Steps
23, with 5 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 23 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 23 steps before you point it at anything that matters.