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 / automatically export S...
Power Automate
Unanswered

automatically export Sharepoint list data for data inputed on that day

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I have a flow which starts from a form then goes into a Sharepoint list

 

Screenshot 2022-12-15 at 08.50.21.png

 

Screenshot 2022-12-15 at 08.51.52.png

 

 

what I want to do next is: 

 

  • Each day at 9:30am, export list of all children who have been reported as absent that day
  • Send list of those children absent to a staff member but want it to be a different staff member for each year 

 

Is this possible? 

Categories:
I have the same question (0)
  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @AB21 ,

     

    I have created sample for you.

     

    1. In Power Automate select icon of new flow and then select Scheduled Cloud Flow Trigger.

    Amit_Sharma_0-1671350283585.png

     

    2. Then use Get Items (Get items Students) Action and apply Filter on Student List for Get Only Today Record.

    Amit_Sharma_1-1671352440127.pngAmit_Sharma_2-1671352472825.png

     

     

    formatDateTime(utcNow(),'MM-dd-yyyy')

     

     

     

    3. Then use Get Items (Get items Staff Member) Action For getting all the staff member.

    Amit_Sharma_3-1671352904733.png

     

    4. Then use One Compose (Table CSS) Action and Enter CSS Code for HTML Table.

     

    Amit_Sharma_4-1671353042238.png

     

     

    <style>
    table {
     border: 1px solid #1C6EA4;
     background-color: #EEEEEE;
     width: 100%;
     text-align: left;
     border-collapse: collapse;
    }
    table td, table th {
     border: 1px solid #AAAAAA;
     padding: 3px 2px;
    }
    table tbody td {
     font-size: 13px;
    }
    table thead {
     background: #1C6EA4;
     border-bottom: 2px solid #444444;
    }
    table thead th {
     font-size: 15px;
     font-weight: bold;
     color: #FFFFFF;
     border-left: 2px solid #D0E4F5;
    }
    table thead th:first-child {
     border-left: none;
    }
    </style>

     

     

     

    5. After That Use One Apply to each Action.

    Amit_Sharma_5-1671353162686.png

     

    6. Then use Filter Array Action Inside Apply To each.

    Amit_Sharma_6-1671353218433.png

    Amit_Sharma_7-1671353263794.pngAmit_Sharma_8-1671353311358.png

     

    7. Then Use Create Html Table Action.

    Amit_Sharma_9-1671353424460.pngAmit_Sharma_10-1671353512279.png

     

     

    item()?['ParentName']

     

     

    Amit_Sharma_11-1671353605677.png

     

     

    item()?['ParentEmail']

     

     

     

    Amit_Sharma_12-1671353683734.png

     

     

    item()?['StudentName']

     

     

     

    Amit_Sharma_13-1671353754771.png

     

     

    item()?['StudentYear']

     

     

     
     

    t1.png

     

     

    formatDateTime(item()?['Created'],'dd-MM-yyyyTHH:mm')

     

     

     

    - After That Use Send an email (v2) Action.

    t2.pngt3.png

    t4.png

     

    Complete Flow

    t5.pngt6.png

     

    Student List

    t8.pngt9.png

     

    Staff member List

    s10.png

    --------------------------------------------------------------------------

    If I have answered your question, please mark post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @AB21 

    Output of flow

    Amit_Sharma_0-1671355232921.png

     

    With CSS on mail

     

    Amit_Sharma_1-1671355304583.png

     

    Best Regards, 

     

  • AB21 Profile Picture
    on at

    Hi @Amit_Sharma 

     

    Thanks for this, I am struggling on the first bit I dont get the drop downs like your get items connector: 

     

    Screenshot 2023-01-03 at 11.02.21.png

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @AB21 

    IF You want to drop down feature you can enable Experimental Feature from power automate Settings.

     

    Otherwise, you can do like this:

     

    Amit_Sharma_1-1672747370049.png

    Note: don't forget to use single quotes outside of formatdatetime expression in filter query.

     

    Best regards,

     

  • AB21 Profile Picture
    on at

    Hi @Amit_Sharma 

     

    Thank you! your help has been amazing perfect layout of instructions. I am just waiting for the schedule time which is half 12 to hit. On the students list the date did you add that for a reason? 

  • AB21 Profile Picture
    on at

    Hi @Amit_Sharma 

     

    I have got the email however no information! 

     

    Screenshot 2023-01-06 at 11.08.39.png

     

    Is this due to no data being new from now or will this bring up data that has been inputted today as in prior to running this flow? 

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @AB21 

    will this bring up data that has been inputted today as in prior to running this flow.

  • AB21 Profile Picture
    on at

    Hi, so as there is new data today when the schedule is due then data should appear in emails?

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard