I’m trying to extract information from a picture (some invoices) from my Drive however I’m having some errors when i run the workflow, especially the last node (HTTP request). I used ChatGPT to create this workflow and coding so I dont know if the process/coding is correct. I asked many ways but I’m still the same issue.
You can click on the nodes in the workflow above and see for yourself. You also can click on the “this workflow’s code” and copy it and then paste directly into your n8n canvas.
In order to read from Google Drive you need to either add google drive trigger, if you need this to happen automagically or you can add a manual trigger and Google Drive action node, which targets a specific gdrive file.
Similarly to Gemini, this can be done with other AIs, here is an example with OpenAI
Final result:
Here is the extracted information from the receipt:
**Seller Information:**
Dirk van den Broek
Lange Gracht 3
2312 NV Leiden
Phone: 088-313 4195
**Date of Purchase:**
Not explicitly listed on the receipt.
**Total Cost:**
€28.11
**Purchased Products:**
- BIO FAIRTRADE BANANE ( 1 x 1.89 ) = 1.89
- 1DB CHOCOSCHELPJES ( 1 x 1.55 ) = 1.55
- ZUIVELM. HALFV. MELK ( 1 x 0.95 ) = 0.95
- SCHARRELEIEREN WIT ( 1 x 6.39 ) = 6.39
- MERBA COOKIES ( 1 x 1.15 ) = 1.15
- 1DB OPLOSKOFFIE GOUD ( 1 x 4.99 ) = 4.99
- 1DB PASTASAUS BOL ( 1 x 1.69 ) = 1.69
- 1DB TOMATENKETCHUP ( 1 x 1.33 ) = 1.33
- DR. OETKER PIZZA BIG ( 1 x 5.79 ) = 5.79
sure thing, you would need to formulate and express the format in natural language within the prompt
Sheets has its own graph functionality, but whether visualizing data from your sheet is possible or not very much depends on the data, you may have to try several 3rd party tools before you find the one that fit your needs.
if you found the answer as helpful, kindly mark it as Solution. Thank you!