Create AI diary entries from LINE photos with OpenAI Vision and Google Drive
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI and Google Drive. It also calls api.line.me over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Extract LINE Message Data (Code): runs custom JavaScript code
- Get Image from LINE (HTTP Request): calls an HTTP API
- OpenAI: analyze (image)
- Prepare Folder Path (Code): runs custom JavaScript code
- Create Folder Structure (Google Drive): work with folder
- Merge: merges the data from its input branches
- Convert to File: converts data to a file (to text)
- Upload Photo to Drive (Google Drive): uses Google Drive
- Upload Photo to diary new (Google Drive): uses Google Drive
- Reply to LINE (HTTP Request): calls api.line.me (POST)
Services it uses
Other OpenAI + Google Drive templates (628) · Other LINE + OpenAI templates (14) · Other LINE + Google Drive templates (12)
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.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Drive
n8n-nodes-base.googleDrive - Merge
n8n-nodes-base.merge - Convert to File
n8n-nodes-base.convertToFile
From the author
Overview This workflow turns photos sent to a LINE bot into tiny AI-generated diary entries and saves everything neatly in Google Drive. Each time a user sends an image, the workflow creates a timestamped photo file and a matching text file with a short diary…