Power Automate Tutorial: Read from Excel and Send Email
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.
Overview of the Solution
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:
- Reads data from an Excel file stored in OneDrive
- Iterates through each row in a table
- Applies a condition based on invoice amount
- Sends an email when the condition is met
Setting Up the Flow
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:
- OneDrive for Business
- A specified Excel file
- A defined table within that file
This setup ensures that all rows in the dataset are available for processing.
Iterating Through Data with Apply to Each
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.
Applying Conditional Logic
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:
- float() is used to convert decimal values into a numeric format
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.
Sending Automated Emails
When the condition evaluates to true, the flow proceeds to send an email using the Office 365 Outlook connector. Jonathon Silva demonstrates how to:
- Define the recipient (for testing or production use)
- Create a subject line (e.g., “Important Follow-Up Action Needed”)
- Customize the email body using dynamic content
Dynamic fields such as contact name and company can be inserted directly into the email, making each notification personalized and relevant.
Testing the Flow
After configuring the flow, Jonathon Silva performs a manual test. The results confirm that the logic works as expected:
- Emails are sent only for rows where the invoice amount meets the condition
- Rows below the threshold are ignored
- The flow successfully iterates through all entries
In the example provided, only two accounts meet the criteria, resulting in two email notifications being sent.
Key Takeaways
- Power Automate can efficiently process large datasets from Excel
- The “Apply to Each” loop enables row-by-row automation
- Conditions allow precise filtering of data
- The float() expression is essential for handling decimal values
- Email automation can be personalized using dynamic content
Conclusion
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.
Sign-up now and get instant access
ABOUT THE AUTHOR
Jonathon Silva is a Trainer for Pragmatic Works, specializing in the Power Platform. He graduated from James Madison University in 2011, has a master’s degree in Education, and comes with 9 years of teaching experience in high school economics and history. Jonathon has consistently been recognized as a top educator in the field of history and leader in curriculum development. His primary focus is helping our customers learn the ins and outs of Power Apps and Power BI.
Free Community Plan
On-demand learning
Most Recent
private training

Leave a comment