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

Community site session details

Session Id : 8VeXu++Ay1hRB5XlBUSgyy
Power Automate - Building Flows
Answered

Fetch latest record added in Excel and send it to teams channel

Like (0) ShareShare
ReportReport
Posted on 19 Jul 2022 15:14:40 by 7

I want fetch the latest record added in the Excel and that particular record should sent to teams channel is it possible.Please help me.

I have the same question (0)
  • Verified answer
    v-peijunz-msft Profile Picture
    Microsoft Employee on 02 Aug 2022 at 03:51:09
    Re: Fetch latest record added in Excel and send it to teams channel

    Hi @maniyarsohel,

     

    There is no direct trigger to automatically send a message to Teams when a new record is created in Excel file.

    However, a workaround could be achieved through using two flows.

    1. The first flow is extracting records from the Excel file to a SharePoint list.

    I have a SharePoint list called "App test" with all the records listed here:

    vpeijunzmsft_0-1659411945862.png

    My excel file has a new record:

    vpeijunzmsft_1-1659411945865.png

    The first flow is shown here:

     

    length(outputs('Get_items')?['body/value'])

     

    Then using a Condition action to filter new records added in the Excel file.

    vpeijunzmsft_2-1659411945867.png

    vpeijunzmsft_3-1659411945870.png

    vpeijunzmsft_4-1659411945877.png

    After running the first flow, the new record is also added in the SharePoint list:

    vpeijunzmsft_5-1659411945878.png

    2. Once the new record is uploaded in the SharePoint list, using "When an item is created" trigger to automatically trigger the flow.

    Here is the second flow:

    vpeijunzmsft_6-1659411945882.png

    It is more recommended that to use the SharePoint list as the data source, then you could use  "When an item is created" trigger to automatically trigger the process: send a message to Teams when a new record is created.

     

    Best regards,

    Sylvia

  • maniyarsohel Profile Picture
    7 on 25 Jul 2022 at 13:20:12
    Re: Fetch latest record added in Excel and send it to teams channel

    hey @v-peijunz-msft thanks for the solution but for this I need to run the flow manually but I want it to be an automatic process eg: whenever a new row is added into the table that record should sent to teams.

    Each time whenever the new row is added the new record should sent to teams channel. Is it possible?

     

  • v-peijunz-msft Profile Picture
    Microsoft Employee on 21 Jul 2022 at 08:50:05
    Re: Fetch latest record added in Excel and send it to teams channel

    Hi @maniyarsohel,

     

    Based on your description, I have made a simple test for your reference.

    1. I have a excel file named App test which is stored in the SharePoint library.

    The excel file contains a table (called Table1) that stores all the data records.

    The latest record in Table1 is shown here:

    vpeijunzmsft_0-1658393186227.png

    2. Here is my flow:

    last(body('List_rows_present_in_a_table')?['value'])
    outputs('Compose')?['YourColumnName']

    vpeijunzmsft_1-1658393186229.png

    vpeijunzmsft_2-1658393186234.png

    3. Result Screenshots:

    vpeijunzmsft_3-1658393186236.png

     

    Best regards,

    Sylvia

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Loading complete