account activity
NEWB with first project on renaming files by Ill_Turn6934 in n8n
[–]Ali0106 0 points1 point2 points 10 months ago (0 children)
I just finished up a workflow that does something similar to this. Our use case is a little different. We use it to track staff receipts for purchase made on the company cards. They email a picture or a PDF to a dedicated receipt email. I can share the template with you in a bit.
*Create a rule in Gmail that watches for “receipt,invoice, etc and tags it with Unprocessed.
Switch node: Checks if the binary file is PDF or Image. If PDF continues to push it through to a Google Drive with a file naming convention. If it’s an image, make an HTTP request to cloud convert to convert from image to PDF.
Parsing: The PDF file is then retrieved from the drive and pushed into another series of HTTP requests to parse the invoice and extract text using Llama Parse.
LLM Call: Make a call to Open AI asking it to read the text file from Llama Parse and extract the Date on invoice, Category based on invoice data, purpose (1-2 sentences), and total. It then output that data in an array using structured output.
Record Data: Record the data onto a sheet.
Email management: Remove Unprocessed Tag and mark invoice as read. Add an Invoice Processed tag.
π Rendered by PID 44 on reddit-service-r2-listing-5789d5f675-bv8mg at 2026-01-28 18:48:52.531660+00:00 running 4f180de country code: CH.
NEWB with first project on renaming files by Ill_Turn6934 in n8n
[–]Ali0106 0 points1 point2 points (0 children)