Automation library · Data collection

Convert LINE handwritten memo images to tagged, searchable notes

Started by another system calling it, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini. 25 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 1Model 2Logic 11Service 11

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

  1. 1LINE_Receive_WebhookWebhookStarts it
  2. 2AI_Model_GeminiLm Chat Google GeminiModel
  3. 3Config_Set_EnvironmentSetLogic
  4. 4AI_OCR_Analyze_ImageChain LlmModel
  5. 5Check_Image_MessageIfLogic
  6. 6Data_Parse_OCR_JSONCodeLogic
  7. 7LINE_Reply_ProcessingHttp RequestService
  8. 8Check_Tag_List_CommandIfLogic
  9. 9AI_Check_OCR_FailureIfLogic
  10. 10LINE_Download_ImageContentHttp RequestService
  11. 11Sheets_Get_All_Memos_For_TagListGoogle SheetsService
  12. 12Check_Tag_CommandIfLogic
  13. 13LINE_Push_NoSummaryHttp RequestService
  14. 14Sheets_Append_RowGoogle SheetsService
  15. 15Drive_Upload_ImageGoogle DriveService
  16. 16Build_TagListCodeLogic
  17. 17Extract_TagCodeLogic
  18. 18LINE_Reply_NoImageHttp RequestService
  19. 19LINE_Push_Completion_MessageHttp RequestService
  20. 20Restore_Image_BinaryCodeLogic
  21. 21LINE_Push_TagListHttp RequestService
  22. 22Sheets_Get_All_MemosGoogle SheetsService
  23. 23Filter_By_TagCodeLogic
  24. 24Build_Search_ResultCodeLogic
  25. 25LINE_Push_TagResultsHttp RequestService

How it's built

Starts on
Another system calling it
Steps
25, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts, and a key for Gemini. 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?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 25 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 25 steps before you point it at anything that matters.