Power Automate Intermediate Lesson 8: Project – Invoice Processing From Email

Power Automate Intermediate Lesson 8: Project - Invoice Processing From Email 1

πŸ“Ž This article includes 2 downloadable practice files ↓

⏱ 1 min read

πŸ“˜ Power Automate Intermediate Course Β· Lesson 8 of 8

Advertisement
  1. Trigger: When a new email arrives (V3), shared mailbox invoices@, only with attachments.
  2. Filter array attachments to PDFs: endsWith(toLower(item()?['name']), '.pdf').
  3. Apply to each PDF: Create file in OneDrive /Invoices/ + formatDateTime(convertFromUtc(utcNow(),'India Standard Time'),'yyyy-MM') + / + file name.
  4. Add a row to InvoiceLog: received date (IST), sender, subject, file name, saved path.
  5. Subject contains an amount above β‚Ή1,00,000? Route to approval (lesson 3).
  6. Wrap in Try/Catch (lesson 5); add a co-owner (lesson 7).
πŸ’‘ AI Builder’s invoice processing model can read vendor, invoice number and amount from the PDF into the log. It needs AI Builder credits, so try it on a few invoices first.

Result: invoices filed by month without anyone touching them, a searchable log, and big amounts approved before payment.

Practice

Build it against a test mailbox or a folder rule that copies a few invoices. Build it in your own Microsoft 365 account at make.powerautomate.com, test it with the practice file, and check the run history.

πŸ“Ž Practice files for this article

⬇ Download all 2 files (ZIP Β· 6 KB)

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

Advertisement
✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong