Log LINE invoice photos to Google Sheets with OCR.space and Gemini AI — Workflow n8n
Aperçu
Who is this for
Freelancers, small business owners, and accounting teams in Japan who receive invoices and want to eliminate manual data entry into spreadsheets.
What this workflow does
Send an invoice photo to your LINE bot and the rest is automatic. The workflow fetches the image via LINE Messaging API, runs it through OCR.space to extract raw text, then passes that text to a Gemini AI Agent to parse the key fields — invoice number, date, due date, vendor name, subtotal, tax, and total. The
Nœuds utilisés
Aperçu du workflow
Comment ça fonctionne
- 1
Déclencheur
Le workflow démarre avec un déclencheur webhook.
- 2
Traitement
Les données transitent par 15 nœuds, connecting agent, code, googlesheets.
- 3
Sortie
Le workflow termine son automatisation et livre le résultat à la destination configurée.
Détails des nœuds (15)
Google Sheets
googleSheets
HTTP Request
httpRequest
Code
code
AI Agent
n8n-nodes-langchain.agent
Google Gemini Chat Model
n8n-nodes-langchain.lmChatGoogleGemini
Comment importer ce workflow
- 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
- 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
- 3Sélectionnez le fichier
log-line-invoice-photos-to-google-sheets-with-ocrspace-and-gemini-aitéléchargé et cliquez sur Importer. - 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
- 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.
Ou collez directement dans n8n → Importer depuis JSON :
Intégrations
Créé par
Ryo Sayama
@sayama
Tags
Nouveau sur n8n ?
n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.
Obtenir n8n gratuitement →