Invoices from Gmail to Drive and Google Sheets — Workflow n8n
Aperçu
Attachments Gmail to Drive and Google Sheets
Description Automatically process invoice emails by saving attachments to Google Drive and extracting key invoice data to Google Sheets using AI. This workflow monitors your Gmail for unread emails with attachments, saves PDFs to a specified Google Drive folder, and uses OpenAI's GPT-4o to extract invoice details (date, description, amount) into a structured spreadsheet.
Use cases Invoice Management**: Automatically organize and track invoices recei
Nœuds utilisés
Aperçu du workflow
Comment ça fonctionne
- 1
Déclencheur
Le workflow démarre avec un déclencheur déclencheur.
- 2
Traitement
Les données transitent par 14 nœuds, connecting chainllm, extractfromfile, gmail.
- 3
Sortie
Le workflow termine son automatisation et livre le résultat à la destination configurée.
Détails des nœuds (14)
Google Sheets
googleSheets
HTTP Request
httpRequest
Google Drive
googleDrive
Gmail
gmail
Basic LLM Chain
n8n-nodes-langchain.chainLlm
OpenAI Model
n8n-nodes-langchain.lmOpenAi
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
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
invoices-from-gmail-to-drive-and-google-sheetsté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
Juan Carlos Cavero Gracia
@carlosgracia
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 →