web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger based on data ...
Power Automate
Answered

Trigger based on data in .xlsx rows

(0) ShareShare
ReportReport
Posted on by 12

I have a flow set up to send an email notification with an .xlsx file attached, but I only want the notification to trigger if there is data in rows 2-1000 of the file. Has anyone found a good way to do this?

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I saved the file as a text file, and if the if the Text variable FileContents.Count<2 (no 2nd row), then I reroute PAD:

    MichaelAnnis_0-1635355910485.png

     

  • M_Dawn Profile Picture
    12 on at

    I will give this a try! Thank you!

  • Verified answer
    M_Dawn Profile Picture
    12 on at

    This got me going in the right direction - thank you so much! I was able to use the ExcelData.RowsCount so that I didn't have to convert the file. Appreciate your help!

    InkedCapture_LI.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard