Power Automate send Excel file only if there is data in Excel

Copper Contributor

Hello, I have created a flow that sends out an email once a month containing an Excel file, this works. But the mail can only be send out if the Excel contains data, does anyone know how I should build this in?

 

Thank you.

 

Best regards,

Sandra

2 Replies

@Sanvanie What kind of data you have in excel file?

 

If you have data in table format, you can get rows present in a table & then count the no. of rows using flow expressions & condition action. If there are any rows present, you can send an email.


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

@ganeshsanap,

It's only data, can you help me further on how I can process this in my flow? I don't quite understand how to do this with the rows count.

Thanks in advance!