In this tutorial, Jonathon Silva, a trainer at Pragmatic Works, demonstrates how to build a powerful automated workflow using Microsoft Power Automate. The focus of the session is on creating a cloud flow that reads data from an Excel file stored in OneDrive, evaluates each row based on a condition, and sends targeted email notifications. This approach helps organizations streamline communication and ensure that important data-driven actions are handled efficiently.
Jonathon Silva begins by outlining the goal of the workflow: to automatically send emails based on invoice data stored in an Excel table. Instead of manually reviewing rows and sending emails, Power Automate handles the entire process.
The workflow performs the following tasks:
The process begins in Power Automate using an Instant Cloud Flow with a manual trigger. This allows users to test and run the flow on demand.
Jonathon Silva highlights a key update: Power Automate is now accessed via make.powerautomate.com, replacing the older URL.
The first step in the flow is to retrieve data from Excel using the "List rows present in a table" action. This action connects to:
This setup ensures that all rows in the dataset are available for processing.
To process each row individually, Jonathon Silva uses the "Apply to Each" action. This loop allows Power Automate to evaluate every record in the Excel table one at a time.
The dynamic content labeled “value” is used as the input for the loop, representing all rows retrieved from the Excel table.
Inside the loop, a Condition is added to filter which rows should trigger an email. The condition checks whether the invoice amount is greater than or equal to 10,000.
One of the key challenges addressed in this tutorial is handling numeric values with decimals. Since Excel data often includes currency values, Jonathon Silva introduces the use of an expression:
This ensures that Power Automate can correctly evaluate the condition without errors. The expression pulls the invoice amount dynamically from each row within the loop.
When the condition evaluates to true, the flow proceeds to send an email using the Office 365 Outlook connector. Jonathon Silva demonstrates how to:
Dynamic fields such as contact name and company can be inserted directly into the email, making each notification personalized and relevant.
After configuring the flow, Jonathon Silva performs a manual test. The results confirm that the logic works as expected:
In the example provided, only two accounts meet the criteria, resulting in two email notifications being sent.
Jonathon Silva showcases how Power Automate can transform manual processes into scalable, automated workflows. By integrating Excel, OneDrive, and Outlook, users can build solutions that save time and improve accuracy. This approach is especially valuable for businesses managing invoices, notifications, or any data-driven communication process.
With the ability to handle thousands of rows and apply complex logic, Power Automate proves to be a powerful tool for modern data workflows.
Don't forget to check out the Pragmatic Works' on-demand learning platform for more insightful content and training sessions on Power Automate and other Microsoft applications. Be sure to subscribe to the Pragmatic Works YouTube channel to stay up-to-date on the latest tips and tricks.