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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Read rows Excel and se...
Power Automate
Answered

Read rows Excel and send mail

(1) ShareShare
ReportReport
Posted on by 6

Hi,

 

I am new developing in this technology. Would it be possible to read from an excel file, where there is a column named "date", and get all those records that match the current date? And then send an email with those selected records?.

 

thanks in advance.

 

Categories:
I have the same question (0)
  • Verified answer
    v-micsh-msft Profile Picture
    on at

    Hi @jesus_obiang,

     

    Yes, that is possible.

    But first it would require the Data within the Excel to be formatted into a table.

    Create or delete an Excel table

    You could rename Excel table Name by following:

    Rename an Excel Table

    Then follow the steps in the image below:

    Steps should be:

    1. Add the Recurrence (Schedule) Trigger, specify the Frquency and Interval,

    2. Add Excel ->Get Rows Action, specify the Excel file and the corresponding Table, 

    3. Add the Filter Array action, Add the Excel ->Get Rows Value content as the From input, then under condition, click advanced mode, copy and paste the following code:

    @equals(formatDateTime(item()?['Date'],'yyyy/MM/dd'), utcnow('yyyy/MM/dd'))

    This Assumes you have a Date Column defined in your Excel table,

    4. Add the Create HTML table Action, specify the including headers option to yes,

    5. Add the Send an Email action, click advanced options, specify the Is HTML option to Yes.

     

    21.PNG

    The running results:

    22.PNG

    23.PNG

     

    Regards,

    Michael

  • jesus_obiang Profile Picture
    6 on at

    Amazing!!!!! Michael

    A great explanation, it worked perfectly.
    Thank you so much for everything

    Regards

  • 2076192 Profile Picture
    26 on at

    Is it possible to delete the rows once the FLOW has run? I created a FLOW to pass Quiz results to a SharePoint List. But there is a limit to 500 entries. Can I use FLOW delete results once they have been passed to SharePoint so I have room for new responses?

  • Community Power Platform Member Profile Picture
    on at

    The "create html table" step was what I was missing, just logged in to thank you, @v-micsh-msft, for this answer.

  • bryanshort12 Profile Picture
    31 on at

    I'm trying to use this template as a means to do something similar, but for some reason my flow keeps erroring out at the Filter level. In the error dialog, it appears that the filter is not picking up my "Date" column. For some reason Get Rows doesn't seem to find the Date Column. Any help would be greatly appreciated.

     

    Thanks!

  • Community Power Platform Member Profile Picture
    on at

    Hi Michel,

     

    I have a smililar requirement where I have to read all the rows in the excel file (uploaded in SharePoint doc library). There is a date column and a complain id column. If the complain id column is blank, 24 hours after the date (mentioned in the date column) it will trigger a mail to the person's mail Id mentioned in the another column. 

     

    Looking forward to your resoponse. 

     

    Thanks in Advanve.

     

    -Sahadev

  • GlendaJane Profile Picture
    4 on at

     

    Hope you can help, I have tried to follow your guidance, please see below. When I add send an email to the bottom of this for the To  (email address) I get the option of create HTML table and the output or the get rows from the excel files.  If I add the email address from the excel table it then adds the apply to each.  I am just not sure what I am doing wrong, I assume the HTML table is holding the results filtered by the array and then should only send emails to those results, but how do I then define what is sent in the email.  Sorry I am very new to flows, hope someone can help.

    Capture.PNG

  • Community Power Platform Member Profile Picture
    on at

    Is it possible to remove the columns before the the Date column?

  • mmetz Profile Picture
    8 on at

    @v-micsh-msft unfortunately I cannot follow your steps successfully due to the Get a Row issue noted in this post: https://powerusers.microsoft.com/t5/Connecting-To-Data/Error-404-Excel-Business/m-p/209444#M4383. I cannot get an array to filter from the Get a Row due to the workaround mentioned above. I need the workaround because the get a row will not accept a key value. What are my next steps? What I am I missing? How can I get a value out of Get a Row to put in the array filter?

     

    Photo 1, Photo 2, Photo 3

  • srinivas02 Profile Picture
    19 on at

    Every day we receive an Email containing an Excel file, using Flow I am saving on my one drive for business.

    Now I want to create a flow to fetch the row information into MS teams

    Array NameRaw TBUsable TB% AllocatedRemaining Alloc
    Sample_119321090%17
    Sample_219421090%16
    Sample_319021088%20

     

    Whenever someone from the MS team looking for the information of Sample_2 it should be displayed.

    Array NameRaw TBUsable TB% AllocatedRemaining Alloc
    Sample_219421090%16

     

     

    Can someone help me with how to create the flow?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard