BOT ARCHIVE · UNVERIFIED

Classify emailed attachments as invoices, quotes, POs and more

2026-11-06

About this use case

A multi-agent n8n setup pulls attachments from a busy email account and uses Gemini to label each as invoice, quote, statement, PO or other.

What they did

In a roughly 50-node n8n workflow, the builder pulls attachments from a high-traffic email account and sends them to Gemini to classify as invoice, quote, statement, PO, or other. Most files are routed into matching Google Drive folders; for POs, the flow calls QuickBooks Online, finds the matching estimate, adds the PO number, uploads the document, and creates the corresponding invoice. They also added retry handling, an error folder, and spreadsheet checkpoints to trace each document.

Prompt

Build a workflow that watches [email account or label], downloads each new attachment, and uses Gemini to classify it as invoice, quote, statement, purchase order, or other. Add the label and sender to a row in [Google Sheet or folder] along with the attachment name. Test it on [number] sample emails and show me the results before you turn it on, and do not forward or delete any emails.

Reported outcome

The post gives no production results yet; the workflow was still new and the builder said they were nervous about moving it into the live environment. Its main stated safeguard is logging each document’s path or failure point.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.

Classify emailed attachments as invoices, quotes, POs and more | marz8